{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.4.0"
              },
              {
                "fixed": "1.4.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "fa385f92440879601240020f158bed68e444e83a"
            }
          ],
          "repo": "https://github.com/digitalbazaar/forge",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ppp5-5v6c-4jwp"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-347"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85393.json"
  },
  "details": "node-forge through 1.4.0 fails to validate element count in nested DigestAlgorithm sequences during RSA PKCS#1 v1.5 signature verification. Attackers can embed garbage bytes inside the DigestAlgorithm sequence to forge valid signatures for arbitrary messages using low-exponent RSA keys. This is an incomplete fix for CVE-2026-33894.",
  "id": "CVE-2026-85393",
  "modified": "2026-09-05T03:30:27.180670086Z",
  "published": "2026-09-03T18:54:25.878Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85393.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-ppp5-5v6c-4jwp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85393"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/node-forge-through-1.4.0-rsa-pkcs-1-1.5-signature-forgery-via-nested-digestalgorithm-padding"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/digitalbazaar/forge/issues/1149"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/digitalbazaar/forge"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/asn1.js"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/rsa.js"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "node-forge through 1.4.0 RSA PKCS#1 v1.5 Signature Forgery via Nested DigestAlgorithm Padding"
}