CVEfocus › CVE database › CVE-2026-116585

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

CVSS 6.9 MediumEPSS 0.3% (higher than 19% of CVEs)Published 2026-10-26Updated 2026-10-31Assigner: GitHub_M

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.

CWE-129

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Debian, Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
16Fix pending
5Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-go-jose-go-joseFix pendingUBUNTU-CVE-2026-116585
Ubuntu 26.10golang-github-go-jose-go-jose.v3Fix pendingUBUNTU-CVE-2026-116585
Ubuntu 26.10golang-gopkg-square-go-jose.v2Fix pendingUBUNTU-CVE-2026-116585
Ubuntu 26.04golang-github-go-jose-go-joseFix pendingUBUNTU-CVE-2026-116585
Ubuntu 26.04golang-github-go-jose-go-jose.v3Under investigationUBUNTU-CVE-2026-116585
Ubuntu 26.04golang-gopkg-square-go-jose.v2Under investigationUBUNTU-CVE-2026-116585
Ubuntu 24.04golang-github-go-jose-go-joseUnder investigationUBUNTU-CVE-2026-116585
Ubuntu 24.04golang-gopkg-square-go-jose.v2Under investigationUBUNTU-CVE-2026-116585
Ubuntu 22.04golang-gopkg-square-go-jose.v2Under investigationUBUNTU-CVE-2026-116585
Ubuntu 20.04golang-gopkg-square-go-jose.v2Fix pendingUBUNTU-CVE-2026-116585
Debian 14golang-github-go-jose-go-joseFix pendingDEBIAN-CVE-2026-116585
Debian 14golang-github-go-jose-go-jose.v3Fix pendingDEBIAN-CVE-2026-116585
Debian 14golang-gopkg-square-go-jose.v1Fix pendingDEBIAN-CVE-2026-116585
Debian 14golang-gopkg-square-go-jose.v2Fix pendingDEBIAN-CVE-2026-116585
Debian 13golang-github-go-jose-go-joseFix pendingDEBIAN-CVE-2026-116585
Debian 13golang-github-go-jose-go-jose.v3Fix pendingDEBIAN-CVE-2026-116585
Debian 13golang-gopkg-square-go-jose.v1Fix pendingDEBIAN-CVE-2026-116585
Debian 13golang-gopkg-square-go-jose.v2Fix pendingDEBIAN-CVE-2026-116585
Debian 12golang-gopkg-square-go-jose.v1Fix pendingDEBIAN-CVE-2026-116585
Debian 12golang-gopkg-square-go-jose.v2Fix pendingDEBIAN-CVE-2026-116585
Go librarygithub.com/go-jose/go-jose/v3Fix pendingGHSA-4w3g-jfj2-cw2q
Go librarygithub.com/go-jose/go-jose/v4Fixed4.1.5GHSA-4w3g-jfj2-cw2q

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.