LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21827: A heap-based buffer overflow vulnerability exists in the XML Decompression DecodeTreeBlock functionality of...

A heap-based buffer overflow vulnerability exists in the XML Decompression DecodeTreeBlock functionality of AT&T Labs Xmill 0.7. Within `DecodeTreeBlock` which is called during the decompression of an XMI file, a UINT32 is loaded from the file and used as trusted input as the length of a buffer. An attacker can provide a malicious file to trigger this vulnerability.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw affects Xmill XML decompression when handling a crafted XMI file. A malicious file can cause memory corruption, with potential confidentiality, integrity, and availability impact. It matters most where AT&T Labs Xmill 0.7 or listed Schneider Electric EcoStruxure Control Expert 15 workflows process untrusted files.

Executive priority

Treat as high priority for industrial or engineering environments that process external project or XML files. Urgency is lower where the affected decompression component is absent or only handles trusted internal files.

Technical view

CVE-2021-21827 is a heap-based buffer overflow in DecodeTreeBlock during XML decompression. The vulnerable code loads a UINT32 from the XMI file and trusts it as a buffer length. The CVSS 3.0 score is 8.1, with network attack vector, high complexity, no privileges, and no user interaction.

Likely exposure

Exposure is most likely in environments running AT&T Labs Xmill 0.7 or Schneider Electric EcoStruxure Control Expert 15 where XMI/XML decompression processes attacker-supplied or externally sourced files.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation evidence. Public sources support that a malicious file can trigger the vulnerability, but do not establish observed exploitation in the wild.

Researcher notes

The key issue is trusted length parsing inside DecodeTreeBlock. Affected-product metadata in the bundle is limited and somewhat coarse, so validation should confirm the exact product build, bundled library exposure, and reachable file-processing path.

Mitigation direction

  • Identify any use of AT&T Labs Xmill 0.7 or the listed Schneider Electric product version.
  • Check Talos and vendor guidance for supported updates or product-specific remediation.
  • Avoid processing untrusted XMI files through affected decompression paths.
  • Isolate affected engineering or file-processing systems from untrusted inputs where practical.
  • Apply compensating controls around file intake, scanning, and source validation.

Validation and detection

  • Inventory hosts and applications for Xmill 0.7 and EcoStruxure Control Expert 15.
  • Map workflows that ingest XMI or compressed XML from external sources.
  • Review crash logs for unexplained decompression failures or heap corruption near XML processing.
  • Confirm installed versions against vendor advisories before marking systems remediated.
  • Document whether any affected component is reachable through automated file-processing services.
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.

cwe · low confidence lookup

CWE-120: 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-21827 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
8.1 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:N/AC:H/PR:N/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
8.1CVSS 3.0HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

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

Vector: CVSS:3.0/AV:N/AC:H/PR:N/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.7, Schneider Electric EcoStruxure Control Expert 15Listed
Weakness

CWE details

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

CWE-120 · source CWE mapping

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.