{"id":"CVE-2018-5382","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-5382","generatedAt":"2026-10-29T01:52:42.396Z","title":"The default BKS keystore use an HMAC that is only 16 bits long, which can allow an attacker to compromise the integrity of a BKS keystore.","description":"The default BKS keystore use an HMAC that is only 16 bits long, which can allow an attacker to compromise the integrity of a BKS keystore. Bouncy Castle release 1.47 changes the BKS format to a format which uses a 160 bit HMAC instead. This applies to any BKS keystore generated prior to BC 1.47. For situations where people need to create the files for legacy reasons a specific keystore type \"BKS-V1\" was introduced in 1.49. It should be noted that the use of \"BKS-V1\" is discouraged by the library authors and should only be used where it is otherwise safe to do so, as in where the use of a 16 bit checksum for the file integrity check is not going to cause a security issue in itself.","published":"2018-04-16T14:29:01.000Z","lastModified":"2026-06-17T02:00:14.000Z","status":"Modified","sourceIdentifier":"cret@cert.org","cvss":{"version":"3.1","score":4.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},"cwe":["CWE-327","CWE-354"],"affected":["bouncycastle/bc-java","redhat/satellite","redhat/satellite capsule"],"epss":{"score":0.0026,"percentile":0.17694,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.26%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://www.securityfocus.com/bid/103453","tags":["Third Party Advisory","VDB Entry"],"source":"cret@cert.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","tags":["Third Party Advisory"],"source":"cret@cert.org"},{"url":"https://www.bouncycastle.org/releasenotes.html","tags":["Release Notes","Vendor Advisory"],"source":"cret@cert.org"},{"url":"https://www.kb.cert.org/vuls/id/306792","tags":["Third Party Advisory","US Government Resource"],"source":"cret@cert.org"},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["Third Party Advisory"],"source":"cret@cert.org"},{"url":"http://www.securityfocus.com/bid/103453","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.bouncycastle.org/releasenotes.html","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.kb.cert.org/vuls/id/306792","tags":["Third Party Advisory","US Government Resource"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-5382","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}