CVE-2026-96618
Last modified
CVE-2026-96618 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in hexpm hex allows an untrusted package mirror to exhaust the memory or disk space of the machine running mix deps.get, mix deps.update, mix hex.package fetch or mix hex.docs fetch. Hex treats a mirror configured with HEX_MIRROR_URL, HEX_MIRROR or mirror_url as untrusted: it doesn't send credentials to it, and it checks registry signatures and package checksums that the mirror can't forge. Several response paths consume memory or disk in proportion to what the mirror sends before any of those checks run. Hex.HTTP.request/5 reads the whole response body into memory and decompresses it with :zlib.gunzip/1 whenever the response's Content-Encoding contains gzip, with no limit on the compressed or decompressed size. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in hexpm hex allows an untrusted package mirror to exhaust the memory or disk space of the machine running mix deps.get, mix deps.update, mix hex.package fetch or mix hex.docs fetch. Hex treats a mirror configured with HEX_MIRROR_URL, HEX_MIRROR or mirror_url as untrusted: it doesn't send credentials to it, and it checks registry signatures and package checksums that the mirror can't forge. Several response paths consume memory or disk in proportion to what the mirror sends before any of those checks run. Hex.HTTP.request/5 reads the whole response body into memory and decompresses it with :zlib.gunzip/1 whenever the response's Content-Encoding contains gzip, with no limit on the compressed or decompressed size. Hex doesn't ask for compressed responses, so the server decides whether this step runs. It applies to registry, package, docs and API responses. Package tarballs have no download size limit. Hex 2.5.1 holds the whole tarball in memory and writes it to the cache, and the development branch streams it to a temporary file; the 16 MiB tarball limit is checked only when the file is unpacked. The tarball is then unpacked, into deps/<app> in 2.5.1 and into a staging directory on the development branch, before its checksums are compared with the registry. mix hex.docs fetch, and mix hex.docs offline when docs are missing, write the docs tarball to disk and extract it with :mix_hex_erl_tar.extract/2 without the 16 MiB compressed and 128 MiB decompressed limits that mix_hex_tarball:unpack_docs/3 applies. The signed registry doesn't cover docs tarballs, so nothing checks them. Registry responses are also decompressed before their signature is checked, in hex_core code that Hex vendors; that part is tracked in https://github.com/hexpm/hex_core/security/advisories/GHSA-7c4r-cgf9-9jmq. This issue affects hex: from 0.11.2 before 2.5.2.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hexpm | hex | >= 0.11.2, < 2.5.2 |
| hexpm | hex | >= 51ea632424fb6ea8765148f96dc25dfeb526b1f8, < * |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-96618?
How severe is CVE-2026-96618?
How do I fix CVE-2026-96618?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-96609Robur Albatross 1.0.0 through 2.x before 2.7.2 does not limi…7.1
- CVE-2026-96611FFmpeg before 9.0 has a signed integer overflow in libavform…7.8
- CVE-2026-96612Improper Limitation of a Pathname to a Restricted Directory …7.5
- CVE-2026-96613The Meari IoT Cloud Platform OpenAPI Service is vulnerable t…6.5
- CVE-2026-96614"ゲオアプリ" provided by GEO CORPORATION is vulnerable to imprope…5.1
- CVE-2026-96615Description NGINX Gateway Fabric has a vulnerability when it…6.5
- CVE-2026-9662The Recover Exit For WooCommerce plugin for WordPress is vul…8.1
- CVE-2026-96620Claude Agent SDK is a Python SDK for Claude Code. Prior to 0…9.2
- CVE-2026-96647The Listdom: AI-powered Business Directory with Classifieds …6.4
- CVE-2026-96648The Data Tables Generator by Supsystic plugin for WordPress …6.4
- CVE-2026-96649The Frontend Post Submission Manager Lite – Frontend Posting…7.2
- CVE-2026-96650The Strong Testimonials plugin for WordPress is vulnerable t…7.2
Are you affected by CVE-2026-96618?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
