{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-14682","assignerOrgId":"91579145-5d7b-4cc5-b925-a0262ff19630","state":"PUBLISHED","assignerShortName":"bcorg","dateReserved":"2026-07-04T00:33:39.368Z","datePublished":"2026-08-03T02:44:13.256Z","dateUpdated":"2026-08-04T09:24:50.033Z"},"containers":{"cna":{"providerMetadata":{"orgId":"91579145-5d7b-4cc5-b925-a0262ff19630","shortName":"bcorg","dateUpdated":"2026-08-04T09:24:50.033Z"},"title":"Possible OOM from unbounded up-front allocation on a definite-length read","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-789","description":"CWE-789 Memory Allocation with Excessive Size Value","type":"CWE"}]}],"affected":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","platforms":["all"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java/","packageName":"bcprov","repo":"https://github.com/bcgit/bc-java","packageURL":"pkg:maven/org.bouncycastle/bcprov-jdk18on","modules":["core"],"programFiles":["DefiniteLengthInputStream"],"versions":[{"status":"affected","version":"0","lessThan":"1.85","versionType":"maven"}],"defaultStatus":"unaffected"},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","platforms":["all"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-lts/","packageName":"bcprov-lts8on","repo":"https://github.com/bcgit/bc-lts-java","packageURL":"pkg:maven/org.bouncycastle/bcprov-lts8on","modules":["core"],"programFiles":["DefiniteLengthInputStream"],"versions":[{"status":"affected","version":"2.73.0","lessThan":"2.73.12","versionType":"maven"}],"defaultStatus":"unaffected"},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","platforms":["all"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","packageName":"bc-fips","packageURL":"pkg:maven/org.bouncycastle/bc-fips","versions":[{"status":"affected","version":"1.0.0","lessThan":"1.0.2.7","versionType":"maven"},{"status":"affected","version":"2.0.0","lessThan":"2.0.2","versionType":"maven"},{"status":"affected","version":"2.1.0","lessThan":"2.1.3","versionType":"maven"}],"defaultStatus":"unaffected"},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","platforms":["all"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","packageName":"bctls-fips","packageURL":"pkg:maven/org.bouncycastle/bctls-fips","versions":[{"status":"affected","version":"1.0.0","lessThan":"1.0.24","versionType":"maven"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>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.</p>"}]}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9014682","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/37094e504ef50cf9ce4e0fb9e5105d495ff5c2d2","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"AMBER","version":"4.0","baseSeverity":"HIGH","baseScore":8.7,"vectorString":"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"}}],"credits":[{"lang":"en","value":"Michał Majchrowicz and Marcin Wyczechowski, members of the AFINE Team.","type":"finder"},{"lang":"en","value":"Yt","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"bc release-notes template"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-03T15:31:04.802553Z","id":"CVE-2026-14682","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-03T15:31:31.854Z"}}]}}