Skip to content
OpenAdvisories
Medium · 5.5 Public exploit CVE-2024-0684 EUVD-2024-16475GHSA-p8pq-6r4w-c75v

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

Published Feb 6, 2024 · Updated Oct 15, 2026 · Assigned by fedora

Description

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.

Affected products

VendorProductAffectedFixed
— coreutils v9.2, v9.3, v9.4 v9.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 coreutils 9.5-1 —
Debian 13 coreutils 9.5-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed coreutils 9.4-3.1 openSUSE-SU-2024:13618-1
ReleasePackageFixed inAdvisory
Alpine v3.24 coreutils 9.4-r2 —
Alpine v3.23 coreutils 9.4-r2 —
Alpine v3.22 coreutils 9.4-r2 —
Alpine v3.21 coreutils 9.4-r2 —
Alpine v3.20 coreutils 9.4-r2 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 coreutils 9.4-r2 —
Alpine v3.18 coreutils 9.3-r2 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 coreutils 9.4-5 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • Valentin-Metz/writeup_split ★ 4 · Dec 15, 2023

    Writeup of a heap overflow vulnerability in the GNU coreutils split program. CVE-2024-0684

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References