Security mailing lists by PureSourceCode

CVE-2023-33202

MEDIUM 5.5CVSS 3.1

Bouncy 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bouncycastle bouncy_castle_for_java
cpe:2.3:a:bouncycastle:bouncy_castle_for_java:*:*:*:*:*:*:*:*
< 1.73 1.73
NVD bouncycastle fips_java_api
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.