{"id":"CVE-2022-45146","aliases":["CVE-2022-45146","GHSA-68m8-v89j-7j2p"],"related":[],"kind":"vulnerability","state":"published","title":"Garbage collection issue in BC-FJA in Java 13 and later","summary":"An issue was discovered in the FIPS Java API of Bouncy Castle BC-FJA before 1.0.2.4. Changes to the JVM garbage collector in Java 13 and later trigger an issue in the BC-FJA FIPS modules where it is possible for temporary keys used by the module to be zeroed out while still in use by the module, resulting in errors or potential information loss. NOTE: FIPS compliant users are unaffected because the FIPS certification is only for Java 7, 8, and 11.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the FIPS Java API of Bouncy Castle BC-FJA before 1.0.2.4. Changes to the JVM garbage collector in Java 13 and later trigger an issue in the BC-FJA FIPS modules where it is possible for temporary keys used by the module to be zeroed out while still in use by the module, resulting in errors or potential information loss. NOTE: FIPS compliant users are unaffected because the FIPS certification is only for Java 7, 8, and 11.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en la API FIPS Java de Bouncy Castle BC-FJA antes de la versión 1.0.2.4. Los cambios en el recolector de basura JVM en Java 13 y versiones posteriores desencadenan un problema en los módulos BC-FJA FIPS donde es posible que las claves temporales utilizadas por el módulo se pongan a cero mientras el módulo aún las usa, lo que genera errores o información potencial. pérdida. NOTA: Los usuarios que cumplen con FIPS no se ven afectados porque la certificación FIPS es solo para Java 7, 8 y 11.","source":"nvd"}],"published":"2022-11-21T00:00:00.000Z","modified":"2026-09-10T03:49:47.009Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.2.4"}],"ecosystem":"Maven","package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.2.4"}],"vendor":"bouncycastle","product":"fips_java_api","cpe":"cpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.bouncycastle.org/latest_releases.html","tags":["release-notes","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bcgit/bc-java/wiki/CVE-2022-45146","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mvnrepository.com/artifact/org.bouncycastle/bc-fips","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45146","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-45146","url":"https://www.cve.org/CVERecord?id=CVE-2022-45146","licence":"CVE Terms of Use","modified":"2024-08-03T14:09:56.019Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-68m8-v89j-7j2p","url":"https://github.com/advisories/GHSA-68m8-v89j-7j2p","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:47.009Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-45146","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45146","licence":"Public domain","modified":"2026-06-17T05:09:27.997Z"}],"updatedAt":"2026-11-25T22:58:16.718Z","epss":{"score":0.00463,"percentile":0.41818,"date":"2026-12-01T12:00:22.000Z"}}