Go
CVE-2026-116585
Go JOSE: Panic during CBC-HMAC processing
- Severity
- Medium
- Published
- 28 Oct 2026
- Last changed
- 28 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.1.5
- Exploit chance
- 0.3% in the next 30 daysHigher than 25% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- CWE-129
- Also known as
- GHSA-4w3g-jfj2-cw2q
- Sources
- OSV.dev and GitHub
Description
Decrypting a ciphertext with "A128CBC-HS256", "A192CBC-HS384", or "A256CBC-HS512" can result in a panic on untrusted input.
Note this advisory is the same as https://github.com/go-jose/go-jose/security/advisories/GHSA-6mp9-8xrw-74r4.
Insufficient validation of parameters can lead to attempting to index into an empty buffer. See https://github.com/go-jose/go-jose/pull/292.
Denial of service vulnerability. Any application which decrypts untrusted ciphertexts with the indicated algorithms is affected.
Workarounds
If the application does not require the CBC-HMAC modes for content encryption, and is using github.com/go-jose/go-jose/v4, do not include them in the list of ContentEncryption algorithms passed to ParseEncrypted / ParseEncryptedJSON / ParseEncryptedCompact.
Affected software
| Software | Affected versions |
|---|---|
github.com/go-jose/go-jose/v3Go · osv:Go:github.com/go-jose/go-jose/v3 |
|
github.com/go-jose/go-jose/v4Go · osv:Go:github.com/go-jose/go-jose/v4 |
|
About github.com/go-jose/go-jose/v3
Vulnerabilities in github.com/go-jose/go-jose/v3
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-116586Go JOSE: Panics in JSON parsingMedium 28 Oct 2026
- CVE-2026-116587Go JOSE: DoS when parsing JWKs that contain RSA keysHigh 7.5 27 Oct 2026
About github.com/go-jose/go-jose/v4
Vulnerabilities in github.com/go-jose/go-jose/v4
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-116586Go JOSE: Panics in JSON parsingMedium 28 Oct 2026
- CVE-2026-116587Go JOSE: DoS when parsing JWKs that contain RSA keysHigh 7.5 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116585
- GitHub Advisory Database https://github.com/advisories/GHSA-4w3g-jfj2-cw2q