LiveActive security incident?Get immediate response
CVE Record

CVE-2021-34262: A buffer overflow vulnerability in the USBH_ParseEPDesc() function of STMicroelectronics STM32Cube Middlewa...

A buffer overflow vulnerability in the USBH_ParseEPDesc() function of STMicroelectronics STM32Cube Middleware v1.8.0 and below allows attackers to execute arbitrary code.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This CVE describes a buffer overflow in STMicroelectronics STM32Cube Middleware USB host parsing code. If a product includes the affected code, malformed USB endpoint descriptor handling could lead to arbitrary code execution. Public metadata lacks CVSS, normalized affected products, and named fixes, so urgency depends on where this middleware is embedded.

Executive priority

Treat this as an embedded-product inventory and vendor-follow-up item, not a generic enterprise patch event. Priority rises for products that allow untrusted USB devices and use affected STM32Cube Middleware code.

Technical view

The reported flaw is in USBH_ParseEPDesc() in STMicroelectronics STM32Cube Middleware v1.8.0 and below. The CVE description states a buffer overflow may allow arbitrary code execution. The source bundle does not provide CVSS, CWE mapping, exploit details, affected CPEs, or a confirmed remediation version.

Likely exposure

Exposure is most likely in embedded firmware or products built with STM32Cube Middleware USB host components v1.8.0 or below. The CVE record’s affected-product metadata is incomplete, so teams need source, SBOM, and vendor-package validation rather than relying on scanner CPE matches alone.

Exploitation context

The source bundle does not show CISA KEV listing or public exploitation evidence. The stated impact is arbitrary code execution, but exploitability depends on the firmware’s USB host role, reachable USB descriptor parsing path, memory protections, and product-specific trust boundaries.

Researcher notes

Metadata quality is limited: no CVSS, no CWE, no CPEs, and no named fix in the provided bundle. Research should focus on confirming affected code lineage, vendor branch status, and whether product firmware reaches USBH_ParseEPDesc() with attacker-controlled descriptors.

Mitigation direction

  • Check STMicroelectronics guidance and the referenced GitHub issue for confirmed remediation details.
  • Inventory firmware using STM32Cube Middleware v1.8.0 or below.
  • Prioritize products exposing USB host functionality to untrusted physical devices.
  • Upgrade or patch only according to confirmed vendor-maintained STM32Cube guidance.
  • Where feasible, reduce exposure to untrusted USB devices pending vendor remediation.

Validation and detection

  • Review SBOMs and source trees for STM32Cube Middleware USB host components.
  • Confirm whether USBH_ParseEPDesc() is present in shipped firmware.
  • Verify middleware version against v1.8.0-and-below exposure language.
  • Check whether the device actually accepts untrusted USB endpoint descriptors.
  • Document any compensating controls around physical USB access.
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.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-34262 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
Unknown
CVSS
Not scored
Known Exploited
No
Published
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.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

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