USN-8108-1

Type: Security
Severity: Medium
Published: 2026-03-18
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

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) Update Instructions: Run `sudo pro fix USN-8108-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libbcmail-java - 1.61-1ubuntu0.1~esm1 libbcmail-java-doc - 1.61-1ubuntu0.1~esm1 libbcpg-java - 1.61-1ubuntu0.1~esm1 libbcpg-java-doc - 1.61-1ubuntu0.1~esm1 libbcpkix-java - 1.61-1ubuntu0.1~esm1 libbcpkix-java-doc - 1.61-1ubuntu0.1~esm1 libbcprov-java - 1.61-1ubuntu0.1~esm1 libbcprov-java-doc - 1.61-1ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T05:50:43.533Z UTC. Last updated 2026-03-19T08:34:14.840Z UTC.

Upstream Advisory

Affected Packages

  • libbcmail-java 1.61-1ubuntu0.1~esm1-1.61-1ubuntu0.1~esm1

  • libbcmail-java-doc 1.61-1ubuntu0.1~esm1-1.61-1ubuntu0.1~esm1

  • libbcpg-java 1.61-1ubuntu0.1~esm1-1.61-1ubuntu0.1~esm1

  • libbcpg-java-doc 1.61-1ubuntu0.1~esm1-1.61-1ubuntu0.1~esm1

  • libbcpkix-java 1.61-1ubuntu0.1~esm1-1.61-1ubuntu0.1~esm1

  • libbcpkix-java-doc 1.61-1ubuntu0.1~esm1-1.61-1ubuntu0.1~esm1

  • libbcprov-java 1.61-1ubuntu0.1~esm1-1.61-1ubuntu0.1~esm1

  • libbcprov-java-doc 1.61-1ubuntu0.1~esm1-1.61-1ubuntu0.1~esm1

  • libbcmail-java 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbcmail-java-doc 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbcpg-java 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbcpg-java-doc 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbcpkix-java 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbcpkix-java-doc 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbcprov-java 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbcprov-java-doc 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbctls-java 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbctls-java-doc 1.68-5ubuntu0.1~esm1-1.68-5ubuntu0.1~esm1

  • libbcjmail-java 1.77-1ubuntu0.1~esm1-1.77-1ubuntu0.1~esm1

  • libbcmail-java 1.77-1ubuntu0.1~esm1-1.77-1ubuntu0.1~esm1

  • libbcpg-java 1.77-1ubuntu0.1~esm1-1.77-1ubuntu0.1~esm1

  • libbcpkix-java 1.77-1ubuntu0.1~esm1-1.77-1ubuntu0.1~esm1

  • libbcprov-java 1.77-1ubuntu0.1~esm1-1.77-1ubuntu0.1~esm1

  • libbctls-java 1.77-1ubuntu0.1~esm1-1.77-1ubuntu0.1~esm1

  • libbcutil-java 1.77-1ubuntu0.1~esm1-1.77-1ubuntu0.1~esm1

Interested in being alerted when there are new versions of libbcmail-java and the other packages? Set up an alert.
USN-8108-1: Bouncy Castle vulnerabilities | Package Alert