CVEfocus › CVE database › CVE-2026-116587

CVE-2026-116587Go JOSE: DoS when parsing JWKs that contain RSA keys

CVSS 7.5 HighEPSS 0.6% (higher than 45% of CVEs)Published 2026-10-26Updated 2026-10-27Assigner: 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.6, go-jose parses attacker-controlled RSA modulus and prime values from JWKs without enforcing size and consistency bounds before passing them to crypto/rsa.PrivateKey.Validate. On Go 1.24 and later, crafted large or degenerate RSA parameters can make that validation consume cubic CPU time, allowing remote denial of service in applications that parse JWKs from untrusted sources. This issue is fixed in version 4.1.6.

CWE-407CWE-770

What to do

Fixed builds are available from Alpine, 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

2Fixed
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-116587
Ubuntu 26.10golang-github-go-jose-go-jose.v3Fix pendingUBUNTU-CVE-2026-116587
Ubuntu 26.10golang-gopkg-square-go-jose.v2Fix pendingUBUNTU-CVE-2026-116587
Ubuntu 26.04golang-github-go-jose-go-joseFix pendingUBUNTU-CVE-2026-116587
Ubuntu 26.04golang-github-go-jose-go-jose.v3Under investigationUBUNTU-CVE-2026-116587
Ubuntu 26.04golang-gopkg-square-go-jose.v2Under investigationUBUNTU-CVE-2026-116587
Ubuntu 24.04golang-github-go-jose-go-joseUnder investigationUBUNTU-CVE-2026-116587
Ubuntu 24.04golang-gopkg-square-go-jose.v2Under investigationUBUNTU-CVE-2026-116587
Ubuntu 22.04golang-gopkg-square-go-jose.v2Under investigationUBUNTU-CVE-2026-116587
Ubuntu 20.04golang-gopkg-square-go-jose.v2Fix pendingUBUNTU-CVE-2026-116587
Debian 14golang-github-go-jose-go-joseFix pendingDEBIAN-CVE-2026-116587
Debian 14golang-github-go-jose-go-jose.v3Fix pendingDEBIAN-CVE-2026-116587
Debian 14golang-gopkg-square-go-jose.v1Fix pendingDEBIAN-CVE-2026-116587
Debian 14golang-gopkg-square-go-jose.v2Fix pendingDEBIAN-CVE-2026-116587
Debian 13golang-github-go-jose-go-joseFix pendingDEBIAN-CVE-2026-116587
Debian 13golang-github-go-jose-go-jose.v3Fix pendingDEBIAN-CVE-2026-116587
Debian 13golang-gopkg-square-go-jose.v1Fix pendingDEBIAN-CVE-2026-116587
Debian 13golang-gopkg-square-go-jose.v2Fix pendingDEBIAN-CVE-2026-116587
Debian 12golang-gopkg-square-go-jose.v1Fix pendingDEBIAN-CVE-2026-116587
Debian 12golang-gopkg-square-go-jose.v2Fix pendingDEBIAN-CVE-2026-116587
Alpine Linux 3.24dockerFixed29.9.3-r0ALPINE-CVE-2026-116587
Go librarygithub.com/go-jose/go-jose/v3Fix pendingGHSA-mgcc-cww5-fp2q
Go librarygithub.com/go-jose/go-jose/v4Fixed4.1.6GHSA-mgcc-cww5-fp2q

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.