{
  "id": "CVE-2026-118779",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-118779",
  "published_at": "2026-10-29T18:45:55.093Z",
  "title": "Forge: Regular expression denial of service in PEM decoding (pem.decode)",
  "vendor": "digitalbazaar",
  "product": "forge",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used pem.decode(), lib/pem.js, missing END line to process the relevant input or security decision. node-forge used polynomial-time regular expressions in pem.decode(), including when searching for a matching END line and parsing encapsulated headers. An unauthenticated attacker able to supply PEM input to any high-level parser could consume excessive CPU with a long malformed message and cause denial of service. This issue is fixed in version 1.4.1.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "digitalbazaar",
        "product": "forge",
        "ranges": [
          "\u003c 1.4.1"
        ],
        "fixed_in": [
          "1.4.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade forge to 1.4.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/digitalbazaar/forge/commit/412345db583cd28a9d23636d0d93e9f751b935f3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/digitalbazaar/forge/releases/tag/v1.4.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
