Home / Erlang / OTP / CVE-2026-96596
CVE-2026-96596: is it exploited, and which versions of Erlang OTP are affected and fixed?
CVE-2026-96596 is an infinite loop (denial of service) vulnerability in Erlang OTP. 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, 13:38 UTC). Affected: OTP from 8.0 before 8.1.1, OTP from 29.0 before 29.1.2, rebar3 from 3.27.1 before 3.28.0 and 2 more (CVE record by EEF). Fixed in 8.1.1, 29.1.2, 3.28.0, 2.5.3 and 1 more (CVE record by EEF). Severity: Medium (5.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-96596?
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. When erl_tar:extract/1,2 writes a member to disk, erl_tar:stream_to_file_loop/3 reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, erl_tar:do_sparse_read/3 matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The {max_size, N} option prevents this only when N is below the real size of the member. Extraction with the memory option is not affected. hex_core ships its own copy of erl_tar as hex_erl_tar, and Hex and rebar3 ship hex_core with prefixed module names (mix_hex_erl_tar and r3_hex_erl_tar). These copies contain the same code and do not call stdlib's erl_tar, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3. This issue affects OTP from OTP 29.0 before OTP 29.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1.
From the CVE record by EEF, last updated November 20, 2026, 06:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Erlang | OTP stdlib | from 8.0 before 8.1.1 | 8.1.1 |
| Erlang | OTP otp | from 29.0 before 29.1.2 | 29.1.2 |
| Erlang | OTP erlang/otp | not stated | |
| erlang | rebar3 | from 3.27.1 before 3.28.0 | 3.28.0 |
| erlang | rebar3 erlang/rebar3 | not stated | |
| hexpm | hex | from 2.4.2 before 2.5.3 | 2.5.3 |
| hexpm | hex hexpm/hex | not stated | |
| hexpm | hex_core | from 0.14.0 before 0.20.1 | 0.20.1 |
| hexpm | hex_core hexpm/hex_core | 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.
How severe is CVE-2026-96596?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
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-96596 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 16, 2026)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 12.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Is there a workaround? (from the CVE record)
Pass {chunks, N} together with {max_size, N}, with the same value N, to erl_tar:extract/2. Extraction then rejects any member larger than N, and reads each remaining member in one call, so the loop cannot occur. Alternatively, extract with the memory option and write the returned files to disk in the application.
Where are the vendor advisories and references?
- GitHub Advisory related, vendor-advisory
- EEF CNA record for CVE-2026-96596 related
- OSV record EEF-CVE-2026-96596 related
- Erlang/OTP version ordering x_version-scheme
- Introducing commit fbf2c71 in erlang/otp related
- Fix commit 3086307 in erlang/otp patch
- Introducing commit 23dbdb5 in erlang/rebar3 related
- Fix commit 310e2ec in erlang/rebar3 patch
- Introducing commit 5543a19 in hexpm/hex related
- Fix commit 7847c23 in hexpm/hex patch
- Fix commit 8e10671 in hexpm/hex patch
- Introducing commit 13bb9fb in hexpm/hex_core related
- Fix commit a2ece68 in hexpm/hex_core patch
Who found and reported it?
- Eric Meadows-Jönsson (finder)
- Eric Meadows-Jönsson (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 27, 2026
- Published
- October 14, 2026, 16:56 UTC
- CVE record updated
- November 20, 2026, 06:00 UTC by EEF
- NVD
- Deferred, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect OTP?
- Apr 16, 2025CVE-2025-32433 erlang otp: missing authentication for a critical function exploited
- Nov 24, 2026CVE-2026-115747 Erlang OTP: memory corruption (buffer overflow)
- Nov 24, 2026CVE-2026-125658 Erlang OTP: use after free
- Nov 24, 2026CVE-2026-124286 Erlang OTP: cryptographic signature not verified
- Nov 24, 2026CVE-2026-120961 Erlang OTP: out-of-bounds read
- Nov 24, 2026CVE-2026-117642 Erlang OTP: uncontrolled recursion
- Nov 24, 2026CVE-2026-116293 Erlang OTP: quantity not validated
- Nov 24, 2026CVE-2026-116225 Erlang OTP: quantity not validated
Questions about CVE-2026-96596
Is CVE-2026-96596 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Erlang OTP are affected by CVE-2026-96596?
OTP from 8.0 before 8.1.1, OTP from 29.0 before 29.1.2, rebar3 from 3.27.1 before 3.28.0, hex from 2.4.2 before 2.5.3 and hex_core from 0.14.0 before 0.20.1, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-96596?
8.1.1, 29.1.2, 3.28.0, 2.5.3 and 0.20.1, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-96596?
Medium (5.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-96596?
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.