Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3d
- https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd
- https://github.com/go-jose/go-jose/pull/292
- https://github.com/go-jose/go-jose/releases/tag/v4.1.5
- https://github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q
FAQ
What is CVE-2026-116585?
CVE-2026-116585 is a documented vulnerability. 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...
How severe is CVE-2026-116585?
CVSS scoring is not yet available for CVE-2026-116585. Check NVD for updates.
Is there a patch for CVE-2026-116585?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.