PT-2026-150977
CVE-2026-76101
·
Published
2026-11-18
·
Updated
2026-11-19
Description by
CVSS 3.1
7.1
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
keystore-go versions prior to 3.0.0
Description
The
keystore.Decode() function in decoder.go fails to verify the error returned when reading the trailing SHA-1 integrity digest and limits its comparison to the length of the digest actually read. An attacker with write access can remove the final 20-byte digest from a modified JKS file, causing the comparison loop to execute zero times and allowing the function to return the parsed keystore without an error. For certificate-only stores using TrustedCertificateEntry values, this bypasses tamper detection and password verification. This allows trusted CA certificates to be added or replaced without the keystore password, potentially enabling the interception or modification of TLS connections that trust the forged CA.Recommendations
Update to version 3.0.0.
Found an issue in the description? Have something to add? Feel free to write us 👾