{"id":"CVE-2026-59646","sourceIdentifier":"91579145-5d7b-4cc5-b925-a0262ff19630","published":"2026-08-03T01:16:44.733","lastModified":"2026-08-28T19:57:57.020","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"In Bouncy Castle for Java before 1.85, DTLS handshake reassembler allocates buffer from unchecked 24-bit length. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bctls-fips 1.0.24 (1.0.X series), 2.0.24 (2.0.X series) and 2.1.24 (2.1.X series)."}],"affected":[{"source":"91579145-5d7b-4cc5-b925-a0262ff19630","affectedData":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","defaultStatus":"unaffected","collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java/","packageName":"bctls","modules":["tls"],"platforms":["all"],"programFiles":["DTLSReliableHandshake"],"repo":"https://github.com/bcgit/bc-java","packageURL":"pkg:maven/org.bouncycastle/bctls-jdk18on","versions":[{"version":"0","lessThan":"1.85","versionType":"maven","status":"affected"}]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","defaultStatus":"unaffected","collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-lts/","packageName":"bctls-lts8on","modules":["tls"],"platforms":["all"],"programFiles":["DTLSReliableHandshake"],"repo":"https://github.com/bcgit/bc-lts-java","packageURL":"pkg:maven/org.bouncycastle/bctls-lts8on","versions":[{"version":"2.73.0","lessThan":"2.73.12","versionType":"maven","status":"affected"}]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","defaultStatus":"unaffected","collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","packageName":"bctls-fips","platforms":["all"],"packageURL":"pkg:maven/org.bouncycastle/bctls-fips","versions":[{"version":"1.0.0","lessThan":"1.0.24","versionType":"maven","status":"affected"},{"version":"2.0.0","lessThan":"2.0.24","versionType":"maven","status":"affected"},{"version":"2.1.0","lessThan":"2.1.24","versionType":"maven","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"91579145-5d7b-4cc5-b925-a0262ff19630","type":"Secondary","cvssData":{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber","baseScore":8.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"AMBER"}}],"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-03T14:52:56.642144Z","id":"CVE-2026-59646","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"91579145-5d7b-4cc5-b925-a0262ff19630","type":"Secondary","description":[{"lang":"en","value":"CWE-789"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","versionEndExcluding":"1.85","matchCriteriaId":"FA6A5663-2E62-44AA-8A64-A3CB0DC8813B"},{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bctls-fips:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.24","matchCriteriaId":"109D6F5E-5E3D-4045-B1AB-0DFA66A7F7F5"},{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bctls-fips:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.19","versionEndExcluding":"2.0.24","matchCriteriaId":"E59C75F1-DB26-4688-A772-817285432027"},{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bctls-fips:*:*:*:*:*:*:*:*","versionStartIncluding":"2.1.20","versionEndExcluding":"2.1.24","matchCriteriaId":"03E93498-95D0-453F-83A9-07E2CAEFEA08"},{"vulnerable":true,"criteria":"cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*","versionEndIncluding":"2.73.11","matchCriteriaId":"F5ED4F42-08FF-4642-815D-1ED0C82FDBD2"}]}]}],"references":[{"url":"https://github.com/bcgit/bc-java/commit/2d98721e71bbd822ffa0f84e088eea645cf679fa","source":"91579145-5d7b-4cc5-b925-a0262ff19630","tags":["Patch"]},{"url":"https://github.com/bcgit/bc-java/commit/2ea38942c7917f6d7ab4de93d8a5336d021df0d9","source":"91579145-5d7b-4cc5-b925-a0262ff19630","tags":["Patch"]},{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059646","source":"91579145-5d7b-4cc5-b925-a0262ff19630","tags":["Third Party Advisory"]}]}