erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Erlang OTP stdlib (erl_tar module), hexpm hex_core (hex_erl_tar module), hexpm hex (mix_hex_erl_tar module) and erlang rebar3 (r3_hex_erl_tar module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member.
Recorded fixes — hex_core: 0.20.1. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.14.0 before 0.20.1Semantic versions | 0.20.1 |
Version evidence: OSV · EEF-CVE-2026-96596
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.14.0"
},
{
"fixed": "0.20.1"
}
],
"type": "SEMVER"
}
],
"versions": [
"0.14.0",
"0.14.1",
"0.15.0",
"0.16.0",
"0.16.1",
"0.17.0",
"0.18.0",
"0.19.0",
"0.20.0"
]
}