CVE-2023-33202: Medium severity bouncycastle Bouncy Castle for Java vulnerability

Published Nov 23, 2023
·
Updated

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.

Other sources

Bouncy Castle for Java is vulnerable to a denial of service, caused by a flaw in the org.bouncycastle.openssl.PEMParser class. By sending a specially crafted file, a remote attacker could exploit this vulnerability to cause a denial of service condition.

— IBM

Affected Software

17 affected componentsFixes available
maven/org.bouncycastle:bcprov-jdk15on<1.70
maven/org.bouncycastle:bcprov-jdk16<1.73
1.73
maven/org.bouncycastle:bcprov-jdk15to18<1.73
1.73
maven/org.bouncycastle:bcprov-jdk14<1.73
1.73
maven/org.bouncycastle:bcprov-ext-jdk16<1.73
1.73
maven/org.bouncycastle:bcprov-ext-jdk15on<1.73
1.73
maven/org.bouncycastle:bcpkix-jdk18on<1.73
1.73
maven/org.bouncycastle:bcprov-jdk18on<1.73
1.73
bouncycastle Bouncy Castle for Java<1.73
bouncycastle FIPS Java API<1.0.2.4
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query on Cloud Pak for Data<=2.2
IBM Watson Query on Cloud Pak for Data<=2.1
IBM Watson Query on Cloud Pak for Data<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7
redhat/bc-java<1.7.3
1.7.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk16 to a version that resolves this vulnerability.

    Fixed in 1.73
  2. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk15to18 to a version that resolves this vulnerability.

    Fixed in 1.73
  3. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk15 to a version that resolves this vulnerability.

    Fixed in 1.73
  4. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk14 to a version that resolves this vulnerability.

    Fixed in 1.73
  5. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-ext-jdk16 to a version that resolves this vulnerability.

    Fixed in 1.73
  6. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-ext-jdk15on to a version that resolves this vulnerability.

    Fixed in 1.73
  7. Upgrade

    Upgrade maven/org.bouncycastle:bcpkix-jdk18on to a version that resolves this vulnerability.

    Fixed in 1.73
  8. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-jdk18on to a version that resolves this vulnerability.

    Fixed in 1.73
  9. Upgrade

    Upgrade redhat/bc-java to a version that resolves this vulnerability.

    Fixed in 1.7.3
  10. Upgrade

    Upgrade Bouncy Castle for Java (bc-java) to a version that resolves this vulnerability.

    Fixed in 1.73
  11. Upgrade

    Upgrade FIPS Java API (BC-FJA) to a version that resolves this vulnerability.

    Fixed in 1.0.2.4
  12. Compensating control

    Mitigate the remote DoS risk by restricting access to systems/services that parse attacker-controlled PEM inputs (e.g., certificates/keys/PKCS7 objects) so remote attackers cannot submit crafted files to the org.bouncycastle.openssl.PEMParser.

Event History

Nov 23, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
Description
Advisory Published
06:30 PM
Data Sourced
via Red Hat·08:33 PM
DescriptionSeverityAffected Software
Nov 24, 2023
Advisory Published
04:54 PM
Nov 30, 2023
Data Sourced
08:49 PM
SeverityWeaknessAffected Software
Dec 5, 2023
Updated
05:51 AM
Description
Updated
06:15 AM
DescriptionAffected Software
Updated
10:05 PM
Severity
Jan 25, 2024
Data Sourced
via MITRE·02:06 PM
Description
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·02:15 PM
Affected Software
Data Sourced
via GitHub·03:31 PM
DescriptionSeverityWeaknessAffected Software
Updated
via GitHub·03:31 PM
Affected Software
Mar 14, 2024
Updated
via GitHub·10:03 PM
Affected Software
Mar 22, 2024
Updated
via GitHub·04:02 PM
Affected Software
May 23, 2024
Updated
via GitHub·09:12 PM
Affected Software
Sep 9, 2024
Updated
via NVD·01:53 PM
Affected Software
Feb 21, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Mar 20, 2025
Updated
via NVD·05:00 PM
Affected Software
Apr 3, 2025
Updated
via IBM·12:00 AM
Affected Software
Aug 18, 2025
Updated
via NVD·05:15 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2023-33202.

2

What is the severity of CVE-2023-33202?

The severity of CVE-2023-33202 is high with a CVSS score of 7.5.

3

What is the affected software?

The affected software is Bouncy Castle for Java before version 1.73.

4

What is the impact of this vulnerability?

This vulnerability can lead to a Denial of Service (DoS) attack by parsing a crafted file.

5

How can I fix CVE-2023-33202?

To fix CVE-2023-33202, update Bouncy Castle for Java to version 1.73 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203