Heap-based Buffer Overflow Affecting linux-qemu-6.18 package, versions <6.18.10-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.1% (29th 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-LINUXQEMU618-15043819
  • published21 Jan 2026
  • disclosed16 Jul 2018

Introduced: 16 Jul 2018

CVE-2018-10840  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Chainguard linux-qemu-6.18 to version 6.18.10-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-qemu-6.18 package and not the linux-qemu-6.18 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Linux kernel is vulnerable to a heap-based buffer overflow in the fs/ext4/xattr.c:ext4_xattr_set_entry() function. An attacker could exploit this by operating on a mounted crafted ext4 image.

CVSS Base Scores

version 3.1