Skip to main content
Public proof of conceptFix available

CVE-2026-125333

Forge: ReDoS in forge.http response header and cookie trimming

A public proof of concept exists; no exploitation attested.

  • Published2026-11-10
  • Fixed in1.4.3
  • WeaknessCWE-1333

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-11-1018:48CVE publishedCNA

Versions per branch

NVD · OSV
Digitalbazaar forge
BranchAffectedFixed in
1.4≥ 0.1.2, < 1.4.31.4.3

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • digitalbazaar forge
    Affected
    • = >= 0.1.2, < 1.4.3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-10

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • arangodb-3.12Chainguardall versions · fixed in 3.12.13-r3
  • argo-workflows-ui-3.6MinimOSall versions · fixed in 3.6.17-r0and 1 other package
  • argo-workflows-ui-3.7MinimOSall versions · fixed in 3.7.8-r0and 1 other package
  • dotstatsuite-supercoreChainguardall versions · fixed in 3.1.0_git20261022-r6
  • dotstatsuite-url-shortenerChainguardall versions · fixed in 2.1.2-r1
  • ghostMinimOSall versions · fixed in 6.64.0-r0
  • gitlab-rails-ce-18.10Chainguardall versions · fixed in 18.10.8-r12
  • gitlab-rails-ce-18.8Chainguardall versions · no fixed version listedand 2 other packages

21 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-125333 Red Hat Product Security47 known affected

    node-forge: node-forge: Denial of Service via inefficient regular expression in HTTP header parsing

    workload-availability/node-healthcheck-must-gather-rhel9 as a component of Node HealthCheck Operator · workload-availability/node-healthcheck-operator-bundle as a component of Node HealthCheck Operator · workload-availability/node-healthcheck-rhel9-operator as a component of Node HealthCheck Operator · +44 more

Full record on NVD

Fix

  1. Update Digitalbazaar forge to 1.4.3
  2. Workaround from the vendor Red Hat Product Security CVE-2026-125333 · 47 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-125333 · 36 productsFix deferred
  4. No fix planned, says the vendor Red Hat Product Security CVE-2026-125333 · 11 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-11-10
Last modified
2026-11-16
NVD status
Analyzed
GitHub advisory
GHSA-6cv4-p8m7-4r25

Frequently asked questions

What is CVE-2026-125333?

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.

Is CVE-2026-125333 actively exploited?

A proof-of-concept exploit exists for CVE-2026-125333, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-125333?

CVE-2026-125333 has a CVSS v3 base score of 5.9 (Medium severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running node-forge? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record