Heap Overflow Vulnerability in Coreutils: Denial of Service Risk

coreutils Updated 02 Oct 2025

Summary

06/02/2024
N/A
Yes i
Medium
5.5

UBUNTU-CVE-2024-0684: A flaw was found in the GNU coreutils "split" program. Affects coreutils versions < 9.4-2ubuntu3. Fixed in 9.4-2ubuntu3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Coreutils is a fundamental package in the GNU operating system that provides essential utilities for file manipulation, text processing, and system management. It includes commands like 'ls', 'cp', 'mv', and 'split', which are crucial for everyday tasks in Unix-like environments. The package is widely used across various Linux distributions, including Ubuntu. The vulnerability in question affects the 'split' program within Coreutils, which is used to split files into smaller pieces. This vulnerability could lead to serious issues if exploited, as it allows for potential application crashes and denial of service.

Vulnerability Detail

A flaw was discovered in the GNU coreutils 'split' program, specifically in the line_bytes_split() function. This flaw is characterized by a heap overflow that can occur when handling user-controlled data, potentially reaching multiple hundred bytes in length. If exploited, this vulnerability could lead to an application crash, resulting in a denial of service. The vulnerability is identified as CVE-2024-0684 and has a CVSS score of 5.5, indicating a medium severity level. The issue arises from improper handling of memory allocation, allowing attackers to manipulate the program's behavior.

How To Fix

Minimum fixed version

9.4-2ubuntu3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade coreutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid using the 'split' command with untrusted input until the package is updated. This can help prevent potential exploitation of the vulnerability while waiting for a permanent fix.

Conclusion

The heap overflow vulnerability in the Coreutils package, specifically affecting the 'split' program, poses a risk of application crashes and denial of service. Users are advised to update to the patched version to mitigate this risk. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for coreutils →

Share this vulnerability

FAQ

CVE-2024-0684 is a vulnerability in the GNU coreutils 'split' program that can lead to a heap overflow, potentially causing application crashes and denial of service.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

The vulnerability has a CVSS score of 5.5, indicating a medium severity level, which means it poses a moderate risk to systems using the affected package.

If you cannot update the package right away, avoid using the 'split' command with untrusted input as a temporary workaround to mitigate the risk.

More information can be found in the official Ubuntu security notices or by visiting the GitHub repository for detailed vulnerability reports.

Related vulnerabilities

Recent vulnerabilities recorded for coreutils.

How To Fix

Minimum fixed version

9.4-2ubuntu3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade coreutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback