LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21813: Within the function HandleFileArg the argument filepattern is under control of the user who passes it in fr...

Within the function HandleFileArg the argument filepattern is under control of the user who passes it in from the command line. filepattern is passed directly to memcpy copying the path provided by the user into a staticly sized buffer without any length checks resulting in a stack-buffer overflow.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This vulnerability affects AT&T Labs Xmill 0.7, a command-line XML compression tool. A local user can supply an overly long file pattern that overflows a fixed stack buffer. The published CVSS score is high because successful memory corruption could allow code execution or service disruption on the affected host.

Executive priority

Prioritize remediation on systems where untrusted local users, shared service accounts, or automation can run Xmill. Business urgency is lower than a remotely exploitable internet-facing issue, but high-impact memory corruption in legacy tooling should not remain broadly executable.

Technical view

CVE-2021-21813 is a stack-buffer overflow in HandleFileArg. The user-controlled filepattern argument is copied with memcpy into a statically sized buffer without length checks. CVSS 3.0 is 7.8: local attack vector, low complexity, low privileges, no user interaction, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely where AT&T Labs Xmill 0.7 remains installed and executable by local users, service accounts, or automation that accepts user-controlled command-line file patterns. The provided sources do not identify affected downstream packages, operating systems, or remote services.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation. The CVSS vector indicates local exploitation requiring low privileges and no user interaction after access. Treat this as post-access privilege or impact risk rather than an internet-facing remote entry point unless your deployment exposes the binary through another service.

Researcher notes

Evidence supports a local stack-buffer overflow in HandleFileArg caused by unchecked memcpy of a command-line-controlled filepattern. The supplied record names AT&T Labs Xmill 0.7 and gives no patch status. Do not assume remote reachability, active exploitation, or affected forks without additional source evidence.

Mitigation direction

  • Inventory and remove AT&T Labs Xmill 0.7 where it is not required.
  • Check vendor or Talos guidance for an official fixed version or advisory updates.
  • Restrict execution to trusted administrators and service accounts only.
  • Avoid passing user-controlled file patterns into Xmill automation.
  • Replace exposed workflows with maintained tooling where feasible.

Validation and detection

  • Search asset inventories for AT&T Labs Xmill 0.7 installations.
  • Review scripts, jobs, and services that invoke Xmill with external input.
  • Confirm whether untrusted local users can execute the binary.
  • Check endpoint logs for unusual Xmill crashes or memory-fault events.
  • Document compensating controls if removal or replacement is delayed.
Prepared
Confidence
medium
Sources
3

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.

cve · low confidence lookup

CVE-2021-21813 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
High
CVSS
7.8 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:L/AC:L/PR:L/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
2Source 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
7.8CVSS 3.0HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

7.8High
CVSS 3.0 vector shape for CVE-2021-21813Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:L/AC:L/PR:L/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/aAT&TAT&T Labs Xmill 0.7Listed
Weakness

CWE details

No CWE listed

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