Coreutils: heap overflow in split --line-bytes with very long lines
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
A flaw was found in the GNU coreutils "split" program. A heap overflow with user-controlled data of multiple hundred bytes in length could occur in the line_bytes_split() function, potentially leading to an application crash and denial of service.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | coreutils | v9.2; v9.3; v9.4 | v9.5 | Patch available | CNA |
- coreutils Vendor— Affected v9.2; v9.3; v9.4 Fixed in v9.5 Patch available CNA
Remediation
- Fix · CNA coreutils Fixed in v9.5
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2024-0684
- 2026-10-03 Alias added: GHSA-p8pq-6r4w-c75v
References
More GNU Coreutils vulnerabilities
- TI-2017-13227 In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent… CVSS 3.1HIGH 7.1
- TI-2015-01675 fts.c in coreutils 8.4 allows local users to delete arbitrary files. CVSS 3.1MEDIUM 5.1
- TI-2015-03409 Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through… CVSS 3.1CRITICAL 9.8
- TI-2014-07697 The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of… CVSS 2.0HIGH 7.5
- TI-2015-03408 The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit… CVSS 3.1HIGH 7.8
- TI-2016-02323 chroot in GNU coreutils, when used with --userspec, allows local users to escape to the… CVSS 3.1MEDIUM 4.6
Sources
- CVE-2024-0684 · CVE Program
- CVE-2024-0684 · NVD
- FIRST EPSS
- GHSA-p8pq-6r4w-c75v · GitHub Advisory Database · CC BY 4.0
- CVE-2024-0684 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences