Buffer Overflow Affecting ntfs-3g package, versions <1:2022.10.3-1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.38% (33rd 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-ECHOLATEST-NTFS3G-17993897
  • published16 Jul 2026
  • disclosed6 Nov 2022

Introduced: 6 Nov 2022

CVE-2022-40284  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Echo:latest ntfs-3g to version 1:2022.10.3-1 or higher.

NVD Description

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

A buffer overflow was discovered in NTFS-3G before 2022.10.3. Crafted metadata in an NTFS image can cause code execution. A local attacker can exploit this if the ntfs-3g binary is setuid root. A physically proximate attacker can exploit this if NTFS-3G software is configured to execute upon attachment of an external storage device.

CVSS Base Scores

version 3.1