Skip to content
Heist/ feed
Back to feed
High

Go JOSE: DoS when parsing JWKs that contain RSA keys

Type: advisorySources: Official CVE List

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.

Products
go-jose
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-116587
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:57 UTC · Revision 1

Source evidence

Go JOSE: DoS when parsing JWKs that contain RSA keys

core-cve · Original source

Published 26 Oct 2026, 21:12 UTC

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.

cve:CVE-2026-116587

go-jose

Fixed versions: Not specified

Complete source record
{
  "id": "d97dcc475e2640db8f3cf05de637edbb91d218d403be5845dcc458651ebb74f4",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-116587",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Go JOSE: DoS when parsing JWKs that contain RSA keys",
    "summary": "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.",
    "evidence": "cve:CVE-2026-116587",
    "products": [
      {
        "name": {
          "value": "go-jose",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-116587",
      "aliases": [
        "CVE-2026-116587"
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 7.5,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "NONE"
          }
        }
      ],
      "affected": [
        {
          "vendor": "go-jose",
          "product": "go-jose",
          "versions": [
            {
              "status": "affected",
              "version": "< 4.1.6"
            }
          ]
        }
      ],
      "modified": "2026-10-27T14:17:50.939Z",
      "provider": "cve",
      "references": [
        "https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q",
        "https://github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230",
        "https://github.com/go-jose/go-jose/releases/tag/v4.1.6"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2026-116587",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-27T13:45:58.881401Z"
                  }
                }
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-27T14:17:50.939Z"
            }
          }
        ],
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-26T21:12:21.326Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-116587",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 392646,
  "published_at": "2026-10-26T21:12:21.326+00:00"
}