Skip to content
Heist/ feed
Back to feed
Medium

Go JOSE: Panic during CBC-HMAC processing

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.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.

Products
go-jose
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-116585
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 22:52 UTC · Revision 1

Source evidence

Go JOSE: Panic during CBC-HMAC processing

core-cve · Original source

Published 26 Oct 2026, 21:06 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.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.

cve:CVE-2026-116585

go-jose

Fixed versions: Not specified

Complete source record
{
  "id": "9a67118e1c7da67c50c62a742915b126be114d4fd6757f70e9acc32cd6b4ceb3",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-116585",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Go JOSE: Panic during CBC-HMAC processing",
    "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.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.",
    "evidence": "cve:CVE-2026-116585",
    "products": [
      {
        "name": {
          "value": "go-jose",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-116585",
      "aliases": [
        "CVE-2026-116585"
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 6.9,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "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",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "LOW",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE"
          }
        }
      ],
      "affected": [
        {
          "vendor": "go-jose",
          "product": "go-jose",
          "versions": [
            {
              "status": "affected",
              "version": "< 4.1.5"
            }
          ]
        }
      ],
      "modified": "2026-10-26T21:06:35.189Z",
      "provider": "cve",
      "references": [
        "https://github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q",
        "https://github.com/go-jose/go-jose/pull/292",
        "https://github.com/go-jose/go-jose/commit/35883f7999e87cbd1b1f4cda07fdad8cd71c3dd6",
        "https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54",
        "https://github.com/go-jose/go-jose/releases/tag/v4.1.5"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-26T21:06:35.189Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-116585",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 348517,
  "published_at": "2026-10-26T21:06:35.189+00:00"
}