Incorrect Calculation of Buffer Size Affecting grub2-common package, versions <1:2.06-14.amzn2.0.7


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-AMZN2-GRUB2COMMON-14882612
  • published7 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:2 grub2-common to version 1:2.06-14.amzn2.0.7 or higher.
This issue was patched in ALAS2-2025-3107.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-common package and not the grub2-common package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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