Intel

AIKIDO-2026-274460

raw-body is vulnerable to Allocation of Resources Without Limits or Throttling

Allocation of Resources Without Limits or Throttling Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 13, 2026

37

Low Risk

This Affects:

JSraw-body
0.0.1 - 3.0.2
Fixed in 4.0.0
Are you affected? Scan for Free

TL;DR

raw-body accepts a limit option to cap how many bytes are read from a stream. When limit is set to an unparseable value such as an invalid size string or NaN, parsing yields no usable byte count and size enforcement is skipped. The reader then buffers the full stream without the intended cap, which can exhaust memory or CPU and deny service. The fix rejects invalid limit values with a TypeError instead of silently disabling the limit; limit: null remains the explicit way to disable it.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes an invalid or unparseable value to the limit option.

Background info

raw-body is vulnerable to Allocation of Resources Without Limits or Throttling in versions 0.0.1 - 3.0.2.

How to fix this

Upgrade the raw-body library to the patch version.