Security mailing lists by PureSourceCode

CVE-2026-45822

MEDIUM 6.6CVSS 4.0

decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input

decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input.

Published
30 Jun 2026
Last modified
25 Oct 2026
Assigned by
22e2d327-25fe-45d7-9f0c-dcd23b7108df
NVD status
Deferred
Weakness
CWE-1176CWE-400CWE-405CWE-407
Also known as
GHSA-vcc3-ghjq-m6fr
Sources
NVDJSONOSV GHSA-vcc3-ghjq-m6frJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 22e2d327-25fe-45d7-9f0c-dcd23b7108df (Secondary) CVSS 4.0 MEDIUM 6.6 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:D/RE:M/U:Amber
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/S:N/AU:Y/R:U/V:D/RE:M/U:Amber

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm decode-uri-component < 0.5.0 0.5.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 30 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.