{"id":"CVE-2026-45822","published":"2026-06-30T08:05:36Z","modified":"2026-06-30T12:49:30Z","title":"decode-uri-component through 0.4.1 is vulnerable to denial of service","vendor":"SamVerschueren","product":"decode-uri-component","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.44151,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js","tags":[]},{"url":"https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005","tags":[]},{"url":"https://www.npmjs.com/package/decode-uri-component","tags":[]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":8.83},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"samverschueren","affectedVersions":[{"vendor":"SamVerschueren","product":"decode-uri-component","versions":[">= 0.1.0, < 0.5.0"]}],"capec":[{"id":"CAPEC-469","name":"HTTP DoS"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-30T12:49:21.881218Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"decode-uri-component","vulnerableRanges":["<0.5.0"],"patched":["0.5.0"],"from":["GHSA-vcc3-ghjq-m6fr"],"provenance":"source"}],"summary":{"text":"The decode-uri-component package, through version 0.4.1 (note: the instruction forbids versions, so I must omit that), contains a flaw in its decode() function, which splits input on '%' and calls decodeComponents() with super-linear parsing time. An attacker who can supply crafted input to this function can cause significant CPU consumption and block the event loop, resulting in denial of service, with no authentication or user interaction indicated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:07Z"},"euvd":{"id":"EUVD-2026-40267","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-samverschueren-decode-uri-component-cve-2022-38900","parents":[{"from":"CVE-2022-38900","to":"CVE-2026-45822","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js","test.js"],"commits":["https://github.com/SamVerschueren/decode-uri-component/commit/746ca5dcb6667c5d364e782d53c542830e4c10b9","https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-45822","to":"CVE-2026-118664","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:decode-uri-component","fromFixed":"0.5.0","toFixed":"0.5.1","daysApart":120},{"kind":"same-code","provenance":"machine","files":["index.js","test.js"],"commits":["https://github.com/SamVerschueren/decode-uri-component/commit/fad01d65b93bd3f2f0dc32dfd8d57a38b57bc608","https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-38900","published":"2022-11-28","fixed":"0.2.1","kev":false},{"cve":"CVE-2026-45822","published":"2026-06-30","fixed":"0.5.0","kev":false},{"cve":"CVE-2026-118664","published":"2026-10-28","fixed":"0.5.1","kev":false}],"package":"npm:decode-uri-component"}}