CVE-2026-49755(wojtekmach / req)

LOWCVSS 7.5 · HIGH

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in wojtekmach Req allows attacker-controlled HTTP servers to exhaust memory in a Req client via decompression-bomb response bodies. Req's default response pipeline includes Req.Steps.decode_body/1 and Req.Steps.decompress_body/1 in lib/req/steps.ex. decode_body/1 dispatches on the server-supplied content-type (or URL extension) and calls :zip.extract(body, [:memory]) for application/zip, :erl_tar.extract({:binary, body}, [:memory]) for application/x-tar, and :erl_tar.extract({:binary, body}, [:memory, :compressed]) for application/gzip / .tgz. Each returns the full decompressed archive contents as a [{name, bytes}] list in memory, with no per-entry or total size cap. decompress_body/1 walks the content-encoding header and chains :zlib/:brotli/:ezstd decoders, so a response advertising content-encoding: gzip, gzip, gzip inflates through multiple layers without bound. Both steps are enabled by default, no caller opt-in is required, and the attacker controls the content-type and content-encoding headers on their own server (or on any host reached via Req's automatic redirect following). A sub-megabyte response can expand to multiple gigabytes on the victim, crashing the BEAM process. This issue affects req: from 0.1.0 before 0.6.1.

0.0/ 10 priority

Sources & remediation

Vendor / third-party advisories
Weakness type (CWE)
CWE-409

Priority

LOW

Exploitation

NONE

PoC

YES

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • req

Threat summary

  • 1 mentions across 1 observed day

What's happening

  • 1 total mentions across 1 day

Affected systems

Vendors
Products
req

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-10-11: 110-11
Full discourse1 post
  • Evadne W.@evadne

    Packmatic 2.1.0 published on Hex. Now we will dogfood it in our own production deployment. • Require Req 0.7.4, including fixes for CVE-2026-49755 and CVE-2026-49756. • Update locked HTTP dependencies, including Finch, Mint, HPAX, Cowboy, Cowlib, Plug and Plug.Cowboy. • Add regression coverage for Zip64 local-header offsets, including offsets beyond 4 GiB. • Update development and test dependencies to their latest compatible stable releases. • Remove Hackney and its supporting dependencies from the lockfile following the Tzdata update. • Encoded streaming Data Descriptor sizes as 64-bit values when required, preserving constituent files larger than 4 GiB in Zip64 archives.

    00010144
    2.1K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appwojtekmachreq---

Explore more