PT-2026-25067 · Undici+1 · Undici+1

Adnan Jakati

+2

·

Published

2026-03-12

·

Updated

2026-05-18

·

CVE-2026-2581

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Undici versions prior to 7.24.0
Description This is an uncontrolled resource consumption issue that can lead to a Denial of Service (DoS). When the interceptors.deduplicate() function is enabled in vulnerable versions, response data for deduplicated requests can accumulate in memory for downstream handlers. An attacker-controlled or untrusted upstream endpoint can exploit this with large or chunked responses and concurrent identical requests, causing high memory usage and potential Out Of Memory (OOM) process termination. Impacted users are applications that utilize Undici’s deduplication interceptor against endpoints that may produce large or long-lived response bodies. The issue is addressed by changing the deduplication behavior to stream response chunks to downstream handlers as they arrive, instead of accumulating the full body, and by preventing late deduplication when body streaming has already started.
Recommendations Upgrade to Undici version 7.24.0 or later. Disable the interceptors.deduplicate() function for affected clients or routes. Use skipHeaderNames with a marker header to force high-risk requests to bypass deduplication. Avoid concurrent identical requests to untrusted endpoints that may return very large or chunked bodies. Apply upstream or proxy response-size and timeout limits.

Fix

DoS

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

ALSA-2026:7350
ALSA-2026:7670
ALSA-2026:7675
CLEANSTART-2026-CE10526
CLEANSTART-2026-DV49099
CLEANSTART-2026-GS57401
CLEANSTART-2026-NB51079
CLEANSTART-2026-OW14933
CLEANSTART-2026-SW34937
CVE-2026-2581
GHSA-PHC3-FGPG-7M6H
RHSA-2026:7350
RHSA-2026:7670
RHSA-2026:7675

Affected Products

Rocky Linux
Undici