CVE-2025-5278
JSON

4.4medium

Coreutils: heap buffer under-read in gnu coreutils sort via key specification

Severity
4.4medium CVSS:3.1 by redhat
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A flaw was found in GNU Coreutils. The sort utility's begfield() function is vulnerable to a heap buffer under-read. The program may access memory outside the allocated buffer if a user runs a crafted command using the traditional key format. A malicious input could lead to a crash or leak sensitive data.

Affected

Product or packageVersionsReported by
coreutilsfrom 7.2 before 9.8
Not affected: from 0:9.5-8.el10_2 before *, from 0:8.30-21.el8_10 before *, from 0:8.32-41.el9_8 before *
CVE List
cert-manager/jetstack-cert-manager-acmesolver-rhel9Not specified
Not affected: from 1791371080 before *, from 1791459707 before *
CVE List
cert-manager/jetstack-cert-manager-rhel9Not specified
Not affected: from 1791371069 before *, from 1791459711 before *
CVE List
cert-manager/cert-manager-operator-rhel9Not specified
Not affected: from 1791788287 before *, from 1789029076 before *
CVE List
cert-manager/cert-manager-operator-bundleNot specified
Not affected: from 1791970484 before *, from 1791966259 before *
CVE List
cert-manager/cert-manager-istio-csr-rhel9Not specified
Not affected: from 1791459759 before *
CVE List
cert-manager/cert-manager-trust-manager-rhel9Not specified
Not affected: from 1790598593 before *
CVE List
costmanagement/costmanagement-metrics-rhel9-operatorNot specified
Not affected: from 1783539156 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1782756541 before *
CVE List
discovery/discovery-server-rhel9Not specified
Not affected: from 1784821670 before *
CVE List
insights-proxy/insights-proxy-container-rhel9Not specified
Not affected: from 1782890503 before *
CVE List
rhosdt/tempo-gateway-opa-rhel9Not specified
Not affected: from 1782501180 before *
CVE List

Classification

CWE-121

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A flaw was found in GNU Coreutils. The sort utility's begfield() function is vulnerable to a heap buffer under-read. The program may access memory outside the allocated buffer if a user runs a crafted command using the traditional key format. A malicious input could lead to a crash or leak sensitive data.

NVD (es)

Se encontró una falla en GNU Coreutils. La función begfield() de la utilidad sort es vulnerable a una lectura insuficiente del búfer del montón. El programa puede acceder a memoria fuera del búfer asignado si un usuario ejecuta un comando manipulado con el formato de clave tradicional. Una entrada maliciosa podría provocar un fallo o la filtración de datos confidenciales.

References

https://access.redhat.com/errata/RHSA-2026:28911vendor-advisory
https://access.redhat.com/errata/RHSA-2026:33124vendor-advisory
https://access.redhat.com/errata/RHSA-2026:33313vendor-advisory
https://access.redhat.com/errata/RHSA-2026:33612vendor-advisory
https://access.redhat.com/errata/RHSA-2026:34102vendor-advisory
https://access.redhat.com/errata/RHSA-2026:39981vendor-advisory
https://access.redhat.com/errata/RHSA-2026:44481vendor-advisory
https://access.redhat.com/errata/RHSA-2026:46836vendor-advisory
https://access.redhat.com/errata/RHSA-2026:50205vendor-advisory
https://access.redhat.com/errata/RHSA-2026:58981vendor-advisory
https://access.redhat.com/errata/RHSA-2026:69964vendor-advisory
https://access.redhat.com/errata/RHSA-2026:72502vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-5278 changed 2026-11-06CVE Terms of Use
NVDCVE-2025-5278 changed 2026-11-06Public domain