VDB

CVE-2023-33202

CVE-2023-33202 PUBLISHED CVSS 5.5 MEDIUM

Bouncy Castle Denial of Service (DoS)

Reported by mitre · Published November 23, 2023

bcprov-jdk16 is fixed in 1.73 (Maven Central)

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.)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.bouncycastle:bcprov-jdk16Maven Central1.73
org.bouncycastle:bcpkix-jdk14Maven Central1.73
org.bouncycastle:bcpkix-jdk15to18Maven Central1.73
org.bouncycastle:bcprov-jdk14Maven Central1.73
org.bouncycastle:bcprov-ext-jdk16Maven Central1.73
org.bouncycastle:bcprov-jdk18onMaven Central1.73
org.bouncycastle:bcpkix-jdk15onMaven Central1.73
org.bouncycastle:bcpkix-jdk18onMaven Central1.73
org.bouncycastle:bcprov-jdk15Maven Central1.73
org.bouncycastle:bcprov-ext-jdk15onMaven Central1.73
org.bouncycastle:bcprov-jdk15to18Maven Central1.73
bouncycastle-mailAmazon Linux1.70-4.amzn2023.0.4

11 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
amazon:2023bouncycastle-mail0
amazon:2023bouncycastle-pg0
Mavenorg.bouncycastle:bcprov-ext-jdk160
Mavenorg.bouncycastle:bcprov-jdk140
amazon:2023bouncycastle-javadoc0
chainguardgradle-80
Mavenorg.bouncycastle:bcprov-jdk18on0
amazon:2023bouncycastle-util0
Mavenorg.bouncycastle:bcprov-jdk150
Mavenorg.bouncycastle:bcprov-jdk160
Mavenorg.bouncycastle:bcprov-jdk15on
Mavenorg.bouncycastle:bcpkix-jdk15to180
Mavenorg.bouncycastle:bcpkix-jdk15on0
Mavenorg.bouncycastle:bcprov-ext-jdk15on0
amazon:2023bouncycastle-pkix0
Mavenorg.bouncycastle:bcpkix-jdk140
Mavenorg.bouncycastle:bcpkix-jdk18on0
wolfigradle-80
amazon:2023bouncycastle0

…and 4 more

Timeline

  • Nov 22, 2023 CVE Published
  • Nov 24, 2023 EPSS Score (30 in total, the first dated here)
  • Sep 9, 2024 CVE Updated
  • Mar 20, 2026 Security Advisory (2 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch
  • Aug 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-33202
vulnetix vdb fixes CVE-2023-33202

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-33202/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›