CVEsgo-joseCVE-2026-116585Published Oct 26, 21:06 · Updated Oct 31, 01:52 UTC
6.9
MediumCVSS 4.0 · from GitHub_M
CVE-2026-116585

Go JOSE: Panic during CBC-HMAC processing

go-jose · CWE-129 · CWE-129
Affectedgo-jose
FixNo fix listed yet.
PublishedOct 26, 21:06 · GitHub_M
ScoredOct 26 · 6.9 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:11 UTC

What we know

No known exploitation. CISA KEV, checked 22:11 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.

Description

Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. Prior to 4.1.5, decrypting untrusted JWE ciphertext with A128CBC-HS256, A192CBC-HS384, or A256CBC-HS512 can pass an empty ciphertext buffer to CBC-HMAC unpadding. Insufficient validation allows the empty buffer to be indexed, causing a panic and denial of service. Applications that decrypt attacker-controlled ciphertext with one of these content-encryption algorithms are affected. This issue is fixed in version 4.1.5.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed ingo-jose< 4.1.5–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q · github.comrefsource_CONFIRMgithub.com/go-jose/go-jose/pull/292 · github.comrefsource_MISCgithub.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3dd6 · github.comrefsource_MISCgithub.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54 · github.comrefsource_MISCgithub.com/go-jose/go-jose/releases/tag/v4.1.5 · github.comrefsource_MISC

Other CVEs in go-jose

All 5 →
7.5Go JOSE: DoS when parsing JWKs that contain RSA keys · CVE-2026-116587Oct 266.9Go JOSE: Panics in JSON parsing · CVE-2026-116586Oct 267.5Go JOSE affect by a panic in JWE decryption · CVE-2026-34986Apr 6