← Vulnerability feed

Vulnerability record · CVE-2012-2110 · published 19 April 2012

CVE-2012-2110: OpenSSL ASN.1 DER Parsing Buffer Overflow

OOpenssl · Openssl

The asn1_d2i_read_bio function in OpenSSL mishandles integer data when parsing DER-encoded input, causing a buffer overflow. A remote attacker can trigger memory corruption by supplying crafted DER data, such as an X.509 certificate or RSA public key. The flaw affects OpenSSL before 0.9.8v, 1.0.0 before 1.0.0i, and 1.0.1 before 1.0.1a.

7.5 CVSS 2.0 High EPSS 48% · top 1.2% CWE-119 · Memory buffer overflow
7.5CVSS 2.0 base score
48%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
78References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

The asn1_d2i_read_bio function in crypto/asn1/a_d2i_fp.c in OpenSSL before 0.9.8v, 1.0.0 before 1.0.0i, and 1.0.1 before 1.0.1a does not properly interpret integer data, which allows remote attackers to conduct buffer overflow attacks, and cause a denial of service (memory corruption) or possibly have unspecified other impact, via crafted DER data, as demonstrated by an X.509 certificate or an RSA public key.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityHigh EPSS percentile and public exploit reference indicate active exploitation risk, though no KEV listing and the age of the CVE reduce urgency for fully patched systems.

What it is

The asn1_d2i_read_bio function in OpenSSL mishandles integer data when parsing DER-encoded input, causing a buffer overflow. A remote attacker can trigger memory corruption by supplying crafted DER data, such as an X.509 certificate or RSA public key. The flaw affects OpenSSL before 0.9.8v, 1.0.0 before 1.0.0i, and 1.0.1 before 1.0.1a.

Impact

An attacker can cause a denial of service through memory corruption and may achieve code execution or other unspecified impact. The CVSS 2.0 vector indicates partial confidentiality, integrity, and availability impact.

Attack surface

The vulnerability is reachable over the network (AV:N) with no authentication (Au:N) and low attack complexity (AC:L). It is triggered by processing crafted DER data, so any service that parses untrusted X.509 certificates or RSA public keys is exposed.

Exploitation

CISA KEV does not list this CVE, but EPSS is 0.47913 (98.8th percentile), indicating high predicted exploitation activity. A public exploit reference is tagged 'Exploit' in the full disclosure archive.

What to do

  • Upgrade OpenSSL to 0.9.8v, 1.0.0i, 1.0.1a or later.
  • Apply vendor patches from Red Hat, Fedora, openSUSE, and Apple as applicable.
  • Restrict or validate untrusted DER input where feasible, especially certificates and public keys.
  • Monitor for and block malformed DER payloads at network or application boundaries.

Detection

  • Inspect OpenSSL error logs for ASN.1 parsing failures or memory corruption indicators.
  • Use network monitoring to detect malformed DER-encoded certificates or RSA public keys.
  • Check for crashes or abnormal process termination in services that parse X.509 certificates.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://archives.neohapsis.com/archives/fulldisclosure/2012-04/0209.html Exploit
http://cvs.openssl.org/chngview?cn=22431
http://cvs.openssl.org/chngview?cn=22434
http://cvs.openssl.org/chngview?cn=22439
http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079149.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079299.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080176.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-November/092905.html
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00014.html
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00015.html
http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00007.html
http://marc.info/?l=bugtraq&m=133728068926468&w=2
http://marc.info/?l=bugtraq&m=133951357207000&w=2
http://marc.info/?l=bugtraq&m=134039053214295&w=2
http://osvdb.org/81223
http://rhn.redhat.com/errata/RHSA-2012-0518.html
http://rhn.redhat.com/errata/RHSA-2012-0522.html
http://rhn.redhat.com/errata/RHSA-2012-1306.html
http://rhn.redhat.com/errata/RHSA-2012-1307.html
http://rhn.redhat.com/errata/RHSA-2012-1308.html
http://secunia.com/advisories/48847
http://secunia.com/advisories/48895
http://secunia.com/advisories/48899
http://secunia.com/advisories/48942
http://secunia.com/advisories/48999
http://secunia.com/advisories/57353
http://support.apple.com/kb/HT5784
http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004564
http://www.collax.com/produkte/AllinOne-server-for-small-businesses#id2565578
http://www.debian.org/security/2012/dsa-2454
http://www.exploit-db.com/exploits/18756
http://www.mandriva.com/security/advisories?name=MDVSA-2012:060
http://www.openssl.org/news/secadv_20120419.txt Vendor Advisory
http://www.securityfocus.com/bid/53158
http://www.securitytracker.com/id?1026957
http://www.ubuntu.com/usn/USN-1424-1
https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862
https://kb.juniper.net/KB27376
http://archives.neohapsis.com/archives/fulldisclosure/2012-04/0209.html Exploit

Track CVE-2012-2110 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2014-0160OpenSSL TLS/DTLS Heartbeat Extension Out-of-Bounds Read (Heartbleed)OpenSSL 1.0.1 before 1.0.1g mishandles Heartbeat Extension packets in its TLS and DTLS implementations, causing an out-of-bounds read of process memo…KEVEPSS 100%analysed10.0CVE-2009-3245Openssl improper input validation vulnerabilityOpenSSL before 0.9.8m does not check for a NULL return value from bn_wexpand function calls in (1) crypto/bn/bn_div.c, (2) crypto/bn/bn_gf2m.c, (3) c…EPSS 6.5%10.0CVE-2006-3738OpenSSL SSL_get_shared_ciphers buffer overflow via long cipher listOpenSSL versions before 0.9.7l and 0.9.8d contain a buffer overflow in the SSL_get_shared_ciphers function, triggered by a long list of ciphers. The …EPSS 49%analysed9.8CVE-2026-63073Openssl vulnerabilityIssue summary: OpenSSL CMP response validation passed an unexpected response sender distinguished name directly as the format string to `ERR_raise_da…EPSS 1.2%9.8CVE-2026-31789Openssl out-of-bounds write vulnerabilityIssue summary: Converting an excessively large OCTET STRING value to a hexadecimal string leads to a heap buffer overflow on 32 bit platforms. Impact…EPSS 0.33%9.8CVE-2022-2274OpenSSL 3.0.4 RSA AVX512IFMA memory corruptionOpenSSL 3.0.4 introduced a bug in the RSA implementation for X86_64 CPUs supporting AVX512IFMA instructions, causing 2048-bit private key operations …EPSS 46%analysed9.8CVE-2021-3711OpenSSL SM2 decryption buffer overflowOpenSSL's SM2 decryption code miscalculates the output buffer size needed by EVP_PKEY_decrypt(), so the first sizing call can return a value smaller …EPSS 88%analysed9.8CVE-2016-6309OpenSSL 1.1.0a statem use-after-free on realloc in TLS session handlingOpenSSL 1.1.0a's statem/statem.c fails to account for memory-block movement after a realloc call, leaving a dangling pointer that can be used after f…EPSS 70%analysed

Source: NIST National Vulnerability Database (record CVE-2012-2110), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.