LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39254: A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in t...

A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTFS-3G < 2021.8.22.

MediumCVSS 6.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-39254 affects NTFS-3G before 2021.8.22. A malicious NTFS disk image can trigger memory corruption while NTFS-3G resizes an attribute record. Business urgency is moderate because exploitation is local and requires high privileges, but successful abuse could affect confidentiality, integrity, and availability.

Executive priority

Treat as a moderate patching item. Prioritize systems that handle removable media, disk images, or forensic evidence, especially where privileged automation processes NTFS content.

Technical view

The flaw is an integer overflow leading to a heap-based buffer overflow in ntfs_attr_record_resize, reached through a crafted NTFS image. The CVSS 3.1 vector is AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, indicating local, low-complexity exploitation requiring high privileges and no user interaction.

Likely exposure

Exposure is most likely on Linux or Unix-like systems that include NTFS-3G before 2021.8.22 or distribution packages covered by Debian, Fedora, or Gentoo advisories. The source bundle does not provide precise affected CPEs.

Exploitation context

The bundle does not cite active exploitation, and KEV is false. Practical risk depends on whether privileged local users or services process untrusted NTFS images. No remote exploitation path is described in the provided sources.

Researcher notes

The affected product metadata is incomplete in the bundle, but the description and advisories identify NTFS-3G before 2021.8.22. The key technical issue is integer overflow before memmove, producing heap corruption in ntfs_attr_record_resize.

Mitigation direction

  • Upgrade NTFS-3G to 2021.8.22 or later where available.
  • Apply fixed distribution packages from Debian, Fedora, Gentoo, or your OS vendor.
  • Limit privileged processing or mounting of untrusted NTFS images.
  • Check vendor guidance if running backported distribution packages.

Validation and detection

  • Inventory installed ntfs-3g package versions across Linux and Unix-like hosts.
  • Confirm versions are 2021.8.22 or vendor-fixed backports.
  • Review systems that mount or inspect removable or user-supplied NTFS media.
  • Verify package updates are deployed on servers, endpoints, and forensic workstations.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-190: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-20: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-39254 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.7 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
8Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.7CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H0.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.7Medium
CVSS 3.1 vector shape for CVE-2021-39254Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-190 · source CWE mapping

Integer Overflow or Wraparound

Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-20 · source CWE mapping

Improper Input Validation

Improper Input Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.