CVE-2024-8443: Libopensc: heap buffer overflow in openpgp driver when generating key

Published Sep 6, 2024
·
Updated

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.

Other sources

The Heap Buffer Overflow vulnerability was identified within the OpenPGP driver during the card enrollment process using the pkcs15-init tool to generate RSA or ECDSA key when a user or administrator enrolls or modifies cards, but it can also be encountered when using the driver for key generation (for example via openpgp-tool).

Red Hat

Affected Software

5 affected componentsFixes available
Opensc Project Opensc
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
debian/opensc<=0.21.0-1
0.21.0-1+deb11u10.23.0-0.3+deb12u20.26.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/opensc to a version that resolves this vulnerability.

    Fixed in 0.21.0-1+deb11u1Fixed in 0.23.0-0.3+deb12u2Fixed in 0.26.1-1

Event History

Sep 6, 2024
Data Sourced
via Red Hat·07:59 PM
DescriptionSeverityAffected Software
Sep 10, 2024
CVE Published
via MITRE·01:16 PM
Data Sourced
via MITRE·01:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 10, 2025
Data Sourced
via Ubuntu·03:08 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-8443?

CVE-2024-8443 is classified as a high severity vulnerability primarily due to its potential to cause a heap-based buffer overflow.

2

How do I fix CVE-2024-8443?

To mitigate CVE-2024-8443, update your OpenSC and Red Hat Enterprise Linux installations to the latest patched versions.

3

What software is affected by CVE-2024-8443?

CVE-2024-8443 affects OpenSC and various versions of Red Hat Enterprise Linux including 7.0, 8.0, and 9.0.

4

What are the potential consequences of CVE-2024-8443?

Exploitation of CVE-2024-8443 may lead to out-of-bounds write conditions, potentially compromising system integrity and security.

5

Who should be concerned about CVE-2024-8443?

Users and administrators of OpenSC and Red Hat Enterprise Linux should be especially vigilant regarding CVE-2024-8443 due to its significant security implications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203