CVEfocus › CVE database › CVE-2023-33202

CVE-2023-33202

CVSS 5.5 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2023-11-23Updated 2025-08-18Assigner: mitre

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

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Debian, Maven, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
7Fix pending
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04bouncycastleNot affected
vulnerable_code_not_present
Ubuntu 25.10bouncycastleNot affected
vulnerable_code_not_present
Ubuntu 22.04bouncycastleFix pendingUBUNTU-CVE-2023-33202
Ubuntu 20.04bouncycastleFix pendingUBUNTU-CVE-2023-33202
Ubuntu 18.04bouncycastleFix pendingUBUNTU-CVE-2023-33202
Ubuntu 16.04bouncycastleFix pendingUBUNTU-CVE-2023-33202
Ubuntu 14.04bouncycastleFix pending
Debian 14bouncycastleFixed1.77-1DEBIAN-CVE-2023-33202
Debian 13bouncycastleFixed1.77-1DEBIAN-CVE-2023-33202
Debian 12bouncycastleFix pendingDEBIAN-CVE-2023-33202
Red Hat Enterprise Linux 9log4jNot affected
Red Hat Enterprise Linux 9log4j-jclNot affected
Red Hat Enterprise Linux 9log4j-slf4jNot affected
Red Hat Enterprise Linux 8log4jNot affected
Red Hat Enterprise Linux 8log4j-jclNot affected
Red Hat Enterprise Linux 8log4j-slf4jNot affected
Red Hat Enterprise Linux 8log4j-webNot affected
Maven libraryorg.bouncycastle:bcpkix-jdk18onFixed1.73GHSA-wjxj-5m7g-mg7q
Maven libraryorg.bouncycastle:bcprov-ext-jdk15onFixed1.73GHSA-wjxj-5m7g-mg7q
Maven libraryorg.bouncycastle:bcprov-ext-jdk16Fixed1.73GHSA-wjxj-5m7g-mg7q
Maven libraryorg.bouncycastle:bcprov-jdk14Fixed1.73GHSA-wjxj-5m7g-mg7q
Maven libraryorg.bouncycastle:bcprov-jdk15Fixed1.73GHSA-wjxj-5m7g-mg7q
Maven libraryorg.bouncycastle:bcprov-jdk15onFix pendingGHSA-wjxj-5m7g-mg7q
Maven libraryorg.bouncycastle:bcprov-jdk15to18Fixed1.73GHSA-wjxj-5m7g-mg7q
Maven libraryorg.bouncycastle:bcprov-jdk16Fixed1.73GHSA-wjxj-5m7g-mg7q
Maven libraryorg.bouncycastle:bcprov-jdk18onFixed1.73GHSA-wjxj-5m7g-mg7q

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.