CVE-2026-14682

Source
https://cve.org/CVERecord?id=CVE-2026-14682
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-14682.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-14682
Downstream
Related
Published
2026-08-03T02:44:13.256Z
Modified
2026-08-14T18:56:19.531476884Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber CVSS Calculator
Summary
Possible OOM from unbounded up-front allocation on a definite-length read
Details

In Bouncy Castle for Java before 1.85, Possible OOM from unbounded up-front allocation on a definite-length read. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series), and before bctls-fips 1.0.24.

Database specific
{
    "cwe_ids": [
        "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14682.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "1.0.0"
                },
                {
                    "fixed": "1.0.2.7"
                },
                {
                    "introduced": "2.0.0"
                },
                {
                    "fixed": "2.0.2"
                },
                {
                    "introduced": "2.1.0"
                },
                {
                    "fixed": "2.1.3"
                },
                {
                    "introduced": "1.0.0"
                },
                {
                    "fixed": "1.0.24"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "bcorg"
}
References

Affected packages

Git / github.com/bcgit/bc-java

Affected ranges

Type
GIT
Repo
https://github.com/bcgit/bc-java
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.85"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}
Type
GIT
Repo
https://github.com/bcgit/bc-lts-java
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.73.0"
        },
        {
            "fixed": "2.73.12"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

Other
r1rv73
r1rv74
r1rv75
r1rv76
r1rv77
r1rv78
r1rv80
r1rv81
r1rv82
r1rv83
r1rv84
r2rv73dot0
r2rv73dot1
r2rv73dot10
r2rv73dot11
r2rv73dot3
r2rv73dot4
r2rv73dot6
r2rv73dot8
r2rv73dot9

Database specific

vanir_signatures
[
    {
        "source": "https://github.com/bcgit/bc-java/commit/37094e504ef50cf9ce4e0fb9e5105d495ff5c2d2",
        "target": {
            "file": "core/src/main/java/org/bouncycastle/asn1/DefiniteLengthInputStream.java",
            "function": "toByteArray"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "207162120077747174010359953396157550536",
            "length": 420.0
        },
        "id": "CVE-2026-14682-3c47de1a",
        "signature_version": "v1",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "225423879921135001523860557637182169382",
            "length": 531.0
        },
        "signature_version": "v1",
        "target": {
            "file": "core/src/main/java/org/bouncycastle/util/io/Streams.java",
            "function": "readLenBytesFully"
        },
        "id": "CVE-2026-14682-83f34b59",
        "source": "https://github.com/bcgit/bc-java/commit/37094e504ef50cf9ce4e0fb9e5105d495ff5c2d2",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2026-14682-8f221fdb",
        "signature_version": "v1",
        "target": {
            "file": "core/src/main/java/org/bouncycastle/asn1/DefiniteLengthInputStream.java"
        },
        "deprecated": false,
        "source": "https://github.com/bcgit/bc-java/commit/37094e504ef50cf9ce4e0fb9e5105d495ff5c2d2",
        "digest": {
            "line_hashes": [
                "128590144201702826932831183904417057470",
                "1415693993295036646316476446055866992",
                "41478336157129212821901475298681855768",
                "296644880863452237023377292156675500607",
                "144010378520879348174687414423201448615",
                "288682196956768651370012861103077414655",
                "32467733975004668650140381821342096928",
                "216517034150753253612033862840772286888",
                "318695823432219526429640405883706660753"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "core/src/test/java/org/bouncycastle/asn1/test/RegressionTest.java"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "246307909045913595062788678237101095375",
                "26968003310736870453344087501917743964",
                "215741816633743669254464663262501806177",
                "72813023785814726025407523397464103824"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/bcgit/bc-java/commit/37094e504ef50cf9ce4e0fb9e5105d495ff5c2d2",
        "id": "CVE-2026-14682-94f3461c",
        "signature_type": "Line"
    },
    {
        "target": {
            "file": "core/src/main/java/org/bouncycastle/util/io/Streams.java"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "286641106416116627786749031613132283722",
                "171752217634674527851206921578835741842",
                "265671569443108136873170564154690641276",
                "323094227719293379808727675067344854499",
                "208090468886483824082453291273244182666",
                "235659704849314384897820668082835104320",
                "211285726038641885971222410460238408971",
                "262843994765607046943331803753368355735",
                "281143284736162286301754796496917569779",
                "72774949067402997829815126645416157953",
                "131761126484326969509993949037406741692",
                "320389144561054615490703429026137336928",
                "219219605541624851690688047295778045668",
                "75158397679024526698378744062026680867",
                "208353358619781668817387006811409101221",
                "110535660421373477383732730320476616337",
                "262026690802968613690036196817385579516",
                "296889951528194385342586829379414171960"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "id": "CVE-2026-14682-f9442e43",
        "source": "https://github.com/bcgit/bc-java/commit/37094e504ef50cf9ce4e0fb9e5105d495ff5c2d2",
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-14682.json"
vanir_signatures_modified
"2026-08-12T15:33:39Z"