[ CVE-2026-116585 · Published 26 Oct 2026 ]
Go JOSE: Panic during CBC-HMAC processing
CVSS 6.9
EPSS <1%Fix available
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- github.com/go-jose/go-jose/v4 4.1.5Fixed version · GitHub Advisories · go package github.com/go-jose/go-jose/v4: upgrade to 4.1.5 or later (affected < 4.1.5)
[ Packages ]Affected open-source packages
- github.com/go-jose/go-jose/v4 goAffected < 4.1.5 · fixed in 4.1.5 · GHSA-4w3g-jfj2-cw2q
- github.com/go-jose/go-jose/v3 goAffected <= 3.0.5 · GHSA-4w3g-jfj2-cw2q