Panic in Go JOSE CBC-HMAC decryption enables denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Go JOSE versions before 4.1.5 are affected, as are github.com/go-jose/go-jose/v3 versions through 3.0.5. Decrypting untrusted JWE ciphertext with A128CBC-HS256, A192CBC-HS384, or A256CBC-HS512 can pass an empty buffer to CBC-HMAC unpadding, where improper validation of an array index (CWE-129) causes a panic. An attacker who controls the ciphertext an application decrypts can crash that application, causing a denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| go-jose | go-jose | before 4.1.5 | 4.1.5 | Patch available | CNA |
| — | github.com/go-jose/go-jose/v4 (Go) | before 4.1.5 | 4.1.5 | Patch available | GHSA-4w3g-jfj2-cw2q |
| — | github.com/go-jose/go-jose/v3 (Go) | up to 3.0.5 | — | No fix listed | GHSA-4w3g-jfj2-cw2q |
- go-jose Vendorgo-jose Affected before 4.1.5 Fixed in 4.1.5 Patch available CNA
- github.com/go-jose/go-jose/v4 (Go) Vendor— Affected before 4.1.5 Fixed in 4.1.5 Patch available GHSA-4w3g-jfj2-cw2q
- github.com/go-jose/go-jose/v3 (Go) Vendor— Affected up to 3.0.5 Fixed in — No fix listed GHSA-4w3g-jfj2-cw2q
Remediation
Upgrade go-jose and github.com/go-jose/go-jose/v4 to version 4.1.5. The sources list no fixed version for github.com/go-jose/go-jose/v3. Red Hat lists Multicluster Engine for Kubernetes, Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat OpenShift AI (RHOAI) and Red Hat OpenShift Container Platform 4 with no fix available, and OpenShift Service Mesh 3 with no fix planned.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA go-jose (go-jose) Fixed in 4.1.5
- Fix · GHSA-4w3g-jfj2-cw2q github.com/go-jose/go-jose/v4 (Go) Fixed in 4.1.5 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Multicluster Engine for Kubernetes | Affected | No fix yet |
| OpenShift Service Mesh 3 | Affected | No fix planned: Will not fix |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
Not affected: 2 products
- OpenShift Service Mesh 3
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-26 Threatist record created from CVE-2026-116585
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-10-28 Alias added: GHSA-4w3g-jfj2-cw2q
- 2026-10-28 Fix available: Go/github.com/go-jose/go-jose/[email protected] · GHSA-4w3g-jfj2-cw2q
- 2026-10-28 CVSS score added · GHSA-4w3g-jfj2-cw2q
- 2026-10-28 Weakness changed · GHSA-4w3g-jfj2-cw2q
- 2026-10-28 7 new references · GHSA-4w3g-jfj2-cw2q
- 2026-10-29 Affected versions changed · Red Hat
- 2026-10-29 CVSS score added · Red Hat
- 2026-10-31 Affected versions changed · Red Hat
- 2026-10-31 CISA SSVC decision points changed
- 2026-11-06 Affected versions changed · Red Hat
References
Other 6
- https://github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q
- https://github.com/go-jose/go-jose/pull/292
- https://github.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3dd6
- https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54
- https://github.com/go-jose/go-jose/releases/tag/v4.1.5
- https://github.com/go-jose/go-jose
More go-jose vulnerabilities
- TI-2026-80925 Denial of service in go-jose when parsing JWKs with RSA keys CVSS 3.1HIGH 7.5
- TI-2026-80924 Go JOSE: Panics in JSON parsing CVSS 4.0MEDIUM 6.9
- TI-2025-20001 Go JOSE's Parsing Vulnerable to Denial of Service CVSS 4.0MEDIUM 6.6
Sources
- CVE-2026-116585 · CVE Program
- CVE-2026-116585 · NVD
- FIRST EPSS
- GHSA-4w3g-jfj2-cw2q · GitHub Advisory Database · CC BY 4.0
- CVE-2026-116585 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences