Bug 2368764 (CVE-2025-5278) - CVE-2025-5278 coreutils: Heap Buffer Under-Read in GNU Coreutils sort via Key Specification
Summary: CVE-2025-5278 coreutils: Heap Buffer Under-Read in GNU Coreutils sort via Key...
Keywords:
Status: NEW
Alias: CVE-2025-5278
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2368766 2368767
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-27 14:09 UTC by OSIDB Bzimport
Modified: 2025-05-27 19:42 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-27 14:09:54 UTC
The vulnerability occurs in pointer arithmetic when parsing an unusually large key value (UINTMAX_MAX) in traditional key syntax (+POS1.C1). If a user executes a crafted command like sort +0.18446744073709551615R, pointer arithmetic may wrap around and return a pointer before the start of the allocated buffer. This flaw can lead to an out-of-bounds memory read and potentially information disclosure.

Affected Versions: GNU Coreutils versions 7.2 through the current version
are affected.


Note You need to log in before you can comment on or make changes to this bug.