<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 30 Oct 2026 13:36:59 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-118664</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-118664</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-118664</guid>
    </item>
    <item>
      <title>GHSA-qr28-fpjm-wq7f — decode-uri-component vulnerable to denial of service via quadratic replacement of percent-encoded runs</title>
      <link>https://db.gcve.eu/vuln/ghsa-qr28-fpjm-wq7f</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: decode-uri-component&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`decodeUriComponent()` takes quadratic time on malformed input that has many distinct percent-encoded runs. A single unauthenticated request of about 224 KB can block the Node.js event loop for about 20 seconds. Version 0.5.0, the release that fixed CVE-2026-45822, is affected.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;When native decodeURIComponent throws, `decodeUriComponent()` falls back to `customDecodeURIComponent` (`index.js:122`). That function:
1. Scans the input for every run of percent-encoded bytes (e.g. `%C3%A5`) and stores each distinct run, with its decoded value, in a lookup table (`index.js:130-144`).
2. Runs one full-string `input.replace(new RegExp(key, &amp;#39;g&amp;#39;), …)` per table entry (`index.js:154`).&lt;/p&gt;
&lt;p&gt;With K distinct runs in an input of length L, that&amp;#39;s K regex compilations and K full scans of the string, so O(K·L). An attacker controls both K and L, and K grows with L. One malformed sequence such as a trailing `%zz` is enough to force the fallback path.&lt;/p&gt;
&lt;p&gt;The 0.5.0 fix for CVE-2026-45822 (`fa479da`) replaced the recursive `decode()` routine with a linear scanner, but left this replacement loop unchanged.&lt;/p&gt;
&lt;p&gt;### Proof of concept&lt;/p&gt;
&lt;p&gt;Running the following code takes ~20 seconds.&lt;/p&gt;
&lt;p&gt;```js
import decodeUriComponent from &amp;#39;decode-uri-component&amp;#39;;&lt;/p&gt;
&lt;p&gt;let payload = &amp;#39;&amp;#39;;
for (let i = 0; i &amp;lt; 32000; i++) {
	const high = Math.floor(i / 256).toString(16).padStart(2, &amp;#39;0&amp;#39;);
	const low = (i % 256).toString(16).padStart(2, &amp;#39;0&amp;#39;);
	payload += `%${high}%${low}x`; // distinct run each iteration
}
payload +=…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: decode-uri-component&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`decodeUriComponent()` takes quadratic time on malformed input that has many distinct percent-encoded runs. A single unauthenticated request of about 224 KB can block the Node.js event loop for about 20 seconds. Version 0.5.0, the release that fixed CVE-2026-45822, is affected.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;When native decodeURIComponent throws, `decodeUriComponent()` falls back to `customDecodeURIComponent` (`index.js:122`). That function:
1. Scans the input for every run of percent-encoded bytes (e.g. `%C3%A5`) and stores each distinct run, with its decoded value, in a lookup table (`index.js:130-144`).
2. Runs one full-string `input.replace(new RegExp(key, &amp;#39;g&amp;#39;), …)` per table entry (`index.js:154`).&lt;/p&gt;
&lt;p&gt;With K distinct runs in an input of length L, that&amp;#39;s K regex compilations and K full scans of the string, so O(K·L). An attacker controls both K and L, and K grows with L. One malformed sequence such as a trailing `%zz` is enough to force the fallback path.&lt;/p&gt;
&lt;p&gt;The 0.5.0 fix for CVE-2026-45822 (`fa479da`) replaced the recursive `decode()` routine with a linear scanner, but left this replacement loop unchanged.&lt;/p&gt;
&lt;p&gt;### Proof of concept&lt;/p&gt;
&lt;p&gt;Running the following code takes ~20 seconds.&lt;/p&gt;
&lt;p&gt;```js
import decodeUriComponent from &amp;#39;decode-uri-component&amp;#39;;&lt;/p&gt;
&lt;p&gt;let payload = &amp;#39;&amp;#39;;
for (let i = 0; i &amp;lt; 32000; i++) {
	const high = Math.floor(i / 256).toString(16).padStart(2, &amp;#39;0&amp;#39;);
	const low = (i % 256).toString(16).padStart(2, &amp;#39;0&amp;#39;);
	payload += `%${high}%${low}x`; // distinct run each iteration
}
payload +=…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-qr28-fpjm-wq7f</guid>
    </item>
  </channel>
</rss>
