Bug 2413827 (CVE-2025-61661) - CVE-2025-61661 grub2: Out-of-bounds write
Summary: CVE-2025-61661 grub2: Out-of-bounds write
Keywords:
Status: NEW
Alias: CVE-2025-61661
Deadline: 2025-11-18
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-10 20:19 UTC by OSIDB Bzimport
Modified: 2025-11-18 18:14 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-11-10 20:19:12 UTC
When reading strings from a USB device in grub_usb_get_string() function the initial length is taken from first message read. Then this value is used to allocate memory for UTF-8 destination string. However, during conversion the length value is taken from the second USB device read. This can be dangerous if malicious USB devices are connected because they may expose smaller initial length value, used for memory allocation, and subsequent read may provide larger length, used during conversion. Such behavior may lead to heap overflow during UTF-16 to UTF-8 conversion.


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