Bug 2563616 (CVE-2026-118664)

Summary: CVE-2026-118664 decode-uri-component: decode-uri-component: Denial of Service via malformed percent-encoded input
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: akhatavk, amctagga, anujha, aoconnor, aos-team-art-private, aruklets, aschwart, asdas, asoldano, aszczucz, bbaranow, bcaton, bmaxwell, bniver, boliveir, bstansbe, dhanak, dlofthou, doconnor, dpaolell, drichtar, drosa, dsimansk, ehelms, flucifre, fmariani, gmalinko, gmeno, groman, istudens, ivassile, iweiss, janstey, jbaesner, jdelft, jkrystof, jpasqual, jupierce, juwatts, jwon, kaycoth, kingland, lblicha, lchilton, lgarciaa, mbenjamin, mbiarnes, mcarlett, mhackett, mhulan, mnovotny, mosmerov, mposolda, msvehla, mwringe, nwallace, ogajduse, osousa, pberan, pdelbell, pesilva, pjindal, pmackay, ppalepu, ppostler, prdhamdh, rchan, rhel-process-autobot, rmartinc, rstancel, rstepani, sausingh, sfeifer, sghai, shudeshp, sidsharm, smallamp, sostapov, ssilvert, sthorger, suppawar, tcunning, thjenkin, tmielke, tzimanyi, vdosoudi, vereddy, vlaad, vmuzikar, watson-tool-maintainers, yfang, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in decode-uri-component. A remote attacker can trigger a Denial of Service (DoS) by sending crafted input containing numerous malformed percent-encoded sequences. When processing this input, an inefficient fallback decoding routine consumes excessive processor resources and blocks the application event loop. This prevents the application from handling incoming traffic, rendering the service unresponsive to all users.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2583129, 2583131, 2583132, 2583133, 2583135, 2583130, 2583134    
Bug Blocks:    

Description OSIDB Bzimport 2026-10-29 18:25:40 UTC
decode-uri-component provides a more robust alternative to decodeURIComponent. Prior to 0.5.1, decodeUriComponent in index.js falls back to customDecodeURIComponent after native decoding throws, and the fallback collects every distinct percent-encoded run before performing a full-string regular-expression replacement for each entry. Malformed input containing many distinct runs can therefore make both the number of replacements and the scanned input length grow together, causing quadratic CPU consumption and blocking the Node.js event loop; request-body inputs can reach the demonstrated size, while ordinary URL header limits reduce the practical delay. This issue is fixed in version 0.5.1.