{"id":"CVE-2025-5278","summary":"Coreutils: heap buffer under-read in gnu coreutils sort via key specification","details":"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.","modified":"2026-11-18T06:02:28.192264270Z","published":"2025-05-27T20:52:58.545Z","related":["ALSA-2026:28911","ALSA-2026:33124","ALSA-2026:69964","SUSE-SU-2025:02353-1","SUSE-SU-2025:02354-1","SUSE-SU-2025:02362-1","SUSE-SU-2025:20523-1","SUSE-SU-2025:20660-1","openSUSE-SU-2025:15327-1"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5278.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/05/27/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/05/29/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/05/29/2"},{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://cgit.git.savannah.gnu.org/cgit/coreutils.git/"},{"type":"WEB","url":"https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8c9602e3a145e9596dc1a63c6ed67865814b6633"},{"type":"WEB","url":"https://cgit.git.savannah.gnu.org/cgit/coreutils.git/tree/NEWS?id=8c9602e3a145e9596dc1a63c6ed67865814b6633#n14"},{"type":"WEB","url":"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78507"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2025-5278"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28911"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33124"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33313"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33612"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34102"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:39981"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:44481"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:46836"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:50205"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:58981"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:69964"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72502"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82304"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82322"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82347"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82354"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82372"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82857"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82888"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-5278"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5278.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5278"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2368764"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://cgit.git.savannah.gnu.org/cgit/coreutils.git","events":[{"introduced":"0"},{"fixed":"8c9602e3a145e9596dc1a63c6ed67865814b6633"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"8c9602e3a145e9596dc1a63c6ed67865814b6633"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5278.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L"}]}