CVE-2026-76101

HIGH CVSS 3.1: 7.1 EPSS 0.07%
Updated Nov 19, 2026
Pavlo-V-Chernykh
Parameter Value
CVSS 7.1 (HIGH)
Fixed In 3.0.0
Type CWE-354, CWE-347 (Improper Verification of Cryptographic Signature), CWE-252
Vendor Pavlo-V-Chernykh
Public PoC No

keystore-go is a Go implementation of the Java KeyStore encoder and decoder. In 2.1.0 and earlier, keystore.Decode in decoder.go does not check the error returned when reading the trailing SHA-1 integrity digest and bounds its comparison by the length of the digest actually read. If an attacker with write access removes the final 20-byte digest from a modified JKS file, the empty actual digest causes the comparison loop to execute zero times and Decode returns the parsed keystore without an error.

For certificate-only stores using TrustedCertificateEntry values, this bypasses both tamper detection and password verification, allowing trusted CA certificates to be added or replaced without knowing the keystore password and potentially enabling interception or modification of TLS connections that trust the forged CA. This issue is fixed in version 3.0.0.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products

pavlo-v-chernykh:keystore-go