CVEfocus › CVE database › CVE-2024-0684

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

CVSS 5.5 MediumEPSS 0.4% (higher than 22% of CVEs)Published 2024-02-06Updated 2026-10-15Assigner: fedora

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.

CWE-122

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
15Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04coreutilsNot affected
vulnerable_code_not_present
Ubuntu 22.04coreutilsNot affected
vulnerable_code_not_present
Ubuntu 20.04coreutilsNot affected
vulnerable_code_not_present
Ubuntu 18.04coreutilsNot affected
vulnerable_code_not_present
Ubuntu 16.04coreutilsNot affected
vulnerable_code_not_present
Ubuntu 14.04coreutilsNot affected
vulnerable_code_not_present
Debian 14coreutilsFixed9.5-1DEBIAN-CVE-2024-0684
Debian 13coreutilsFixed9.5-1DEBIAN-CVE-2024-0684
Red Hat Enterprise Linux 9coreutilsNot affected
Red Hat Enterprise Linux 9coreutils-commonNot affected
Red Hat Enterprise Linux 9coreutils-singleNot affected
Red Hat Enterprise Linux 8coreutilsNot affected
Red Hat Enterprise Linux 8coreutils-commonNot affected
Red Hat Enterprise Linux 8coreutils-singleNot affected
Red Hat Enterprise Linux 7coreutilsNot affected
Red Hat Enterprise Linux 6coreutilsNot affected
Red Hat Enterprise Linux 6coreutils-libsNot affected
Alpine Linux 3.24coreutilsFixed9.4-r2ALPINE-CVE-2024-0684
Alpine Linux 3.23coreutilsFixed9.4-r2ALPINE-CVE-2024-0684
Alpine Linux 3.22coreutilsFixed9.4-r2ALPINE-CVE-2024-0684
Alpine Linux 3.21coreutilsFixed9.4-r2ALPINE-CVE-2024-0684
Alpine Linux 3.20coreutilsFixed9.4-r2ALPINE-CVE-2024-0684
Alpine Linux 3.19coreutilsFixed9.4-r2ALPINE-CVE-2024-0684
Alpine Linux 3.18coreutilsFixed9.3-r2ALPINE-CVE-2024-0684

What the vendor says

As published in the CVE record by fedora, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.