Search vulnerabilities

Results 12

Export CSV
CVE-2024-0684

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

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.

CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2026-56392

Heap-based Buffer Overflow in GNU coreutils

GNU coreutils unexpand is vulnerable to a heap-based buffer overflow due to an integer overflow during buffer allocation when processing large tab stop (-t) values. The multiplication used to calculate the allocation size can wrap around, resulting in an undersized buffer. When processing crafted input, subsequent writes exceed the allocated memory, leading to an out‑of‑bounds heap write. When running GNU coreutils unexpand with attacker-provided large tab stop (-t) arguments, this behavior leads to a crash and potentially achieve a heap write primitive depending on memory layout. This issue has been fixed in the commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d

CVSS 4.0 · 1.8 Low EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2026-56391

Out‑of‑bounds Read in GNU coreutils

GNU coreutils uniq is vulnerable to an out‑of‑bounds read due to incorrect handling of multibyte input when the -w (--check-chars) option is used. The find_field() function miscalculates the byte length of characters by repeatedly processing a fixed pointer instead of advancing through the input, resulting in an inflated length value. This incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input. When running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure. This issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.

CVSS 4.0 · 4.6 Medium EPSS < 1% KEV · Not listed
Vendors
CVE-2008-1946

/etc/pam.d/su is wrong in RHEL-4.6

The default configuration of su in /etc/pam.d/su in GNU coreutils 5.2.1 allows local users to gain the privileges of a (1) locked or (2) expired account by entering the account name on the command line, related to improper use of the pam_succeed_if.so module.

CVSS 2.0 · 4.4 Medium EPSS < 1% KEV · Not listed
Vendors
CVE-2009-4135

coreutils: Unsafe temporary directory use in "distcheck" rule

The distcheck rule in dist-check.mk in GNU coreutils 5.2.1 through 8.1 allows local users to gain privileges via a symlink attack on a file in a directory tree under /tmp.

CVSS 2.0 · 4.4 Medium EPSS < 1% KEV · Not listed
CVE-2005-1039

Race condition in Core Utilities (coreutils) 5.2.1, when (1) mkdir, (2) mknod, or (3) mkfifo is running with the -m switch, allows local users to modify permissions of other files.

CVSS 2.0 · 3.7 Low EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2015-1865

coreutils: "time of check to time of use" race condition fts.c

fts.c in coreutils 8.4 allows local users to delete arbitrary files.

CVSS 3.1 · 5.1 Medium EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2017-18018

coreutils: race condition vulnerability in chown and chgrp

In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX "-R -L" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.

CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2016-2781

coreutils: Non-privileged session can escape to the parent session in chroot

chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.

CVSS 3.1 · 4.6 Medium EPSS < 1% KEV · Not listed
Vendors
Gnu
Products
CVE-2014-9471

coreutils: memory corruption flaw in parse_datetime()

The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted date string, as demonstrated by the "--date=TZ="123"345" @1" string to the touch or date command.

CVSS 2.0 · 7.5 High EPSS 7.1% KEV · Not listed
Vendors
CVE-2015-4042

coreutils: possible buffer overflow in keycompare_mb()

Integer overflow in the keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 might allow attackers to cause a denial of service (application crash) or possibly have unspecified other impact via long strings.

CVSS 3.1 · 9.8 Critical EPSS 2.3% KEV · Not listed
Vendors
Gnu
Products
CVE-2015-4041

coreutils: heap buffer overflow in sort(1) keycompare_mb()

The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms performs a size calculation without considering the number of bytes occupied by multibyte characters, which allows attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via long UTF-8 strings.

CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Vendors
Gnu
Products