CVE-2012-2131: Buffer Overflow in OpenSSL 0.9.8v DER Data Parsing
- Vendor
- OpenSSL Software Foundation
CVE-2012-2131 is a vulnerability in OpenSSL 0.9.8v, specifically in crypto/buffer/buffer.c, where multiple integer signedness errors allow remote attackers to trigger buffer overflows by supplying crafted DER data, such as malicious X.509 certificates or RSA public keys. This issue is a result of an incomplete fix for CVE-2012-2110.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to cause memory corruption, leading to denial of service or potentially enabling further attacks such as remote code execution, depending on the context in which OpenSSL is used.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict acceptance of untrusted DER-encoded data, and limit exposure of services parsing X.509 certificates or RSA public keys from untrusted sources. Monitor for vendor patches and apply them as soon as available.
Remediation
Patch, then assume compromise.
Upgrade to a version of OpenSSL where the integer signedness errors in crypto/buffer/buffer.c have been fully corrected. Ensure all systems using OpenSSL 0.9.8v are updated to a secure release.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2012-2131 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2012-2131 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2012-2131?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2012-2131. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2012-2131?
- Upgrade to a version of OpenSSL where the integer signedness errors in crypto/buffer/buffer.c have been fully corrected. Ensure all systems using OpenSSL 0.9.8v are updated to a secure release.
- What products are affected by CVE-2012-2131?
- OpenSSL Software Foundation Openssl.
- How severe is CVE-2012-2131?
- CVE-2012-2131 has a CVSS v2 score of 7.5 (High) and an EPSS score of 16.8% (97th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.