Skip to content
OpenAdvisories
Unscored USN-8108-1 0 CVEs

bouncycastle vulnerabilities

Published Mar 18, 2026 · Updated Jun 25, 2026

Summary

It was discovered that Bouncy Castle did not sanitize user input when
inserting it into an LDAP search filter. An attacker could possibly use
this issue to perform an LDAP injection attack. This issue only affected
Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS.
(CVE-2023-33201)

It was discovered that Bouncy Castle incorrectly handled specially crafted
F2m parameters in the ECCurve algorithm. An attacker could possibly use
this issue to cause Bouncy Castle to use excessive resources, leading to a
denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04
LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2024-29857)

It was discovered that Bouncy Castle leaked timing information when
handling exceptions during an RSA handshake. An attacker could possibly use
this issue to obtain sensitive information. This issue only affected Ubuntu
18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS.
(CVE-2024-30171)

It was discovered that Bouncy Castle incorrectly handled endpoint
identification with an SSL socket enabled without an explicit hostname. An
attacker could possibly use this issue to perform a DNS poisoning attack.
This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu
24.04 LTS. (CVE-2024-34447)

Bing Shi discovered that Bouncy Castle incorrectly handled resource memory
allocation. An attacker could possibly use this issue to cause Bouncy
Castle to use excessive resources, leading to a denial of service. This
issue only affected Ubuntu 24.04 LTS. (CVE-2025-8916)

Fixed packages 5

ReleasePackageFixed in
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS bouncycastle 1.51-4ubuntu1+esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS bouncycastle 1.59-1ubuntu0.1~esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS bouncycastle 1.61-1ubuntu0.1~esm1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS bouncycastle 1.68-5ubuntu0.1~esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS bouncycastle 1.77-1ubuntu0.1~esm1

References

  • report
    https://ubuntu.com/security/CVE-2023-33201
  • report
    https://ubuntu.com/security/CVE-2024-29857
  • report
    https://ubuntu.com/security/CVE-2024-30171
  • report
    https://ubuntu.com/security/CVE-2024-30172
  • report
    https://ubuntu.com/security/CVE-2024-34447
  • report
    https://ubuntu.com/security/CVE-2025-8916