Buffer Overflow Affecting qemu-block-curl package, versions <10:3.1.0-8.amzn2.0.22


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (39th 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-QEMUBLOCKCURL-13879967
  • published11 Nov 2025
  • disclosed29 Apr 2022

Introduced: 29 Apr 2022

CVE-2021-4206  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 qemu-block-curl to version 10:3.1.0-8.amzn2.0.22 or higher.
This issue was patched in ALAS2-2025-3061.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-block-curl package and not the qemu-block-curl package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A flaw was found in the QXL display device emulation in QEMU. An integer overflow in the cursor_alloc() function can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. This flaw allows a malicious privileged guest user to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.

CVSS Base Scores

version 3.1