Skip to main content

CVE-2026-96618: CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) in hexpm hex

0
Low
VulnerabilityCVE-2026-96618cvecve-2026-96618cwe-409cwe-770
Published: 10/12/2026 (10/12/2026, 15:29:19 UTC)
Source: CVE Database V5
Vendor/Project: hexpm
Product: hex

Description

CVE-2026-96618 is a low severity vulnerability in hexpm hex affecting versions from 0.11.2 up to but not including 2.5.2. It involves improper handling of highly compressed data, allowing an untrusted package mirror to exhaust memory or disk space during package fetching or documentation retrieval. The vulnerability arises because hex decompresses responses without size limits before verifying signatures or checksums, and documentation tarballs are not covered by signature verification. This can lead to resource exhaustion on the client machine running mix commands.

CVSS v4.0

Score 2.1low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

hexpm

hex

Affected versions
>=0.11.2 <2.5.2

hexpm

hex

GitHub Actionsmore threats →cve
hex
pkg:github/hex
Affected versions
>=0.11.2 <2.5.2
GitHub Actionsmore threats →cve
hexpm/hex
pkg:github/hexpm/hex
CPE configurations
cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/12/2026, 16:03:41 UTC

Technical Analysis

The vulnerability in hexpm hex (CVE-2026-96618) is due to improper handling of highly compressed data, leading to potential data amplification attacks. When hex fetches packages, registry data, or documentation from an untrusted mirror, it decompresses gzip-encoded responses fully into memory without limits before verifying their authenticity. Package tarballs have no download size limit and are held in memory or streamed to disk before unpacking and checksum verification. Documentation tarballs are written to disk and extracted without size limits or signature verification, increasing risk. This allows an untrusted mirror to cause memory or disk exhaustion on the client machine running mix commands such as deps.get, deps.update, hex.package fetch, or hex.docs fetch. The issue affects hex versions >=0.11.2 and <2.5.2.

Potential Impact

An attacker controlling an untrusted package mirror can cause denial of service by exhausting memory or disk space on the client machine running hex commands. This can disrupt development workflows but does not allow code execution or privilege escalation. The vulnerability is limited to resource exhaustion and does not compromise integrity due to signature and checksum checks occurring after decompression for most data, except documentation tarballs which lack signature verification.

Mitigation Recommendations

A fix is available in hex version 2.5.2 and later. Users should upgrade to 2.5.2 or newer to mitigate this vulnerability. Until then, avoid configuring untrusted mirrors or ensure mirrors are trusted and properly secured. There is no indication that the vendor considers this issue already mitigated without upgrade. Patch status is confirmed by the version range affected and fixed in 2.5.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-10-10T13:00:02.352Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6acd01702cdf04f656aa706f

Added to database: 10/12/2026, 15:49:04 UTC

Last enriched: 10/12/2026, 16:03:41 UTC

Last updated: 10/12/2026, 16:04:08 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses