synced 11 MIN AGO
01 Record

CVE-2021-42782

Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.

UnratedPUBLISHEDCNA: redhat
CNA base scoreUnratedNo CNA CVSS vector

02 Description

Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
2.78% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 85.9% of scored records. A rank, not a probability.
NVD base score
5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-04-18 00:00Z4 YR AGO
Last updated
2025-11-03 21:45Z11 MO AGO
Reserved
2021-10-21
Assigning CNA
redhat
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferClass
  • CWE-787Out-of-bounds WriteBase
Data version
5.2
Document digest
29f125a7967f35a8322d4d477d2b4562f46346d0ea3d63ece6b92fa75fb8cef5

05 Affected products

VendorProductVersionsPlatforms
n/aopenscopensc 0.22.0—

06 References

07 Fixed in

Debian 12

  • opensc
    Fixed in 0.22.0-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • opensc
    Fixed in 0.22.0-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • opensc
    Fixed in 0.22.0-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • opensc
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • opensc
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • opensc
    Fixed in 0.20.0-3ubuntu0.1~esm4
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.