Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-forge
  4. ›
  5. CVE-2026-125333

CVE-2026-125333: Forge: ReDoS in forge.http response header and cookie trimming

November 10, 2026

forge.http trims response header and Set-Cookie values with the regular expression /\s*$/, which takes quadratic time on a long run of whitespace followed by another character. A server or on-path attacker can block a forge.http client for minutes with one large response header. Fixed in node-forge 1.4.3.

References

  • github.com/advisories/GHSA-6cv4-p8m7-4r25
  • github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd
  • github.com/digitalbazaar/forge/pull/1169
  • github.com/digitalbazaar/forge/releases/tag/v1.4.3
  • github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25
  • nvd.nist.gov/vuln/detail/CVE-2026-125333

Code Behaviors & Features

Detect and mitigate CVE-2026-125333 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.1.2 before 1.4.3

Fixed versions

  • 1.4.3

Solution

Upgrade to version 1.4.3 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/node-forge/CVE-2026-125333.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 11 Nov 2026 00:15:45 +0000.