CVE-2003-0131
Description
The SSL and TLS components for OpenSSL 0.9.6i and earlier, 0.9.7, and 0.9.7a allow remote attackers to perform an unauthorized RSA private key operation via a modified Bleichenbacher attack that uses a large number of SSL or TLS connections using PKCS #1 v1.5 padding that cause OpenSSL to leak information regarding the relationship between ciphertext and the associated plaintext, aka the "Klima-Pokorny-Rosa attack."
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
12cpe:2.3:a:openssl:openssl:0.9.6:*:*:*:*:*:*:*+ 11 more
- cpe:2.3:a:openssl:openssl:0.9.6:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.6a:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.6b:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.6c:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.6d:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.6e:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.6g:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.6h:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.6i:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.7:*:*:*:*:*:*:*
- cpe:2.3:a:openssl:openssl:0.9.7a:*:*:*:*:*:*:*
- (no CPE)range: <=0.9.6i, 0.9.7, 0.9.7a
Patches
Vulnerability mechanics
Root cause
"Distinct SSL error alerts for RSA decryption failures and protocol version mismatches leak information about the plaintext corresponding to a chosen ciphertext, enabling a Bleichenbacher-style oracle attack."
Attack vector
An attacker opens millions of SSL/TLS connections to the target server, sending specially crafted RSA ciphertexts that use PKCS #1 v1.5 padding [ref_id=1]. By observing the server's behavior—specifically whether it returns a decryption error or a version-number error—the attacker can deduce information about the relationship between a chosen ciphertext and its corresponding plaintext [ref_id=1]. This information leakage effectively allows the attacker to perform a single unauthorized RSA private-key operation on a ciphertext of its choice, though the server's RSA key itself is not compromised [ref_id=1]. The attack requires no special privileges beyond network access to the server.
Affected code
The vulnerability resides in the SSL/TLS server code within `s3_srvr.c`, specifically in the `ssl3_get_client_key_exchange` function. The patch targets two error-reporting paths: the RSA decryption length check and the protocol version number check. These paths previously emitted distinct SSL error alerts (`SSL_R_BAD_RSA_DECRYPT` and `SSL_R_BAD_PROTOCOL_VERSION_NUMBER`) that could be observed by an attacker.
What the fix does
The patch removes the distinct SSL error alerts that were previously emitted for RSA decryption failures and bad protocol version numbers, replacing them with silent handling that falls through to the existing countermeasure code [ref_id=1]. Specifically, the `SSLerr` calls for `SSL_R_BAD_RSA_DECRYPT` and `SSL_R_BAD_PROTOCOL_VERSION_NUMBER` are commented out, and the `goto f_err` that would abort the handshake on a version mismatch is removed [ref_id=1]. Instead, when any decryption error occurs, the server now generates a random pre-master secret (via `RAND_pseudo_bytes`) and continues the handshake normally, preventing the attacker from distinguishing between different error types and thereby closing the "bad version oracle" that the Klima-Pokorny-Rosa attack exploited [ref_id=1].
Preconditions
- networkNetwork access to the target SSL/TLS server
- inputAbility to initiate millions of SSL/TLS connections with crafted ciphertexts
Reproduction
The advisory does not provide reproduction steps, and no public PoC is included in the bundle.
Generated on Jun 16, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
23- www.securityfocus.com/bid/7148nvdPatchVendor Advisory
- eprint.iacr.org/2003/052/nvdVendor Advisory
- www.kb.cert.org/vuls/id/888801nvdThird Party AdvisoryUS Government Resource
- ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-007.txt.ascnvd
- ftp.sco.com/pub/security/OpenLinux/CSSA-2003-014.0.txtnvd
- patches.sgi.com/support/free/security/advisories/20030501-01-Invd
- distro.conectiva.com.br/atualizacoes/nvd
- lists.apple.com/mhonarc/security-announce/msg00028.htmlnvd
- marc.infonvd
- marc.infonvd
- marc.infonvd
- www.debian.org/security/2003/dsa-288nvd
- www.gentoo.org/security/en/glsa/glsa-200303-20.xmlnvd
- www.linuxsecurity.com/advisories/immunix_advisory-3066.htmlnvd
- www.mandriva.com/security/advisoriesnvd
- www.openpkg.org/security/OpenPKG-SA-2003.026-openssl.htmlnvd
- www.openssl.org/news/secadv_20030319.txtnvd
- www.redhat.com/support/errata/RHSA-2003-101.htmlnvd
- www.redhat.com/support/errata/RHSA-2003-102.htmlnvd
- www.securityfocus.com/archive/1/316577/30/25310/threadednvd
- exchange.xforce.ibmcloud.com/vulnerabilities/11586nvd
- lists.opensuse.org/opensuse-security-announce/2003-04/msg00005.htmlnvd
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A461nvd
News mentions
0No linked articles in our index yet.