# CVE-2024-28863: node-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validation

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-21T22:10:23.603Z
- Modified: 2026-09-10T03:50:10.480Z
- Also known as: GHSA-f5x3-32g6-xq36
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js client within few seconds of running it using a path with too many sub-folders inside. Version 6.2.1 fixes this issue by preventing extraction in excessively deep sub-folders.

(As written by CVE List.)

## Affected

- isaacs node-tar: < 6.2.1
- node-tar_project node-tar: before 6.2.1
- node-tar (npm): before 6.2.1
- tar (npm): before 6.2.1
- isaacs tar: before 6.2.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-f5x3-32g6-xq36> (exploit, vendor-advisory, web)
- <https://github.com/isaacs/node-tar/commit/fe8cd57da5686f8695415414bda49206a545f7f7> (patch, web)
- <https://security.netapp.com/advisory/ntap-20240524-0005/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28863> (advisory)
- <https://github.com/isaacs/node-tar> (package)
- <https://security.netapp.com/advisory/ntap-20240524-0005> (web)

## Sources

- CVE List: [CVE-2024-28863](https://www.cve.org/CVERecord?id=CVE-2024-28863), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-f5x3-32g6-xq36](https://github.com/advisories/GHSA-f5x3-32g6-xq36), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28863](https://nvd.nist.gov/vuln/detail/CVE-2024-28863), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28863 · Whole record: https://cve.day/CVE-2024-28863.json · Rebuilt by cve.day 2026-11-25T22:58:37.830Z
