{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-118779",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-10-28T19:20:05.018Z",
        "datePublished": "2026-10-29T18:45:55.093Z",
        "dateUpdated": "2026-10-29T18:45:55.093Z"
    },
    "containers": {
        "cna": {
            "title": "Forge: Regular expression denial of service in PEM decoding (pem.decode)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-400",
                            "lang": "en",
                            "description": "CWE-400: Uncontrolled Resource Consumption",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1333",
                            "lang": "en",
                            "description": "CWE-1333: Inefficient Regular Expression Complexity",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x"
                },
                {
                    "name": "https://github.com/digitalbazaar/forge/commit/412345db583cd28a9d23636d0d93e9f751b935f3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/digitalbazaar/forge/commit/412345db583cd28a9d23636d0d93e9f751b935f3"
                },
                {
                    "name": "https://github.com/digitalbazaar/forge/releases/tag/v1.4.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/digitalbazaar/forge/releases/tag/v1.4.1"
                }
            ],
            "affected": [
                {
                    "vendor": "digitalbazaar",
                    "product": "forge",
                    "versions": [
                        {
                            "version": "< 1.4.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-29T18:45:55.093Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-7wch-p9px-956x",
                "discovery": "UNKNOWN"
            }
        }
    }
}