A single byte buffer overflow when handling responses from an esteid Card in sc_pkcs15emu_esteid_init in libopensc/pkcs15-esteid.c in OpenSC
A single byte buffer overflow when handling responses from an esteid Card in sc_pkcs15emu_esteid_init in libopensc/pkcs15-esteid.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Sep 3, 2018
- Updated
- Jun 16, 2026
- EPSS
- 0.7% · 51th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
26
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| opensc project | opensc | cpe:2.3:a:opensc_project:opensc |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- opensc project openscup to 0.18.0 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | opensc | before 0.19.0~rc1-1 | 0.19.0~rc1-1 |
| Debian:8 | opensc | before 0.16.0-3+deb8u1 | 0.16.0-3+deb8u1 |
| openSUSE:Tumbleweed | opensc | before 0.21.0-2.2 | 0.21.0-2.2 |
| Red Hat:enterprise_linux:7::client | opensc | before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
| Red Hat:enterprise_linux:7::client | opensc-debuginfo | before 0:0.19.0-3.el7 | 0:0.19.0-3.el7 |
| SUSE:Linux Enterprise Desktop 12 SP3 | opensc | before 0.13.0-3.3.2 | 0.13.0-3.3.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 | opensc | before 0.18.0-3.8.1 | 0.18.0-3.8.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | opensc | before 0.11.6-5.27.3.1 | 0.11.6-5.27.3.1 |
Same product
opensc project: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-6502sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv.31Monitor
- CVE-2021-34193Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.30Monitor
- CVE-2019-16058An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC.30Monitor
- CVE-2023-2977A vulnerbility was found in OpenSC.28Monitor
- CVE-2025-66215OpenSC: Stack-buffer-overflow WRITE in card-oberthur27Monitor
- CVE-2025-66038OpenSC: `sc_compacttlv_find_tag` can return out-of-bounds pointers27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:opensc | 0.19.0~rc1-1 · Debian:12 | Package registry (OSV) |
| opensuse:opensc | 0.21.0-2.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:opensc | 0:0.19.0-3.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:opensc-debuginfo | 0:0.19.0-3.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:opensc | 0.11.6-5.27.3.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Physical access to the device is required.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Physical
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- access.redhat.com/errata/RHSA-2019:2154
- github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-d64c08c80437cf0006ada91e50f20ba0
- github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1
- lists.debian.org/debian-lts-announce/2019/09/msg00009.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.