CVE-2019-6502: sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv.
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.1% (FIRST EPSS); higher than 82.7% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: opensc (Alpine:v3.11) 0.20.0-r0; opensc (Debian:10) 0.19.0-1+deb10u2; opensc (Debian:12) 0.20.0-1.
Low priority for now. Upgrade to opensc (Alpine:v3.11) 0.20.0-r0; opensc (Debian:10) 0.19.0-1+deb10u2; opensc (Debian:12) 0.20.0-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Jan 22, 2019
- Updated
- Jun 16, 2026
- EPSS
- 2.1% · 82th percentile
- CWE
- CWE-401
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| 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 opensc0.19.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.11 | opensc | before 0.20.0-r0 | 0.20.0-r0 |
| Debian:10 | opensc | before 0.19.0-1+deb10u2 | 0.19.0-1+deb10u2 |
| Debian:12 | opensc | before 0.20.0-1 | 0.20.0-1 |
| openSUSE:Leap Micro 5.2 | opensc | before 0.19.0-150100.3.19.1 | 0.19.0-150100.3.19.1 |
| openSUSE:Tumbleweed | opensc | before 0.21.0-2.2 | 0.21.0-2.2 |
| SUSE:Linux Enterprise High Performance Computing 15-ESPOS | opensc | before 0.18.0-150000.3.23.1 | 0.18.0-150000.3.23.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | opensc | before 0.19.0-150100.3.19.1 | 0.19.0-150100.3.19.1 |
| SUSE:Linux Enterprise Server 12 SP5 | opensc | before 0.13.0-3.6.27 | 0.13.0-3.6.27 |
Same product
opensc project: all recordsOther highest-scoring records for the same primary product.
- 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
Published before and after this one in the same product
- ← EarlierCVE-2018-16426Sep 3, 2018 · Endless recursion when handling responses from an IAS-ECC card in iasecc_select_file in libopensc/card-iasecc.c in OpenSC before 0.19.0-rc1…17Monitor
- ← EarlierCVE-2018-16427Sep 3, 2018 · Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted…17Monitor
- Later →CVE-2019-15945Sep 5, 2019 · 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.25Monitor
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 |
|---|---|---|
| alpine:opensc | 0.20.0-r0 · Alpine:v3.11 | Package registry (OSV) |
| debian:opensc | 0.20.0-1 · Debian:12 | Package registry (OSV) |
| opensuse:opensc | 0.19.0-150100.3.19.1 · openSUSE:Leap Micro 5.2 | Package registry (OSV) |
| suse:opensc | 0.13.0-3.6.27 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
| suse:opensc | 0.19.0-150100.3.19.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | 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.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-401 · Missing Release of Memory after Effective LifetimeCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.