CVE
CVE-2021-42781
publishedopensc: Heap buffer overflow in pkcs15-oberthur.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | openscopensc 0.22.0 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2102 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | opensc | Advisory build | 0.21.0-1+deb11u1 | DLA-4004-1 |
| SUSE / openSUSE | SLE-12-SP2 | openscx86_64 | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| Amazon Linux | AL2 | openscaarch64 | Listed in advisory | Not stated | ALAS2-2023-2102 |
| Debian | buster | opensc | Advisory build | 0.19.0-1+deb10u2 | DLA-3463-1 |
| SUSE / openSUSE | SLE-12-SP3 | openscaarch64 | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP3 | openscppc64le | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
Show 42 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP3 | openscs390x | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP3 | openscx86_64 | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP4 | openscaarch64 | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP4 | openscppc64le | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP4 | openscs390x | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP4 | openscx86_64 | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP5 | openscaarch64 | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP5 | openscppc64le | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP5 | openscs390x | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-12-SP5 | openscx86_64 | Advisory build | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE / openSUSE | SLE-15 | openscaarch64 | Advisory build | 0.18.0-150000.3.23.1 | SUSE-SU-2022:1041-1 |
| SUSE / openSUSE | SLE-15 | openscppc64le | Advisory build | 0.18.0-150000.3.23.1 | SUSE-SU-2022:1041-1 |
| SUSE / openSUSE | SLE-15 | openscs390x | Advisory build | 0.18.0-150000.3.23.1 | SUSE-SU-2022:1041-1 |
| SUSE / openSUSE | SLE-15 | openscx86_64 | Advisory build | 0.18.0-150000.3.23.1 | SUSE-SU-2022:1041-1 |
| SUSE / openSUSE | SLE-15-SP1 | openscaarch64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-15-SP1 | openscppc64le | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-15-SP1 | openscs390x | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-15-SP1 | openscx86_64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-15-SP2 | openscx86_64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-15-SP3 | openscaarch64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-15-SP3 | openscppc64le | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-15-SP3 | openscs390x | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-15-SP3 | openscx86_64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-5 | openscaarch64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-5 | openscs390x | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | SLE-5 | openscx86_64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | openscaarch64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | openscppc64le | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | openscs390x | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | openscx86_64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | openscaarch64 | Advisory build | 0.22.0-2.1 | OPENSUSE-SU-2024:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | openscppc64le | Advisory build | 0.22.0-2.1 | OPENSUSE-SU-2024:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | openscs390x | Advisory build | 0.22.0-2.1 | OPENSUSE-SU-2024:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | openscx86_64 | Advisory build | 0.22.0-2.1 | OPENSUSE-SU-2024:11613-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | opensc-32bitx86_64 | Advisory build | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opensc-32bitaarch64 | Advisory build | 0.22.0-1.1 | OPENSUSE-SU-2024:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opensc-32bitppc64le | Advisory build | 0.22.0-1.1 | OPENSUSE-SU-2024:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opensc-32bits390x | Advisory build | 0.22.0-1.1 | OPENSUSE-SU-2024:11613-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opensc-32bitx86_64 | Advisory build | 0.22.0-1.1 | OPENSUSE-SU-2024:11613-1 |
| Amazon Linux | AL2 | opensci686 | Listed in advisory | Not stated | ALAS2-2023-2102 |
| Amazon Linux | AL2 | openscsrc | Listed in advisory | Not stated | ALAS2-2023-2102 |
| Amazon Linux | AL2 | openscx86_64 | Listed in advisory | Not stated | ALAS2-2023-2102 |
Description
Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | opensc | opensc 0.22.0 (affected) | redhat · cna |
Weaknesses
1- CWE-119
References
9- https://bugzilla.redhat.com/show_bug.cgi?id=2016439
- https://github.com/OpenSC/OpenSC/commit/05648b06
- https://github.com/OpenSC/OpenSC/commit/17d8980c
- https://github.com/OpenSC/OpenSC/commit/40c50a3a
- https://github.com/OpenSC/OpenSC/commit/5d4daf6c
- https://github.com/OpenSC/OpenSC/commit/cae5c71f
- [debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html
- GLSA-202209-03 https://security.gentoo.org/glsa/202209-03
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 369276c00a42c4179529e02229436576befc1a4f87a3fb232087020f7d427df8
- Ingested
- 23 Sep 2026, 07:56:21 UTC
- Source record
- Official CVE record