CVE-2023-33202
MEDIUM 5.5CVSS 3.1Bouncy Castle Denial of Service (DoS)
Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue within the Bouncy Castle org.bouncycastle.openssl.PEMParser class. This class parses OpenSSL PEM encoded streams containing X.509 certificates, PKCS8 encoded keys, and PKCS7 objects. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError, which can enable a denial of service attack. (For users of the FIPS Java API: BC-FJA 1.0.2.3 and earlier are affected; BC-FJA 1.0.2.4 is fixed.)
- Published
- 23 Nov 2023
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-wjxj-5m7g-mg7q
- Sources
- NVDJSONOSV GHSA-wjxj-5m7g-mg7qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bouncycastle | bouncy_castle_for_javacpe:2.3:a:bouncycastle:bouncy_castle_for_java:*:*:*:*:*:*:*:* |
< 1.73 | 1.73 |
| NVD | bouncycastle | fips_java_apicpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:* |
< 1.0.2.4 | 1.0.2.4 |
| OSV | Maven | org.bouncycastle:bcprov-ext-jdk16 | < 1.73 | 1.73 |
| OSV | Maven | org.bouncycastle:bcprov-jdk14 | < 1.73 | 1.73 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15 | < 1.73 | 1.73 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.73 | 1.73 |
| OSV | Maven | org.bouncycastle:bcprov-jdk16 | < 1.73 | 1.73 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15on | all versions | |
| OSV | Maven | org.bouncycastle:bcpkix-jdk18on | < 1.73 | 1.73 |
| OSV | Maven | org.bouncycastle:bcprov-ext-jdk15on | < 1.73 | 1.73 |
| OSV | Maven | org.bouncycastle:bcprov-jdk18on | < 1.73 | 1.73 |
References
- https://bouncycastle.org · Product, WEB
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902023%E2%80%9033202
- https://github.com/bcgit/bc-java/wiki/CVE-2023-33202 · Exploit, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240125-0001/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-33202 · ADVISORY
- https://github.com/bcgit/bc-java/commit/0c576892862ed41894f49a8f639112e8d66d229c · WEB
- https://github.com/bcgit/bc-java · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 23 Nov 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Nov 2023)