Home / wojtekmach / req / CVE-2026-49755
CVE-2026-49755: is it exploited, and which versions of wojtekmach req are affected and fixed?
CVE-2026-49755 is an improper Handling of Highly Compressed Data (Data Amplification) vulnerability in wojtekmach req. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: req from 0.1.0 before 0.6.1 (GitHub advisory GHSA-655f-mp8p-96gv). Fixed in 0.6.1 (GitHub advisory GHSA-655f-mp8p-96gv). Severity: High (8.2, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 20, 2026, 08:46 UTC and NVD November 20, 2026, 10:04 UTC.
What is CVE-2026-49755?
Decompression bomb DoS in Req via auto-decoded archive and compressed response bodies
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.
From the CVE record by EEF, last updated November 20, 2026, 08:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| wojtekmach | req | from 0.1.0 before 0.6.1 | 0.6.1 |
| wojtekmach | req wojtekmach/req | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Hex | req | >= 0.1.0, < 0.6.1 | 0.6.1 | GHSA-655f-mp8p-96gv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 29, 2026. Summary: Req vulnerable to unbounded archive/compression extraction triggered by response content-type.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| wojtekmach | req | from 0.1.0 before 0.6.1 | application |
NVD analysis (status Modified), last modified November 20, 2026, 09:20 UTC.
How severe is CVE-2026-49755?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-49755 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 8, 2026)
- EPSS
- 0.74% probability of exploitation activity in the next 30 days, percentile 56.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Is there a workaround? (from the CVE record)
Disable Req's automatic body decoding on requests that fetch attacker-influenced URLs by passing decode_body: false to Req.new/1 / Req.get!/1. To also skip the content-encoding decompression pipeline, pass raw: true. Both options leave the response body as the raw on-the-wire bytes, so the caller can size-check before any decompression.
Where are the vendor advisories and references?
- Unbounded archive/compression extraction triggered by response content-type vendor-advisory, related
- EEF CNA record for CVE-2026-49755 related
- OSV record EEF-CVE-2026-49755 related
- Introducing commit e377537 in wojtekmach/req related
- Fix commit 84977e5 in wojtekmach/req patch
- Fix commit ea5506f in wojtekmach/req patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (analyst)
- Wojtek Mach (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 1, 2026
- Published
- June 8, 2026, 15:20 UTC
- CVE record updated
- November 20, 2026, 08:40 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 09:20 UTC
- Last checked
- CVE list November 20, 2026, 08:46 UTC; NVD November 20, 2026, 10:04 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect req?
- Jun 8, 2026CVE-2026-49756 wojtekmach req: improper Neutralization of CRLF Sequences
Questions about CVE-2026-49755
Is CVE-2026-49755 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.74% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of wojtekmach req are affected by CVE-2026-49755?
req from 0.1.0 before 0.6.1, per the GitHub advisory GHSA-655f-mp8p-96gv. The tables above give every range the sources list.
Which version fixes CVE-2026-49755?
0.6.1, per the GitHub advisory GHSA-655f-mp8p-96gv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-49755?
High (8.2, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-49755?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.