Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-118779— Forge: Regular expression denial of service in PEM decoding (pem.decode)

Quick assessment

Affected
digitalbazaar forge
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Forge(也称为 node-forge)是用 JavaScript 原生实现的传输层安全(TLS)库。在 1.4.1 版本之前,受影响的实现在调用 (位于 )处理相关输入或进行安全决策时,未能正确验证是否存在 END 行。node-forge 在 中使用了多项式时间复杂度的正则表达式,包括在搜索匹配的 END 行以及解析封装头(encapsulated headers)时。若攻击者能够向任意高级解析器提供 PEM 格式的输入,便可利用一条精心构造的超长畸形消息消耗大量 CPU 资源,从而导致拒绝服务(DoS)攻击

CVSS 7.5 · High

Possible ATT&CK Techniques 1 AI

T1499.003 · Application Exhaustion Flood

Affected Version Matrix 1

VendorProduct Version RangeStatus
digitalbazaar forge < 1.4.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-118779

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Forge: Regular expression denial of service in PEM decoding (pem.decode)
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
digitalbazaar forge < 1.4.1 -

II. Public POCs for CVE-2026-118779

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-118779

请登录查看更多情报信息。

Other References for CVE-2026-118779 (3)

Same Patch Batch · digitalbazaar · 2026-10-29 · 15 CVEs total

CVE-2026-118782 7.5 HIGH Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count
CVE-2026-119188 7.5 HIGH Forge: Denial of service in TLS record processing via a record interleaved with a fragment
CVE-2026-119191 7.5 HIGH Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
CVE-2026-119187 7.5 HIGH Forge: Denial of service in TLS record processing via call stack exhaustion
CVE-2026-119190 7.4 HIGH Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension
CVE-2026-118778 5.9 MEDIUM Forge: TLS client crash when the server sends no certificate
CVE-2026-119186 5.9 MEDIUM Forge: AES-GCM authentication bypass via unvalidated tagLength option
CVE-2026-119189 5.9 MEDIUM Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificate
CVE-2026-118777 4.8 MEDIUM Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie
CVE-2026-118774 3.7 LOW Forge: Certificate signature verified with the issuer's RSA signature scheme
CVE-2026-118780 3.7 LOW Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from
CVE-2026-118775 3.7 LOW Forge: ASN.1 OID first arc truncation in asn1.oidToDer
CVE-2026-118776 3.7 LOW Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption
CVE-2026-118781 2.9 LOW Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input

IV. Related Vulnerabilities