Skip to content
Medium 5.9

Vulnerability in Erlang OTP stdlib

CVE-2026-96596 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-96596 has been found in Erlang OTP stdlib.
Risk of unauthorized operations or information disclosure. CVSS score: 5.5/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Erlang OTP stdlib CVE-2026-96596" on the vendor's site.

CVE-2026-96596 (Erlang OTP stdlib) — CWE-835 / CVSS v3 5.5
Attack vector: local / unauthenticated
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (CWE-835) exists in Erlang OTP stdlib.

Affected scope

Check the vendor advisory for the affected versions of Erlang OTP stdlib.

Severity

Severity: Medium (CVSS 5.5/10). Risk of unauthorized operations or information disclosure.

How to fix

Update to the patched release per vendor advisory.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで Erlang OTP stdlib を使っているサービスとバージョンを洗い出す。

  2. 2
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Hexhex_core
≥ 0.14.0, < 0.20.1→ 0.20.1
erlangrebar3
≥ 23dbdb5d1f87f56902aef296c88a20049cd0c6e4, < 310e2ec8c7dd3df05d67af2b7fae23f30fc523c4→ 310e2ec8c7dd3df05d67af2b7fae23f30fc523c4
hexpmhex_core
≥ 13bb9fbba418a406af614790b8d5cd458259ee70, < a2ece683e6e88a3ec95ad20b09aca426e08b372e→ a2ece683e6e88a3ec95ad20b09aca426e08b372e
ErlangOTP
≥ fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f, < 3086307f311b78b38644a7787a3aca6a3f95a9d5→ 3086307f311b78b38644a7787a3aca6a3f95a9d5
hexpmhex
≥ 5543a1919c709d8eb2b317f62aad76ca1eed375c (no fix yet)→ 7847c23d09ab52113614c3718e1e7d368743da5d, 8e1067131a13949eff30623f31648a945ffd5418

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

Summary

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, corresp…

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details