cve.bz

CVE-2024-0684 gnu coreutils: Out-of-bounds Write

5.5 mediumEPSS 0.5%Fix available

Medium (5.5) in gnu coreutils. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-0684 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-0684?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-0684?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-0684 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2024-0684

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-0684](https://cve.bz/cve/badge/CVE-2024-0684.svg)](https://cve.bz/cve/CVE-2024-0684)

HTML:

<a href="https://cve.bz/cve/CVE-2024-0684"><img src="https://cve.bz/cve/badge/CVE-2024-0684.svg" alt="CVE-2024-0684"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:coreutils9.2
gnu:coreutils9.3
gnu:coreutils9.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14coreutils9.5-1DEBIAN-CVE-2024-0684
openSUSETumbleweedcoreutils9.4-3.1openSUSE-SU-2024:13618-1
Alpinev3.18coreutils9.3-r2ALPINE-CVE-2024-0684
Alpinev3.19, v3.20, v3.21 and 3 morecoreutils9.4-r2ALPINE-CVE-2024-0684
Azure Linux3coreutils9.4-5AZL-34629
Alpaquitastreamcoreutils9.4-r2BELL-CVE-2024-0684
BellSoft Hardened Containersstreamcoreutils9.4-r2BELL-CVE-2024-0684

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is only present in coreutils 9.2, 9.3 and 9.4. Red Hat Enterprise Linux is not affected by this CVE as it ships an older version of coreutils that does not include the affected code.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6coreutilsNot affected
Red Hat Enterprise Linux 7coreutilsNot affected
Red Hat Enterprise Linux 8coreutilsNot affected
Red Hat Enterprise Linux 9coreutilsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-0684.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON