{"id":"CVE-2026-45822","aliases":["CVE-2026-45822","GHSA-vcc3-ghjq-m6fr"],"related":[],"kind":"vulnerability","state":"published","title":"decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn attacker who can supply input to `decodeUriComponent()` (directly or via a dependency that uses this package on URL/query/path data) can cause excessive CPU usage and application unresponsiveness. This is an availability issue; there is no known memory corruption, data disclosure, or remote code execution impact.\n\n### Patches\nUpgrade to `decode-uri-component@0.5.0`.\n\n### Workarounds\nLimit the size of the input.","format":"markdown","source":"ghsa"},{"lang":"es","text":"decode-uri-component hasta la versión 0.4.1 es vulnerable a denegación de servicio. La función decode() divide la entrada por ’%’ produciendo N tokens y llama a decodeComponents(), exhibiendo un tiempo de análisis superlineal: 200 tokens ’%ab’ tardan aproximadamente 0.7s, 700 tokens aproximadamente 6s, y 1400 tokens aproximadamente 33s. Un atacante puede causar un consumo significativo de CPU y el bloqueo del bucle de eventos mediante una entrada manipulada.","source":"nvd"}],"published":"2026-06-30T08:05:36.399Z","modified":"2026-10-25T21:10:00.770Z","severity":{"scorer":"seal","scheme":"CVSS:4.0","vector":"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","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"seal","scheme":"CVSS:4.0","vector":"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","score":6.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-400","CWE-405","CWE-407","CWE-1176"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"0.5.0","status":"affected"}],"vendor":"SamVerschueren","product":"decode-uri-component","platforms":["Linux","macOS","Windows"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.5.0"}],"ecosystem":"npm","package":"decode-uri-component","purl":"pkg:npm/decode-uri-component","source":"ghsa"}],"references":[{"url":"https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.npmjs.com/package/decode-uri-component","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-vcc3-ghjq-m6fr","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45822","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/SamVerschueren/decode-uri-component","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.0","tags":["web"],"sources":["ghsa"]}],"credits":["Seal Security"],"assigner":"seal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-30T12:49:21.881Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45822","url":"https://www.cve.org/CVERecord?id=CVE-2026-45822","licence":"CVE Terms of Use","modified":"2026-06-30T12:49:30.364Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vcc3-ghjq-m6fr","url":"https://github.com/advisories/GHSA-vcc3-ghjq-m6fr","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:14.713Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45822","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45822","licence":"Public domain","modified":"2026-10-25T21:10:00.770Z"}],"updatedAt":"2026-11-25T22:59:26.673Z","epss":{"score":0.00403,"percentile":0.36693,"date":"2026-12-02T12:00:21.000Z"}}