Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-96596— erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole

Quick assessment

Affected
Erlang OTP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Erlang OTP 标准库(erl_tar 模块)、hexpm hex_core(hex_erl_tar 模块)、hexpm hex(mix_hex_erl_tar 模块)以及 erlang rebar3(r3_hex_erl_tar 模块)中存在一个“循环不可达退出条件”(无限循环)漏洞。攻击者通过提供特制的 GNU 稀疏(sparse)归档文件,可导致拒绝服务(DoS)攻击。 当 将归档成员写入磁盘时, 默认以 65536 字节为块大小读取数据。对于稀疏映射(sparse map)在其真实大小之前结束的 GN

CVSS 5.9 · Medium EPSS 0.18% · P7

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 9

VendorProduct Version RangeStatus
Erlang OTP 29.0< 29.1.2 affected
8.0< 8.1.1 affected
fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f< 3086307f311b78b38644a7787a3aca6a3f95a9d5 affected
erlang rebar3 3.27.1< * affected
23dbdb5d1f87f56902aef296c88a20049cd0c6e4< * affected
hexpm hex 2.4.2< 2.5.3 affected
5543a1919c709d8eb2b317f62aad76ca1eed375c< * affected
hexpm hex_core 0.14.0< 0.20.1 affected
13bb9fbba418a406af614790b8d5cd458259ee70< a2ece683e6e88a3ec95ad20b09aca426e08b372e affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-96596

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole
Source: CVE Program / CVE List V5
Vulnerability Description
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 onward, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Erlang OTP 29.0 ~ 29.1.2 cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
Erlang OTP 8.0 ~ 8.1.1 cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
Erlang OTP fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f ~ 3086307f311b78b38644a7787a3aca6a3f95a9d5 cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
erlang rebar3 3.27.1 ~ * cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*
erlang rebar3 23dbdb5d1f87f56902aef296c88a20049cd0c6e4 ~ * cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*
hexpm hex_core 0.14.0 ~ 0.20.1 cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
hexpm hex_core 13bb9fbba418a406af614790b8d5cd458259ee70 ~ a2ece683e6e88a3ec95ad20b09aca426e08b372e cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
hexpm hex 2.4.2 ~ 2.5.3 cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*
hexpm hex 5543a1919c709d8eb2b317f62aad76ca1eed375c ~ * cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-96596

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-96596

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-96596 (5)

Other References for CVE-2026-96596 (3)

Same Patch Batch · Erlang · 2026-10-14 · 3 CVEs total

CVE-2026-94200 8.2 HIGH TLS 1.3 client ticket store crashed by NewSessionTicket with empty early_data extension in
CVE-2026-105236 6.3 MEDIUM TLS 1.2 session resumption in ssl crosses SNI virtual-host client-certificate trust bounda

IV. Related Vulnerabilities

V. Comments for CVE-2026-96596

No comments yet


Leave a comment