{"id":"CVE-2019-19479","details":"An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-setcos.c has an incorrect read operation during parsing of a SETCOS file attribute.","modified":"2026-02-24T01:18:10.162944Z","published":"2019-12-01T23:15:10.653Z","related":["MGASA-2020-0026","SUSE-SU-2021:0998-1","SUSE-SU-2021:1168-1","SUSE-SU-2022:1041-1","openSUSE-SU-2021:0565-1","openSUSE-SU-2024:11123-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NDSQLMZZYBHO5X3BK7D6E7E6NZIMZDI5/"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2019/12/29/1"},{"type":"ADVISORY","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18693"},{"type":"ADVISORY","url":"https://github.com/OpenSC/OpenSC/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00031.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00027.html"},{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18693"},{"type":"FIX","url":"https://github.com/OpenSC/OpenSC/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2019/12/29/1"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00031.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00027.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensc/opensc","events":[{"introduced":"0"},{"fixed":"c3f23b836e5a1766c36617fe1da30d22f7b63de2"}]}],"versions":["0.12.2","0.12.2-rc1","0.13.0","0.13.0pre1","0.13.0rc1","0.14.0","0.14.0rc2","0.14.0rtm","0.15.0","0.16.0","0.16.0-rc1","0.16.0-rc2","0.17.0","0.17.0-rc1","0.17.0-rc2","0.18.0","0.18.0-rc1","0.18.0-rc2","0.19.0","0.19.0-rc1","0.20.0-rc1","0.20.0-rc2","0.20.0-rc3","v0.12.2","v0.16.0-pre1"],"database_specific":{"vanir_signatures":[{"id":"CVE-2019-19479-6e9084bd","target":{"file":"src/libopensc/card-setcos.c"},"source":"https://github.com/opensc/opensc/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2","signature_type":"Line","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["312700537045446842476960619232256392914","12577001211443987501834181150640691110","19328322763717515580348095176242147780","118003578808881612881485274894912018341"]},"deprecated":false},{"id":"CVE-2019-19479-f6e42b74","target":{"function":"parse_sec_attr_44","file":"src/libopensc/card-setcos.c"},"source":"https://github.com/opensc/opensc/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2","signature_type":"Function","signature_version":"v1","digest":{"length":2436,"function_hash":"291474278857799130683909883402632931015"},"deprecated":false}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-19479.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}