# CVE-2026-119051: flat through 6.0.1 Denial of Service via unflatten() Numeric Array Index Keys

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- 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.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-29T13:08:52.215Z
- Modified: 2026-11-03T16:17:20.660Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

flat through 6.0.1 contains an uncontrolled resource allocation vulnerability in unflatten() that allows attackers to create huge sparse arrays via unbounded numeric keys. Attackers can supply flattened keys such as a.4294967294, causing iteration with forEach, spread or JSON.stringify to block the Node.js event loop.

(As written by CVE List.)

## Affected

- hughsk flat: up to 6.0.1

## Every score

- VulnCheck: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/hughsk/flat/issues/195> (exploit, issue-tracking)
- <https://github.com/hughsk/flat> (product)
- <https://github.com/hughsk/flat/blob/1d68e1d06c0210cff31e5c61ac177f3e2d3fa564/index.js#L65-L75> (technical-description)
- <https://github.com/hughsk/flat/blob/1d68e1d06c0210cff31e5c61ac177f3e2d3fa564/index.js#L137-L142> (technical-description)
- <https://www.vulncheck.com/advisories/flat-through-6.0.1-denial-of-service-via-unflatten-numeric-array-index-keys> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-119051](https://www.cve.org/CVERecord?id=CVE-2026-119051), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-119051](https://nvd.nist.gov/vuln/detail/CVE-2026-119051), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-119051 · Whole record: https://cve.day/CVE-2026-119051.json · Rebuilt by cve.day 2026-11-25T22:59:47.749Z
