CVE-2026-49755: CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) in wojtekmach req
CVE-2026-49755 is a high-severity vulnerability in the wojtekmach Req HTTP client library affecting versions from 0.1.0 before 0.6.1. It involves improper handling of highly compressed data, allowing attacker-controlled HTTP servers to cause excessive memory consumption via decompression-bomb response bodies. The default response processing pipeline decompresses archive formats and chains multiple content-encoding decoders without limiting decompressed size, enabling a small response to expand to multiple gigabytes and crash the BEAM process.
AI Analysis
Technical Summary
The vulnerability arises from Req's default response pipeline steps decode_body/1 and decompress_body/1, which handle decompression of various archive formats and chained content-encoding headers respectively. These steps use Erlang functions :zip.extract and :erl_tar.extract without enforcing per-entry or total decompressed size limits. An attacker controlling the content-type and content-encoding headers can craft responses that decompress to extremely large sizes, causing memory exhaustion and crashing the Req client process. This affects Req versions starting at 0.1.0 up to but not including 0.6.1.
Potential Impact
An attacker can cause a denial of service by sending a maliciously crafted HTTP response that decompresses into a very large payload, exhausting memory on the victim's system and crashing the BEAM process running the Req client. This can disrupt applications relying on Req for HTTP communication, potentially leading to service outages or degraded functionality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is indicated in the provided data. Until a patch is available, users should consider disabling automatic decompression steps or validating response sizes before decompression if possible, or avoid using Req versions prior to 0.6.1 with untrusted servers.
CVE-2026-49755: CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) in wojtekmach req
Description
CVE-2026-49755 is a high-severity vulnerability in the wojtekmach Req HTTP client library affecting versions from 0.1.0 before 0.6.1. It involves improper handling of highly compressed data, allowing attacker-controlled HTTP servers to cause excessive memory consumption via decompression-bomb response bodies. The default response processing pipeline decompresses archive formats and chains multiple content-encoding decoders without limiting decompressed size, enabling a small response to expand to multiple gigabytes and crash the BEAM process.
CVSS v4.0
Score 8.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from Req's default response pipeline steps decode_body/1 and decompress_body/1, which handle decompression of various archive formats and chained content-encoding headers respectively. These steps use Erlang functions :zip.extract and :erl_tar.extract without enforcing per-entry or total decompressed size limits. An attacker controlling the content-type and content-encoding headers can craft responses that decompress to extremely large sizes, causing memory exhaustion and crashing the Req client process. This affects Req versions starting at 0.1.0 up to but not including 0.6.1.
Potential Impact
An attacker can cause a denial of service by sending a maliciously crafted HTTP response that decompresses into a very large payload, exhausting memory on the victim's system and crashing the BEAM process running the Req client. This can disrupt applications relying on Req for HTTP communication, potentially leading to service outages or degraded functionality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is indicated in the provided data. Until a patch is available, users should consider disabling automatic decompression steps or validating response sizes before decompression if possible, or avoid using Req versions prior to 0.6.1 with untrusted servers.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-06-01T13:45:22.448Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a26e46de29bf47b501e531c
Added to database: 06/08/2026, 15:49:01 UTC
Last enriched: 07/30/2026, 07:28:57 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 133
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.