Vulnerability · Published Oct 26, 2026 · Assigned by GitHub_M
CVE-2026-116585Go JOSE: Panic during CBC-HMAC processing
Medium 6.9
In plain English
A medium-severity security flaw in go-jose from go-jose. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | golang-github-go-jose-go-jose | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:14 | golang-github-go-jose-go-jose | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:13 | golang-github-go-jose-go-jose.v3 | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:14 | golang-github-go-jose-go-jose.v3 | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:12 | golang-gopkg-square-go-jose.v1 | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:13 | golang-gopkg-square-go-jose.v1 | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:14 | golang-gopkg-square-go-jose.v1 | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:12 | golang-gopkg-square-go-jose.v2 | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:13 | golang-gopkg-square-go-jose.v2 | no fix listed | DEBIAN-CVE-2026-116585 |
| Debian:14 | golang-gopkg-square-go-jose.v2 | no fix listed | DEBIAN-CVE-2026-116585 |
| Go | github.com/go-jose/go-jose/v3 | no fix listed | GHSA-4w3g-jfj2-cw2q |
| Go | github.com/go-jose/go-jose/v4 | 4.1.5 | GHSA-4w3g-jfj2-cw2q |
| Ubuntu:24.04:LTS | golang-github-go-jose-go-jose | no fix listed | UBUNTU-CVE-2026-116585 |
| Ubuntu:26.10 | golang-github-go-jose-go-jose | no fix listed | UBUNTU-CVE-2026-116585 |
| Ubuntu:26.04:LTS | golang-github-go-jose-go-jose.v3 | no fix listed | UBUNTU-CVE-2026-116585 |
| Ubuntu:26.10 | golang-github-go-jose-go-jose.v3 | no fix listed | UBUNTU-CVE-2026-116585 |
| Ubuntu:22.04:LTS | golang-gopkg-square-go-jose.v2 | no fix listed | UBUNTU-CVE-2026-116585 |
| Ubuntu:24.04:LTS | golang-gopkg-square-go-jose.v2 | no fix listed | UBUNTU-CVE-2026-116585 |
| Ubuntu:26.04:LTS | golang-gopkg-square-go-jose.v2 | no fix listed | UBUNTU-CVE-2026-116585 |
| Ubuntu:26.10 | golang-gopkg-square-go-jose.v2 | no fix listed | UBUNTU-CVE-2026-116585 |
Affected products (as reported)
Weakness: CWE-129 · Vector: 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 x_refsource_CONFIRM
- https://github.com/go-jose/go-jose/pull/292 x_refsource_MISC
- https://github.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3dd6 x_refsource_MISC
- https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54 x_refsource_MISC
- https://github.com/go-jose/go-jose/releases/tag/v4.1.5 x_refsource_MISC