CVE-2026-96618Hex exhausts memory and disk on oversized or compressed responses from an untrusted mirror
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | erlang-hex | Fixed | 2.5.3-2 | DEBIAN-CVE-2026-96618 |
| Debian 13 | erlang-hex | Fix pending | DEBIAN-CVE-2026-96618 | |
| Red Hat Enterprise Linux 10 | afterburn | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | afterburn-dracut | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | bootc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | bootupd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | clevis-pin-trustee | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | coreos-installer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | coreos-installer-bootinfra | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | coreos-installer-dracut | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | crypto-auditing-agent | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | crypto-auditing-log-parser | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | glycin-loaders | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | goose | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | igvm-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | igvm-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-ima-emulator | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | keylime-agent-rust-push | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ldb-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libldb-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libnetapi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libnetapi-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libsmbclient | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libsmbclient-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libwayland-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libwayland-cursor | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libwayland-egl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libwayland-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libwbclient | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libwbclient-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | loupe | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | netavark | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nmstate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nmstate-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nmstate-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nmstate-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-nautilus | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-previewer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | papers-thumbnailer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-ldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-libnmstate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-samba | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-samba-dc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-samba-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rpm-ostree | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rpm-ostree-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-client-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-common-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-common-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-dc-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-dcerpc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-gpupdate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-krb5-printing | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-ldb-ldap-modules | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-pidl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-test-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-usershares | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-vfs-iouring | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-winbind | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-winbind-clients | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-winbind-krb5-locator | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-winbind-modules | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | samba-winexe | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | sevctl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | snphost | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | stratisd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | stratisd-dracut | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | stratisd-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | system-reinstall-bootc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | trustee-guest-components | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | trustee-kbs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | virt-firmware-rs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | wayland-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | afterburn | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | afterburn-dracut | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | bootc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | bootupd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | clevis-pin-trustee | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | coreos-installer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | coreos-installer-bootinfra | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | coreos-installer-dracut | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ctdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | fdo-admin-cli | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | fdo-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | fdo-init | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | fdo-manufacturing-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | fdo-owner-cli | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | fdo-owner-onboarding-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | fdo-rendezvous-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | goose | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | keylime-agent-rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ldb-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libldb-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libnetapi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libnetapi-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libsmbclient | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libsmbclient-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libwbclient | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libwbclient-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | netavark | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nmstate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nmstate-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nmstate-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nmstate-plugin-ovsdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nmstate-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-ldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-libnmstate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-samba | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-samba-dc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-samba-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-samba-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rpm-ostree | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rpm-ostree-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rpm-ostree-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-bootupd | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-client-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-common-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-common-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-dc-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-dcerpc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-gpupdate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-krb5-printing | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-ldb-ldap-modules | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-pidl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-test-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-usershares | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-vfs-iouring | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-winbind | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-winbind-clients | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-winbind-krb5-locator | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-winbind-modules | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | samba-winexe | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | sevctl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | snphost | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | system-reinstall-bootc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | trustee-guest-components | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | aardvark-dns | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cargo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | clippy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | containers-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | netavark | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rls | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rpm-ostree | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rpm-ostree-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rustfmt | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | firefox | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- hexpm hex: affected: 0.11.2 to before 2.5.2; fixed in
2.5.2 - hexpm hex: affected: 51ea632424fb6ea8765148f96dc25dfeb526b1f8 and later; fixed in
08956100a8283ba500a123e5539ac64d5d7e91d8
Solution: Upgrade Hex to 2.5.2 or later, for example with mix local.hex. Hex then stops downloading a registry file, package, docs tarball or other file from a repository or mirror once it's larger than 16 MiB, including after decompressing a gzip-encoded response, and checks packages against the registry checksum before writing them to the package cache or unpacking a cached copy.
Workaround: Fetch from repo.hex.pm or a mirror you operate. Running Mix under operating system memory and disk limits, such as container limits, confines the effect to that container.
Vendor advisories:
- https://github.com/hexpm/hex/security/advisories/GHSA-gf42-pg2f-63jp (vendor-advisory)
- https://github.com/hexpm/hex/commit/08956100a8283ba500a123e5539ac64d5d7e91d8 (patch)
- https://github.com/hexpm/hex/commit/bb5189eade682c5fc3f98d9725973a7beb4e1deb (patch)
References
- https://github.com/hexpm/hex/security/advisories/GHSA-gf42-pg2f-63jp
- https://cna.erlef.org/cves/CVE-2026-96618.html
- https://osv.dev/vulnerability/EEF-CVE-2026-96618
- https://github.com/hexpm/hex/commit/51ea632424fb6ea8765148f96dc25dfeb526b1f8
- https://github.com/hexpm/hex/commit/08956100a8283ba500a123e5539ac64d5d7e91d8
- https://github.com/hexpm/hex/commit/bb5189eade682c5fc3f98d9725973a7beb4e1deb
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.