ZeroDay Brief
CVE-2026-76101

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 r…

CVSS
7.1High
Chance of exploitation (EPSS)
0.09%
Published
Nov 18, 2026
In the news
1 story
More from this vendor

What to do

A serious security flaw in Pavlo-v-chernykh Keystore-go that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Pavlo-v-chernykh Keystore-go
< 3.0.0

Description

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.

CWE-252CWE-347CWE-354

Affected products

Get alerts for these →

Timeline 4

Latest change: Tenable Cloud Security plugin 498975: Chainguard: multiple cass-operator-fips packages: security update to 1.33.2-r0 (Dec 2, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 4

  • github.com /pavlo-v-chernykh/keystore-go/commit/af93effd832cf1aef7794e69c31e1b668e17b851
  • github.com /pavlo-v-chernykh/keystore-go/releases/tag/v3.0.0
  • github.com /pavlo-v-chernykh/keystore-go/security/advisories/GHSA-j282-pjg5-j643
  • github.com /pavlo-v-chernykh/keystore-go/security/advisories/GHSA-j282-pjg5-j643

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”