Heap-based Buffer Overflow Affecting libntfs-3g-devel package, versions <2022.10.3-160000.3.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.17% (7th 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-SLES1600-LIBNTFS3GDEVEL-16419845
  • published5 May 2026
  • disclosed29 Apr 2026

Introduced: 29 Apr 2026

CVE-2026-40706  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 libntfs-3g-devel to version 2022.10.3-160000.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libntfs-3g-devel package and not the libntfs-3g-devel package as distributed by SLES. See How to fix? for SLES:16.0.0 relevant fixed versions and status.

In NTFS-3G 2022.10.3 before 2026.2.25, a heap buffer overflow exists in ntfs_build_permissions_posix() in acls.c that allows an attacker to corrupt heap memory in the SUID-root ntfs-3g binary by crafting a malicious NTFS image. The overflow is triggered on the READ path (stat, readdir, open) when processing a security descriptor with multiple ACCESS_DENIED ACEs containing WRITE_OWNER from distinct group SIDs.

CVSS Base Scores

version 3.1