UBUNTU-CVE-2025-8885

Source
https://ubuntu.com/security/CVE-2025-8885
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8885.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-8885
Upstream
Published
2025-08-12T10:15:00Z
Modified
2025-09-25T05:13:27Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/S:P/R:U/RE:M/U:Amber CVSS Calculator
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/S:P/R:U/RE:M/U:Amber CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BC-FJA bc-fips on All allows Excessive Allocation. This vulnerability is associated with program files https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdenti... https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdentifier.Java . This issue affects BC Java: from 1.0 through 1.77; BC-FJA: from 1.0.0 through 1.0.2.5, from 2.0.0 through 2.0.1.

References

Affected packages

Ubuntu:22.04:LTS

bouncycastle

Package

Name
bouncycastle
Purl
pkg:deb/ubuntu/bouncycastle@1.68-5?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.68-2
1.68-4
1.68-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbcmail-java",
            "binary_version": "1.68-5"
        },
        {
            "binary_name": "libbcpg-java",
            "binary_version": "1.68-5"
        },
        {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.68-5"
        },
        {
            "binary_name": "libbcprov-java",
            "binary_version": "1.68-5"
        },
        {
            "binary_name": "libbctls-java",
            "binary_version": "1.68-5"
        }
    ]
}

Ubuntu:24.04:LTS

bouncycastle

Package

Name
bouncycastle
Purl
pkg:deb/ubuntu/bouncycastle@1.77-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.72-2
1.77-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbcjmail-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcmail-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcpg-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcprov-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbctls-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcutil-java",
            "binary_version": "1.77-1"
        }
    ]
}

Ubuntu:25.04

bouncycastle

Package

Name
bouncycastle
Purl
pkg:deb/ubuntu/bouncycastle@1.77-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.77-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbcjmail-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcmail-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcpg-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcprov-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbctls-java",
            "binary_version": "1.77-1"
        },
        {
            "binary_name": "libbcutil-java",
            "binary_version": "1.77-1"
        }
    ]
}

Ubuntu:Pro:16.04:LTS

bouncycastle

Package

Name
bouncycastle
Purl
pkg:deb/ubuntu/bouncycastle@1.51-4ubuntu1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.49+dfsg-3ubuntu1
1.51-4ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbcmail-java",
            "binary_version": "1.51-4ubuntu1"
        },
        {
            "binary_name": "libbcpg-java",
            "binary_version": "1.51-4ubuntu1"
        },
        {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.51-4ubuntu1"
        },
        {
            "binary_name": "libbcprov-java",
            "binary_version": "1.51-4ubuntu1"
        }
    ]
}

Ubuntu:Pro:18.04:LTS

bouncycastle

Package

Name
bouncycastle
Purl
pkg:deb/ubuntu/bouncycastle@1.59-1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.57-1
1.58-1
1.59-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbcmail-java",
            "binary_version": "1.59-1"
        },
        {
            "binary_name": "libbcpg-java",
            "binary_version": "1.59-1"
        },
        {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.59-1"
        },
        {
            "binary_name": "libbcprov-java",
            "binary_version": "1.59-1"
        }
    ]
}

Ubuntu:Pro:20.04:LTS

bouncycastle

Package

Name
bouncycastle
Purl
pkg:deb/ubuntu/bouncycastle@1.61-1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.61-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbcmail-java",
            "binary_version": "1.61-1"
        },
        {
            "binary_name": "libbcpg-java",
            "binary_version": "1.61-1"
        },
        {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.61-1"
        },
        {
            "binary_name": "libbcprov-java",
            "binary_version": "1.61-1"
        }
    ]
}