# CVE-2026-116585: Go JOSE: Panic during CBC-HMAC processing

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-10-26T21:06:35.189Z
- Modified: 2026-10-31T02:17:33.130Z
- Also known as: GHSA-4w3g-jfj2-cw2q
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- go-jose go-jose: < 4.1.5
- github.com/go-jose/go-jose/v4 (Go): before 4.1.5
- github.com/go-jose/go-jose/v3 (Go): up to 3.0.5

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q> (web)
- <https://github.com/go-jose/go-jose/pull/292> (web)
- <https://github.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3dd6> (web)
- <https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54> (web)
- <https://github.com/go-jose/go-jose/releases/tag/v4.1.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-116585> (advisory)
- <https://github.com/go-jose/go-jose> (package)

## Sources

- CVE List: [CVE-2026-116585](https://www.cve.org/CVERecord?id=CVE-2026-116585), CVE Terms of Use, modified 2026-10-31
- GitHub Advisory Database: [GHSA-4w3g-jfj2-cw2q](https://github.com/advisories/GHSA-4w3g-jfj2-cw2q), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-116585](https://nvd.nist.gov/vuln/detail/CVE-2026-116585), Public domain, modified 2026-10-31

---

Page: https://cve.day/CVE-2026-116585 · Whole record: https://cve.day/CVE-2026-116585.json · Rebuilt by cve.day 2026-11-25T22:59:47.295Z
