nday
CVE-2026-125333 GHSA-6cv4-p8m7-4r25

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

digitalbazaar / forge

Divulgation : . Version corrigée : node-forge 1.4.3. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

resource exhaustion
CWE-1333, stated by the CNA GitHub_M, NVD, republishing [email protected] et GitHub advisory GHSA-6cv4-p8m7-4r25
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-6cv4-p8m7-4r25: npm packages node-forge
étape actuelle
PAT
divulgation
CVSS
5.9 MEDIUM v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-10T18:48Z
PATcorrectif
node-forge 1.4.3
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 5.9, gravité moyenne. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "id": 8319,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-125333",
  "occurred_at": "2026-11-10T18:48:26.003Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "version": "3.1",
      "base_score": 5.9,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-10T21:00:54.706725Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-10T18:48:26.003Z",
    "assigner_short_name": "GitHub_M"
  }
}
date inconnuela source ne donne aucune date
+PATcorrectif disponible

L’avis indique la version corrigée node-forge 1.4.3. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-6cv4-p8m7-4r25 · importé en masse par nday le · brut
{
  "id": 18906,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-6cv4-p8m7-4r25",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-6cv4-p8m7-4r25",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.9,
        "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Inefficient Regular Expression Complexity",
        "cwe_id": "CWE-1333"
      }
    ],
    "ghsa_id": "GHSA-6cv4-p8m7-4r25",
    "packages": [
      {
        "name": "node-forge",
        "ecosystem": "npm",
        "first_patched_version": "1.4.3",
        "vulnerable_version_range": ">= 0.1.2, <= 1.4.2"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25",
      "https://github.com/digitalbazaar/forge/pull/1169",
      "https://github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd",
      "https://github.com/digitalbazaar/forge/releases/tag/v1.4.3",
      "https://github.com/advisories/GHSA-6cv4-p8m7-4r25"
    ],
    "fix_commit_urls": [
      "https://github.com/digitalbazaar/forge/pull/1169",
      "https://github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd"
    ],
    "github_reviewed_at": "2026-11-10T21:16:22Z",
    "advisory_updated_at": "2026-11-10T21:16:23Z",
    "source_code_location": "https://github.com/digitalbazaar/forge",
    "advisory_published_at": "2026-11-10T21:16:22Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.