{"id":"GHSA-g6rx-6wfx-gj74","summary":"Bouncy Castle for Java has Out-of-Bounds Write Vulnerability","details":"Out-of-bounds Write vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java bc-fips on All (API modules). This vulnerability is associated with program files org/bouncycastle/jcajce/provider/BaseCipher.\n\nThis issue affects Bouncy Castle for Java: from BC-FJA 2.1.0 through 2.1.0.","aliases":["CVE-2025-9340"],"modified":"2025-08-22T21:27:30.751452Z","published":"2025-08-22T12:30:30Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-08-22T20:30:44Z","nvd_published_at":"2025-08-22T10:15:33Z","cwe_ids":["CWE-787"],"severity":"LOW"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9340"},{"type":"PACKAGE","url":"https://github.com/bcgit/bc-java"},{"type":"WEB","url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909340"}],"affected":[{"package":{"name":"org.bouncycastle:bc-fips","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bc-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.1.1"}]}],"versions":["2.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-g6rx-6wfx-gj74/GHSA-g6rx-6wfx-gj74.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:P/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/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:N/AU:X/R:U/V:X/RE:M/U:Green"}]}