Every CVE Search/ Get API key

CVE-2024-0684

Coreutils: heap overflow in split --line-bytes with very long lines

5.5 MediumPublic exploitFix available

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

0.49%Up 0.4 points since Feb 8, 2024
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
coreutils
Alpine:v3.18
before 9.3-r2
9.3-r2
coreutils
Alpine:v3.19
before 9.4-r2
9.4-r2
coreutils
Alpine:v3.20
before 9.4-r2
9.4-r2
coreutils
Alpine:v3.21
before 9.4-r2
9.4-r2
coreutils
Alpine:v3.22
before 9.4-r2
9.4-r2
coreutils
Alpine:v3.23
before 9.4-r2
9.4-r2
coreutils
Alpine:v3.24
before 9.4-r2
9.4-r2
coreutils
Azure Linux:3
before 9.4-5
9.4-5
coreutils
Alpaquita:stream
9.3-r7 up to 9.4-r2
9.4-r2
coreutils
BellSoft Hardened Containers:stream
9.3-r7 up to 9.4-r2
9.4-r2
coreutils
Debian:13
before 9.5-1
9.5-1
coreutils
Debian:14
before 9.5-1
9.5-1
coreutils
openSUSE:Tumbleweed
before 9.4-3.1
9.4-3.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubValentin-Metz/writeup_split2023-12-15

History

History
RecordedChangedSources
factsOSV
affected
first indexedCVE 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

Show 11 moreShow less
MoveEnter Open