# CVE-2026-45822: decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input

- Severity: Medium 6.6 (CVSS:4.0, scored by seal) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-02)
- Published: 2026-06-30T08:05:36.399Z
- Modified: 2026-10-25T21:10:00.770Z
- Also known as: GHSA-vcc3-ghjq-m6fr
- Weaknesses: CWE-400, CWE-405, CWE-407, CWE-1176
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: seal

## Description

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.

(As written by CVE List.)

## Affected

- SamVerschueren decode-uri-component: from 0.1.0 before 0.5.0
- decode-uri-component (npm): before 0.5.0

## Every score

- seal: CVSS:4.0 6.6 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js> (web)
- <https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005> (web)
- <https://www.npmjs.com/package/decode-uri-component> (web)
- <https://github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-vcc3-ghjq-m6fr> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45822> (advisory)
- <https://github.com/SamVerschueren/decode-uri-component> (package)
- <https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.0> (web)

## Sources

- CVE List: [CVE-2026-45822](https://www.cve.org/CVERecord?id=CVE-2026-45822), CVE Terms of Use, modified 2026-06-30
- GitHub Advisory Database: [GHSA-vcc3-ghjq-m6fr](https://github.com/advisories/GHSA-vcc3-ghjq-m6fr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-45822](https://nvd.nist.gov/vuln/detail/CVE-2026-45822), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-45822 · Whole record: https://cve.day/CVE-2026-45822.json · Rebuilt by cve.day 2026-11-25T22:59:26.673Z
