Vulnerability · Published Oct 26, 2026 · Assigned by GitHub_M
CVE-2026-116587Go JOSE: DoS when parsing JWKs that contain RSA keys
High 7.5
In plain English
A high-severity resource allocation without limits 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.4% (higher than 31% 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.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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | docker | 29.9.3-r0 | ALPINE-CVE-2026-116587 |
| Debian:13 | golang-github-go-jose-go-jose | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:14 | golang-github-go-jose-go-jose | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:13 | golang-github-go-jose-go-jose.v3 | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:14 | golang-github-go-jose-go-jose.v3 | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:12 | golang-gopkg-square-go-jose.v1 | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:13 | golang-gopkg-square-go-jose.v1 | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:14 | golang-gopkg-square-go-jose.v1 | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:12 | golang-gopkg-square-go-jose.v2 | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:13 | golang-gopkg-square-go-jose.v2 | no fix listed | DEBIAN-CVE-2026-116587 |
| Debian:14 | golang-gopkg-square-go-jose.v2 | no fix listed | DEBIAN-CVE-2026-116587 |
| Go | github.com/go-jose/go-jose/v3 | no fix listed | GHSA-mgcc-cww5-fp2q |
| Go | github.com/go-jose/go-jose/v4 | 4.1.6 | GHSA-mgcc-cww5-fp2q |
| Ubuntu:24.04:LTS | golang-github-go-jose-go-jose | no fix listed | UBUNTU-CVE-2026-116587 |
| Ubuntu:26.10 | golang-github-go-jose-go-jose | no fix listed | UBUNTU-CVE-2026-116587 |
| Ubuntu:26.04:LTS | golang-github-go-jose-go-jose.v3 | no fix listed | UBUNTU-CVE-2026-116587 |
| Ubuntu:26.10 | golang-github-go-jose-go-jose.v3 | no fix listed | UBUNTU-CVE-2026-116587 |
| Ubuntu:22.04:LTS | golang-gopkg-square-go-jose.v2 | no fix listed | UBUNTU-CVE-2026-116587 |
| Ubuntu:24.04:LTS | golang-gopkg-square-go-jose.v2 | no fix listed | UBUNTU-CVE-2026-116587 |
| Ubuntu:26.04:LTS | golang-gopkg-square-go-jose.v2 | no fix listed | UBUNTU-CVE-2026-116587 |
| Ubuntu:26.10 | golang-gopkg-square-go-jose.v2 | no fix listed | UBUNTU-CVE-2026-116587 |
Affected products (as reported)
Weakness: CWE-407, CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q x_refsource_CONFIRM
- https://github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230 x_refsource_MISC
- https://github.com/go-jose/go-jose/releases/tag/v4.1.6 x_refsource_MISC