# CVE-2019-15945: OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Bitstring in decodebitstring in libopensc/asn1.c.

- Severity: Medium 6.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2019-09-05T16:07:03.000Z
- Modified: 2026-06-17T02:21:23.507Z
- Weaknesses: CWE-119
- Assigned by: mitre

## Description

OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- opensc_project opensc: up to 0.19.0
- debian debian_linux: 8.0; 9.0
- fedoraproject fedora: 31

## Every score

- NVD: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/OpenSC/OpenSC/commit/412a6142c27a5973c61ba540e33cdc22d5608e68> (patch, third-party-advisory)
- <https://github.com/OpenSC/OpenSC/compare/f1691fc...12218d4> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2019/12/29/1> (mailing-list, release-notes, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NDSQLMZZYBHO5X3BK7D6E7E6NZIMZDI5/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00027.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2019-15945](https://www.cve.org/CVERecord?id=CVE-2019-15945), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-15945](https://nvd.nist.gov/vuln/detail/CVE-2019-15945), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-15945 · Whole record: https://cve.day/CVE-2019-15945.json · Rebuilt by cve.day 2026-11-25T22:57:46.825Z
