Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2021-39257: A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite)…

MediumCVSS 5.5 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.38% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: hivex (AlmaLinux:8) 1.3.18-23.module_el8.6.0+2880+7d9e3703; hivex-devel (AlmaLinux:8) 1.3.18-23.module_el8.6.0+2880+7d9e3703; libguestfs (AlmaLinux:8) 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma.

Low priority for now. Upgrade to hivex (AlmaLinux:8) 1.3.18-23.module_el8.6.0+2880+7d9e3703; hivex-devel (AlmaLinux:8) 1.3.18-23.module_el8.6.0+2880+7d9e3703; libguestfs (AlmaLinux:8) 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.

Published
Sep 7, 2021
Updated
Jun 17, 2026
EPSS
0.3% · 32th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-39257

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
tuxerantfs-3g
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux11.0
  • debian debian linux9.0
  • tuxera ntfs-3gbefore 2021.8.22

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8hivexbefore 1.3.18-23.module_el8.6.0+2880+7d9e37031.3.18-23.module_el8.6.0+2880+7d9e3703
AlmaLinux:8hivex-develbefore 1.3.18-23.module_el8.6.0+2880+7d9e37031.3.18-23.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libguestfsbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-appliancebefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-bash-completionbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-develbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-gfs2before 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-gobjectbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-gobject-develbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-inspect-iconsbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-javabefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-java-develbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-javadocbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-man-pages-jabefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-man-pages-ukbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-rescuebefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-rsyncbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-toolsbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-tools-cbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libguestfs-winsupportbefore 8.6-1.module_el8.6.0+2880+7d9e37038.6-1.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libguestfs-xfsbefore 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
AlmaLinux:8libiscsibefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libiscsi-develbefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libiscsi-utilsbefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703

+96

Other highest-scoring records for the same primary product.

  • CVE-2017-0358ntfs-3g: Modprobe influence vulnerability via environment variables
    40Plan
  • CVE-2026-40706In 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…
    33Monitor
  • CVE-2026-46570In NTFS-3G before 2026.7.7, a heap buffer overflow exists in ntfs_index_walk_down() in libntfs-3g/index.c that allows an attacker to…
    32Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2021-39255Sep 7, 2021 · A crafted NTFS image can trigger an out-of-bounds read, caused by an invalid attribute in ntfs_attr_find_in_attrdef, in NTFS-3G < 2021.8.22.
    31Monitor
  • ← EarlierCVE-2021-39256Sep 7, 2021 · A crafted NTFS image can cause a heap-based buffer overflow in ntfs_inode_lookup_by_name in NTFS-3G < 2021.8.22.
    31Monitor
  • Later →CVE-2021-39258Sep 7, 2021 · A crafted NTFS image can cause out-of-bounds reads in ntfs_attr_find and ntfs_external_attr_find in NTFS-3G < 2021.8.22.
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:hivex1.3.18-23.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:hivex-devel1.3.18-23.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs-appliance1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs-bash-completion1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs-devel1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs-gfs21:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs-gobject1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs-gobject-devel1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs-inspect-icons1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:libguestfs-java1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma · AlmaLinux:8Package registry (OSV)
almalinux:SLOF20210217-1.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
debian:ntfs-3g1:2021.8.22-2 · Debian:12Package registry (OSV)
opensuse:ntfs-3g_ntfsprogs2021.8.22-lp152.5.3.1 · openSUSE:Leap 15.2Package registry (OSV)
red hat:hivex0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:hivex-debuginfo0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:hivex-debugsource0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:hivex-devel0:1.3.18-21.module+el8.4.0+11609+2eba841a · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:libguestfs1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:libguestfs-bash-completion1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:libguestfs-debuginfo1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:libguestfs-debugsource1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:libguestfs-devel1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:libguestfs-gfs21:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:libguestfs-gobject1:1.44.0-2.module+el8.4.0+10146+75917d2f · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
red hat:SLOF0:20200717-1.gite18ddad8.module+el8.4.0+8855+a9e237a9 · Red Hat:advanced_virtualization:8.4::el8Package registry (OSV)
rocky linux:hivex0:1.3.18-23.module+el8.7.0+1084+97b81f61 · Rocky Linux:8Package registry (OSV)
rocky linux:libguestfs1:1.44.0-5.module+el8.6.0+1052+ff61d164.rocky · Rocky Linux:8Package registry (OSV)
rocky linux:libguestfs-winsupport0:8.6-1.module+el8.7.0+1084+97b81f61 · Rocky Linux:8Package registry (OSV)
rocky linux:libiscsi0:1.18.0-8.module+el8.7.0+1084+97b81f61 · Rocky Linux:8Package registry (OSV)

+9

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

References

All records