Security mailing lists by PureSourceCode

CVE-2026-76101

HIGH 7.1CVSS 3.1

keystore-go: Keystore integrity and password verification bypass via stripped trailing digest in Decode(), impacting legacy v2 versions

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.

Published
18 Nov 2026
Last modified
23 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-252CWE-347CWE-354
Also known as
GHSA-j282-pjg5-j643GO-2026-7002
Sources
NVDJSONCVE ListJSONOSV GHSA-j282-pjg5-j643JSONOSV GO-2026-7002JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVE List GitHub_M CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List pavlo-v-chernykh keystore-go = < 3.0.0
OSV Go github.com/pavel-v-chernykh/keystore-go <= 2.1.0
OSV Go github.com/pavel-v-chernykh/keystore-go/v3 < 3.0.0 3.0.0
OSV Go github.com/pavel-v-chernykh/keystore-go all versions

References

History

  • 25 Nov 2026 20:31 UTC · CVE List: first stored (published 18 Nov 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Nov 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 18 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.