Menu

CVE-2026-118664: CVE-2026-118664: Quadratic Complexity Denial of Service in decode-uri-component
📰

CVE-2026-118664: CVE-2026-118664: Quadratic Complexity Denial of Service in decode-uri-component

DEV Community: cybersecurity·CVE Reports·18 days ago
#upY2FcgB
Reading 0:00
15s threshold

CVE-2026-118664: Quadratic Complexity Denial of Service in decode-uri-component

Vulnerability ID: CVE-2026-118664

CVSS Score: 8.2

Published: 2026-10-29

An inefficient algorithmic complexity vulnerability exists in the npm package decode-uri-component prior to version 0.5.1. When processing malformed URI strings containing invalid percent-escape sequences, the library falls back to a custom decoder that collects distinct percent-encoded runs into a dictionary and executes a full-string regular expression replacement for each entry. Supplying a payload with thousands of distinct percent-encoded sequences alongside a malformed escape triggers quadratic O(K * L) execution time, starving the single-threaded Node.js event loop and resulting in an unauthenticated Denial of Service.

TL;DR

Versions of decode-uri-component prior to 0.5.1 are vulnerable to an algorithmic complexity Denial of Service (CVE-2026-118664).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.