Medium
Security advisory
A buffer overflow vulnerability in the USBH_ParseEPDesc() function of STMicroelectronics STM32Cube Middleware v1.8.0 and below allows attackers to execute arbitrary code.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-34262
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:48 UTC · Revision 1
Source evidence
A buffer overflow vulnerability in the USBH_ParseEPDesc() function of STMicroelectronics STM32Cube Middleware v1.8.0 and below allows attackers to execute arbitrary code.
osv:CVE-2021-34262
Complete source record
{
"id": "b660dc02c54238da38dd2786ac03d91fa3e46c693d8f64941ca90fe8f3c2be1b",
"url": "https://osv.dev/vulnerability/CVE-2021-34262",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-34262",
"summary": "A buffer overflow vulnerability in the USBH_ParseEPDesc() function of STMicroelectronics STM32Cube Middleware v1.8.0 and below allows attackers to execute arbitrary code.",
"evidence": "osv:CVE-2021-34262",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-34262",
"aliases": [
"CVE-2021-34262"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/stmicroelectronics/stm32cubeh7",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "beced99ac090fece04d1e0eb6648b8075e156c6c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:st:stm32cube_middleware:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.8.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.8.0",
"v1.7.0",
"v1.6.0",
"v1.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-34262.json"
}
}
],
"modified": "2026-10-20T10:54:45.047873223Z",
"provider": "osv",
"references": [
"https://github.com/STMicroelectronics/STM32CubeH7/issues/81"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-34262",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386075,
"published_at": "2021-07-22T20:15:08.253+00:00"
}