Read the docs
TI-2021-18982 Aliases CVE-2021-42780GHSA-7wjg-mhwg-m2rc

A use after return issue was found in Opensc before version 0.22.0 in insert_pin function…

Priority LOW 28CWE-252Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Deferred Red Hat: fix deferred

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.

Why it matters now

EPSS 0.02161 82nd percentileScored 2026-11-07
Fix Deferred Red Hat: fix deferred

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—openscopensc 0.22.0—No fix listedCNA
  • opensc Vendor— Affected opensc 0.22.0 Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*before 0.22.0VulnerableOpenSC
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
  • cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* Versions before 0.22.0 Vulnerable ·OpenSC
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
  • cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat

Remediation

No fixed version listed by the sources yet.

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    opensc — GLSA-202209-03

    5 records Highest priority Priority LOW 5 LOW

    Other records, highest priority first

    • TI-2021-18984 Memory corruption in openscPriority LOW 29
    • TI-2021-18983 Memory corruption in openscPriority LOW 29
    • TI-2021-18981 A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.Priority LOW 28

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Not affected: 1 product
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-42780
  2. 2026-10-03 Alias added: GHSA-7wjg-mhwg-m2rc

References

Sources