LiveActive security incident?Get immediate response
CVE Record

CVE-2021-34259: A buffer overflow vulnerability in the USBH_ParseCfgDesc() function of STMicroelectronics STM32Cube Middlew...

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This CVE describes a buffer overflow in STMicroelectronics STM32Cube Middleware through v1.8.0. The reported impact is arbitrary code execution, which is serious for embedded products that include the affected USB host parsing code. Public evidence does not show active exploitation or a confirmed fixed version in the provided sources.

Executive priority

Treat this as high priority for embedded products with USB host functionality. Arbitrary code execution in firmware can affect product integrity, safety assumptions, and customer trust, but urgency should be scoped to confirmed use of the affected middleware and parser path.

Technical view

The issue is in USBH_ParseCfgDesc(), a STM32Cube Middleware USB host configuration descriptor parser. The CVE description says v1.8.0 and below are affected and that attackers may execute arbitrary code. The source bundle lacks CVSS, CWE, detailed affected CPEs, exploit evidence, and named remediation.

Likely exposure

Exposure is most likely in embedded firmware built with STM32Cube Middleware v1.8.0 or earlier and using the USB host stack that parses device configuration descriptors. The provided affected-product metadata is incomplete, so confirm by firmware SBOM, source tree, or vendor dependency records.

Exploitation context

The provided sources do not indicate known active exploitation, and the CVE is not listed as KEV. Risk depends on whether a product processes untrusted USB device descriptors through the affected parser. No exploit details should be inferred from the limited public record.

Researcher notes

The public record is thin: one GitHub issue reference, no CVSS vector, no CWE mapping, no CPEs, and no named patch in the provided bundle. Validate reachability and version provenance before assigning exposure broadly across STM32-based products.

Mitigation direction

  • Inventory products and firmware using STM32Cube Middleware v1.8.0 or earlier.
  • Check STMicroelectronics guidance and issue #76 for confirmed remediation details.
  • Request vendor-supported fixed firmware or middleware if no internal patch record exists.
  • Reduce acceptance of untrusted USB peripherals where affected USB host parsing is enabled.
  • Track this CVE in SBOM, VEX, and customer advisory workflows.

Validation and detection

  • Confirm whether firmware includes STM32Cube Middleware USB host components.
  • Verify the exact middleware version used in each affected product line.
  • Determine whether USBH_ParseCfgDesc() is reachable in deployed configurations.
  • Review vendor advisories or issue #76 for fix confirmation before closing.
  • Document unavailable CVSS, CWE, and CPE data as evidence gaps.
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-34259 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.