Read the docs

Inefficient regex in Forge HTTP response header trimming

Priority MEDIUM 60CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 17 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

Forge and node-forge from 0.1.2 before 1.4.3 are affected. forge.http trims whitespace from response header values and cookie values with a regular expression that can take quadratic time (CWE-1333), so an attacker controlling a server can send a long whitespace run that blocks the event loop or browser tab for minutes. Only applications using forge.http with a socket pool to an untrusted server are affected. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. From 0.1.2 until 1.4.3, forge.http uses _trimString() in lib/http.js to remove trailing whitespace from response header values and cookie names and values with a regular expression that can take quadratic time. A malicious server or on-path attacker can supply a long whitespace run followed by a non-whitespace character in a response header, causing response.readHeader() or response.getCookies() to repeatedly scan the input and block the Node.js event loop or browser tab for minutes. Applications are affected only when they use forge.http with a socket pool to communicate with an untrusted server; forge.http is not loaded by require('node-forge'), and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00559 47th percentileScored 2026-11-16
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial forge (digitalbazaar): 1.4.3node-forge (npm): 1.4.3Red Hat: 17 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
digitalbazaarforge0.1.2 to before 1.4.31.4.3Patch availableCNA
—node-forge (npm)0.1.2 to before 1.4.31.4.3Patch availableGHSA-6cv4-p8m7-4r25
  • forge Vendordigitalbazaar Affected 0.1.2 to before 1.4.3 Fixed in 1.4.3 Patch available CNA
  • node-forge (npm) Vendor— Affected 0.1.2 to before 1.4.3 Fixed in 1.4.3 Patch available GHSA-6cv4-p8m7-4r25

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*0.1.2 to before 1.4.3Vulnerabledigitalbazaar
  • cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* Versions 0.1.2 to before 1.4.3 Vulnerable ·digitalbazaar

Remediation

Upgrade digitalbazaar forge and npm node-forge to 1.4.3. Red Hat lists Node HealthCheck Operator, OpenShift Service Mesh 3, Red Hat Ansible Automation Platform 2 and Red Hat Ceph Storage 4 as affected with no fix planned. Red Hat lists OpenShift Pipelines, OpenShift Serverless, Red Hat 3scale API Management Platform 2, Red Hat Connectivity Link 1, Red Hat Developer Hub 1, Red Hat Developer Hub 2, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux AI (RHEL AI) 3 and Red Hat OpenShift AI (RHOAI) as affected with no fix available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA forge (digitalbazaar) Fixed in 1.4.3
  • Fix · GHSA-6cv4-p8m7-4r25 node-forge (npm) Fixed in 1.4.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Node HealthCheck OperatorAffectedNo fix planned: Out of support scope
OpenShift PipelinesAffectedNo fix yet: Fix deferred
OpenShift ServerlessAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 3AffectedNo fix planned: Out of support scope
Red Hat 3scale API Management Platform 2AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix planned: Out of support scope
Red Hat Ceph Storage 4AffectedNo fix planned: Out of support scope
Red Hat Connectivity Link 1AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat Quay 3AffectedNo fix planned: Out of support scope
Self-service automation portal 2AffectedNo fix yet: Fix deferred
Not affected: 9 products
  • Red Hat AMQ Broker 7
  • Red Hat Ansible Automation Platform 2
  • Red Hat Build of Podman Desktop
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Fuse 7
  • Red Hat Hardened Images
  • Red Hat build of Apache Camel for Spring Boot 4

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-125333
  2. 2026-11-10 CISA SSVC decision points changed
  3. 2026-11-10 Alias added: GHSA-6cv4-p8m7-4r25
  4. 2026-11-10 Fix available: npm/[email protected] · GHSA-6cv4-p8m7-4r25
  5. 2026-11-10 CVSS score added · GHSA-6cv4-p8m7-4r25
  6. 2026-11-10 Weakness changed · GHSA-6cv4-p8m7-4r25
  7. 2026-11-10 5 new references · GHSA-6cv4-p8m7-4r25
  8. 2026-11-11 Affected versions changed · Red Hat
  9. 2026-11-11 CVSS score added · Red Hat

References

  • TI-2026-26254 Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation) CVSS 3.1CRITICAL 9.1
  • TI-2026-82739 Resource exhaustion in Forge ASN.1 parsing via nested BIT STRINGs CVSS 3.1HIGH 7.5
  • TI-2026-82735 Recursive TLS record processing in Forge enables denial of service CVSS 3.1HIGH 7.5
  • TI-2026-82733 Forge PKCS#12 input can bypass password integrity checks CVSS 3.1HIGH 7.5
  • TI-2026-82730 Regular expression denial of service in Forge PEM decoding CVSS 3.1HIGH 7.5
  • TI-2026-26253 Forge has signature forgery in Ed25519 due to missing S > L check CVSS 3.1HIGH 7.5
See all 31 →

Sources