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

CVE-2024-0684
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.49 % Β· percentile 42 ()
State
PUBLISHED
Published
Updated
Assigner
fedora
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-122 β€” Heap-based Buffer Overflow
  • CWE-787 β€” Out-of-bounds Write

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hfedora
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD Β· patrick@puiterwijk.org (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD Β· nvd@nist.gov (Primary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
coreutilsaffected v9.2 ; affected v9.3 ; affected v9.4 ; unaffected v9.5

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD