Out-of-bounds Write Affecting opensc package, versions <0.25.1-2ubuntu1.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2410-OPENSC-8189349
  • published26 Feb 2025
  • disclosed10 Sept 2024

Introduced: 10 Sep 2024

CVE-2024-8443  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 opensc to version 0.25.1-2ubuntu1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensc package and not the opensc package as distributed by Ubuntu. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

A heap-based buffer overflow vulnerability was found in the libopensc OpenPGP driver. A crafted USB device or smart card with malicious responses to the APDUs during the card enrollment process using the pkcs15-init tool may lead to out-of-bound rights, possibly resulting in arbitrary code execution.

CVSS Base Scores

version 3.1