Skip to content
Fencer Vulns
medium 6.7

CVE-2022-30788 json

A crafted NTFS image can cause a heap-based buffer overflow in ntfs_mft_rec_alloc in NTFS-3G through 2021.8.22.

published 2022-05-26 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-52611

cvss
6.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

A crafted NTFS image can cause a heap-based buffer overflow in ntfs_mft_rec_alloc in NTFS-3G through 2021.8.22.

Patch / fix

  • ntfs-3g Debian 14, Debian 13, Debian 12 1:2022.5.17-1

debian advisories DEBIAN-CVE-2022-30788

  • ntfs-3g Ubuntu 18.04 LTS 1:2017.3.23-2ubuntu0.18.04.4
  • ntfs-3g Ubuntu 20.04 LTS 1:2017.3.23AR.3-3ubuntu1.2
  • ntfs-3g Ubuntu 22.04 LTS 1:2021.8.22-3ubuntu1.1
  • ntfs-3g Ubuntu Pro 14.04 LTS 1:2013.1.13AR.1-2ubuntu2+esm3
  • ntfs-3g Ubuntu Pro 16.04 LTS 1:2015.3.14AR.1-1ubuntu0.3+esm3

ubuntu advisories UBUNTU-CVE-2022-30788

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • SLOF RHEL 8 20210217-1.module+el8.8.0+16781+9f4724c2
  • hivex RHEL 8 1.3.18-23.module+el8.8.0+16781+9f4724c2
  • netcf RHEL 8 0.2.8-12.module+el8.8.0+16781+9f4724c2
  • swtpm RHEL 8 0.7.0-4.20211109gitb79fd91.module+el8.8.0+16781+9f4724c2
  • libnbd RHEL 8 1.6.0-5.module+el8.8.0+16781+9f4724c2
  • nbdkit RHEL 8 1.24.0-5.module+el8.8.0+17308+05924798
  • libtpms RHEL 8 0.9.1-2.20211126git1ff6fe1f43.module+el8.8.0+18453+e0bf0d1d
  • libvirt RHEL 8 8.0.0-19.module+el8.8.0+18453+e0bf0d1d

red hat advisories RHSA-2023:2757RHSA-2023:2179

  • ntfs-3g_ntfsprogs SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 2022.5.17-5.12.1
  • ntfs-3g_ntfsprogs SLE Workstation Extension 15 SP4, SLE Workstation Extension 15 SP3, openSUSE Leap 15.4 +1 more 2022.5.17-150000.3.11.1

suse advisories SUSE-SU-2022:2836-1SUSE-SU-2022:2835-1

  • ntfs-3g_ntfsprogs openSUSE Tumbleweed 2022.5.17-1.1

opensuse advisories openSUSE-SU-2024:12115-1

  • SLOF AlmaLinux 8 20210217-1.module_el8.6.0+2880+7d9e3703
  • hivex AlmaLinux 8 1.3.18-23.module_el8.6.0+2880+7d9e3703
  • hivex AlmaLinux 8 1.3.18-23.module_el8.6.0+3161+a07c0ea5
  • netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+2880+7d9e3703
  • netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+3161+a07c0ea5
  • swtpm AlmaLinux 8 0.7.0-4.20211109gitb79fd91.module_el8.7.0+3346+68867adb
  • libnbd AlmaLinux 8 1.6.0-5.module_el8.6.0+2880+7d9e3703
  • libnbd AlmaLinux 8 1.6.0-5.module_el8.6.0+3161+a07c0ea5

almalinux advisories ALSA-2023:2757ALSA-2023:2179

  • hivex Rocky Linux 8 1.3.18-23.module+el8.10.0+1835+43f01cbb
  • hivex Rocky Linux 8 1.3.18-23.module+el8.10.0+1590+a67ab969
  • netcf Rocky Linux 8 0.2.8-12.module+el8.10.0+1590+a67ab969
  • netcf Rocky Linux 8 0.2.8-12.module+el8.10.0+1835+43f01cbb
  • swtpm Rocky Linux 8 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1835+43f01cbb
  • swtpm Rocky Linux 8 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1590+a67ab969
  • libnbd Rocky Linux 8 1.6.0-5.module+el8.10.0+1835+43f01cbb
  • libnbd Rocky Linux 8 1.6.0-5.module+el8.10.0+1590+a67ab969

rocky linux advisories RLSA-2023:2757

  • ntfs-3g Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 2022.5.17-r0

alpine advisories ALPINE-CVE-2022-30788

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ntfs-3g CBL-Mariner 2.0 2022.5.17-1

azure linux advisories AZL-9850

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • ntfs-3g Arch Linux 2022.5.17-1

arch linux advisories AVG-2749

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-30788 updated cvss 7.8

ntfs-3g: crafted NTFS image can cause a heap-based buffer overflow in ntfs_mft_rec_alloc

  • Red Hat Enterprise Linux 7 libguestfs-winsupport
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 Advanced Virtualization libguestfs-winsupport
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) libnbd 1.6.0-5.module+el8.8.0+16781+9f4724c2, netcf 0.2.8-12.module+el8.8.0+16781+9f4724c2, hivex 1.3.18-23.module+el8.8.0+16781+9f4724c2, nbdfuse 1.6.0-5.module+el8.8.0+16781+9f4724c2, nbdkit 1.24.0-5.module+el8.8.0+17308+05924798, SLOF 20210217-1.module+el8.8.0+16781+9f4724c2, +104 more
    fixed: vendor fix RHSA-2023:2757
  • Red Hat Enterprise Linux AppStream (v. 9) libguestfs-winsupport 9.2-1.el9
    fixed: vendor fix RHSA-2023:2179
  • Red Hat Enterprise Linux CRB (v. 8) libnbd 1.6.0-5.module+el8.8.0+16781+9f4724c2, netcf 0.2.8-12.module+el8.8.0+16781+9f4724c2, hivex 1.3.18-23.module+el8.8.0+16781+9f4724c2, nbdfuse 1.6.0-5.module+el8.8.0+16781+9f4724c2, SLOF 20210217-1.module+el8.8.0+16781+9f4724c2, libvirt 8.0.0-19.module+el8.8.0+18453+e0bf0d1d, +38 more
    fixed: vendor fix RHSA-2023:2757

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
11 mo ago

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.7 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 6.7 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.