# erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole

Advisory record · `GHSA-phm5-m6cj-5382`

- **Identifiers:** `GHSA-phm5-m6cj-5382` · `CVE-2026-96596` · `EEF-CVE-2026-96596`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-835](https://cwe.mitre.org/data/definitions/835.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 14 Oct 2026
- **Updated:** 22 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 Oct 2026, 16:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `hex_core` (Hex): affected `>=0.14.0, <0.20.1`; fixed in `0.20.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, 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`, from CNA (EEF)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 11th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:25 UTC: First seen by agentprime
- 31 Oct 2026, 15:25 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/EEF-CVE-2026-96596)

## Sources

- [GitHub Advisory Database: GHSA-phm5-m6cj-5382](https://github.com/advisories/GHSA-phm5-m6cj-5382)
- [OSV: GHSA-phm5-m6cj-5382](https://osv.dev/vulnerability/GHSA-phm5-m6cj-5382)
- <https://github.com/erlang/otp/security/advisories/GHSA-phm5-m6cj-5382>
- <https://cna.erlef.org/cves/CVE-2026-96596.html>
- <https://www.erlang.org/doc/system/versions.html#order-of-versions>
- <https://github.com/erlang/rebar3/commit/23dbdb5d1f87f56902aef296c88a20049cd0c6e4>
- <https://github.com/erlang/rebar3/commit/310e2ec8c7dd3df05d67af2b7fae23f30fc523c4>
- <https://github.com/hexpm/hex_core/commit/13bb9fbba418a406af614790b8d5cd458259ee70>
- <https://github.com/hexpm/hex_core/commit/a2ece683e6e88a3ec95ad20b09aca426e08b372e>
- <https://github.com/erlang/otp/commit/fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f>
- <https://github.com/erlang/otp/commit/3086307f311b78b38644a7787a3aca6a3f95a9d5>
- <https://github.com/hexpm/hex/commit/5543a1919c709d8eb2b317f62aad76ca1eed375c>
- <https://github.com/hexpm/hex/commit/8e1067131a13949eff30623f31648a945ffd5418>
- <https://github.com/hexpm/hex/commit/7847c23d09ab52113614c3718e1e7d368743da5d>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-phm5-m6cj-5382>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-phm5-m6cj-5382/>. Everything for agents: <https://agentprime.io/llms.txt>.
