Incorrect Calculation of Buffer Size Affecting grub2-tools-minimal package, versions <1:2.06-61.amzn2023.0.21


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.19% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-GRUB2TOOLSMINIMAL-14903812
  • published9 Jan 2026
  • disclosed18 Nov 2025

Introduced: 18 Nov 2025

CVE-2025-61661  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 grub2-tools-minimal to version 1:2.06-61.amzn2023.0.21 or higher.
This issue was patched in ALAS2023-2025-1342.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-tools-minimal package and not the grub2-tools-minimal package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A vulnerability has been identified in the GRUB (Grand Unified Bootloader) component. This flaw occurs because the bootloader mishandles string conversion when reading information from a USB device, allowing an attacker to exploit inconsistent length values. A local attacker can connect a maliciously configured USB device during the boot sequence to trigger this issue. A successful exploitation may lead GRUB to crash, leading to a Denial of Service. Data corruption may be also possible, although given the complexity of the exploit the impact is most likely limited.

CVSS Base Scores

version 3.1