CVE-2024-0684
Coreutils: heap overflow in split --line-bytes with very long lines
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.5
Coreutils: heap overflow in split --line-bytes with very long lines
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.
- Record
CVE-2024-0684- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2024-16475
5.5
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.
- Record
EUVD-2024-16475- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-p8pq-6r4w-c75v
5.5
A flaw was found in the GNU coreutils "split" program. A heap overflow with user-controlled data...
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.
- Record
GHSA-p8pq-6r4w-c75v- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2024-0684- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-0684
5.5
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.
- Record
ALPINE-CVE-2024-0684- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-34629
5.5
CVE-2024-0684 affecting package coreutils for versions less than 9.4-5
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.
- Record
AZL-34629- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-05
Show 5 moreShow less
OSVBELL-CVE-2024-0684
5.5
- Record
BELL-CVE-2024-0684- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.5
Coreutils: heap overflow in split --line-bytes with very long lines
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.
- Record
CVE-2024-0684- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-0684
5.5
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.
- Record
DEBIAN-CVE-2024-0684- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-0684
5.5
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.
- Record
UBUNTU-CVE-2024-0684- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13618-1 No score
coreutils-9.4-3.1 on GA media
These are all security issues fixed in the coreutils-9.4-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13618-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
coreutilsAlpine:v3.18 |
before 9.3-r2 | 9.3-r2 |
coreutilsAlpine:v3.19 |
before 9.4-r2 | 9.4-r2 |
coreutilsAlpine:v3.20 |
before 9.4-r2 | 9.4-r2 |
coreutilsAlpine:v3.21 |
before 9.4-r2 | 9.4-r2 |
coreutilsAlpine:v3.22 |
before 9.4-r2 | 9.4-r2 |
coreutilsAlpine:v3.23 |
before 9.4-r2 | 9.4-r2 |
coreutilsAlpine:v3.24 |
before 9.4-r2 | 9.4-r2 |
coreutilsAzure Linux:3 |
before 9.4-5 | 9.4-5 |
coreutilsAlpaquita:stream |
9.3-r7 up to 9.4-r2 | 9.4-r2 |
coreutilsBellSoft Hardened Containers:stream |
9.3-r7 up to 9.4-r2 | 9.4-r2 |
coreutilsDebian:13 |
before 9.5-1 | 9.5-1 |
coreutilsDebian:14 |
before 9.5-1 | 9.5-1 |
coreutilsopenSUSE:Tumbleweed |
before 9.4-3.1 | 9.4-3.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Valentin-Metz/writeup_split | 2023-12-15 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-0684 is a medium vulnerability (CVSS 5.5) in Gnu Coreutils, published January 19, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in coreutils 9.3-r2.
References
access.redhat.com/security/cve/CVE-2024-0684
bugzilla.redhat.com/show_bug.cgi?id=2258948
openwall.com/lists/oss-security/2024/01/18/2
security.netapp.com/advisory/ntap-20240808-0001
lists.fedoraproject.org/archives/list/[email protected]/message/2KAURFJIEYY2BWCPN4AZDYCVMFD5J4GB
cert-portal.siemens.com/productcert/html/ssa-794697.html
Show 11 moreShow less
nvd.nist.gov/vuln/detail/CVE-2024-0684
github.com/advisories/GHSA-p8pq-6r4w-c75v
security.alpinelinux.org/vuln/CVE-2024-0684
docs.bell-sw.com/security/cves/CVE-2024-0684
docs.bell-sw.com/security/advisories/BELL-SA-2024-7
github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0684.json
git.savannah.gnu.org/gitweb?p=coreutils.git
security-tracker.debian.org/tracker/CVE-2024-0684
ubuntu.com/security/CVE-2024-0684
cve.org/CVERecord?id=CVE-2024-0684
suse.com/security/cve/CVE-2024-0684