Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure device to malicious stream URL
-
DeliveryReturn oversized host/query segment
-
Exploitdismantle_host() parses untrusted input
-
Executionclone_from() copies past fixed heap buffer
-
PersistCorrupt heap metadata
-
ImpactCrash or execute code on ESP32
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the device parse an attacker-influenced audio stream host or URL - specifically a host, request-host, extension, or query_string segment long enough to overflow the fixed heap buffer used by clone_from() after dismantle_host() processes it. The practical limiting factor is delivery of that malicious string: the ESP32 must connect to an attacker-controlled, redirected, or MITM'd streaming endpoint, since URLs are typically developer-configured rather than freely attacker-supplied - so firmware that only ever connects to hard-coded trusted hosts is not realistically reachable. No authentication, user interaction, or non-default configuration on the ESP32 side is otherwise needed (CVSS PR:N/UI:N), and the bug is present in the default parsing path of version 3.4.5. |
| Impact | The signals are mixed and should be read together rather than trusting the headline CVSS 9.8 alone. The CVSS vector (AV:N/AC:L/PR:N/UI:N) and SSVC (Automatable: yes, Technical Impact: total) argue for high priority, and a heap overflow reachable from the parsed URL/host is genuinely dangerous on an unhardened microcontroller. However, EPSS is very low at 0.18% (8th percentile), SSVC exploitation is 'none', there is no KEV listing and no public exploit identified, indicating exploitation is currently theoretical. Critically, AV:N/PR:N assumes the attacker can freely deliver a malicious host/URL to the device; in practice the URL is usually set by the firmware developer, so remote exploitation realistically requires the ESP32 to connect to an attacker-controlled or attacker-influenced stream server, redirect, or DNS/MITM position - verify this deployment assumption, as it materially lowers real-world reachability versus the raw score. Net: a real memory-safety bug worth patching for any device that fetches untrusted or third-party stream URLs, but not an internet-wide worming threat. |
| Exploit ScenarioDerived | An attacker operates or hijacks (via DNS spoofing, HTTP redirect, or a MITM position) a web-radio server that an ESP32-audioI2S 3.4.5 device connects to, and returns a response whose host, extension, or query-string segment is far longer than the library's fixed heap buffer. When dismantle_host() parses it and clone_from() copies it, the heap overflows, crashing the device or potentially executing attacker-chosen code. No public exploit is identified at time of analysis, but SSVC marks the technical impact as total and the attack as automatable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
Heap buffer overflow in schreibfaul1's ESP32-audioI2S library version 3.4.5 lets an attacker who controls the audio stream host or URL corrupt memory on the ESP32 microcontroller. The dismantle_host() parser feeds attacker-supplied host, request-host, extension, and query-string segments into clone_from(), which copies them into fixed-size heap buffers without length checks, enabling potential remote code execution or device crash. Rated CVSS 9.8 with SSVC marking technical impact as total and exploitation as automatable, though EPSS is only 0.18% and there is no public exploit identified at time of analysis.
RemediationAI
No vendor-released patch identified at time of analysis; the references point only to the master source file and a third-party advisory, not a tagged fixed release, so monitor the schreibfaul1/ESP32-audioI2S GitHub repository (https://github.com/schreibfaul1/ESP32-audioI2S) for a release above 3.4.5 and upgrade the library dependency once published. As compensating controls until a fix ships: hard-code or allowlist only trusted stream host/URL values in firmware and refuse dynamically supplied URLs (removes the untrusted-input path at the cost of losing user-configurable stations); enforce a strict maximum length on any host/URL string before passing it to the library so oversized segments are rejected before dismantle_host() runs (trade-off: may truncate legitimately long query strings); pin streaming to HTTPS with certificate validation and avoid HTTP redirects to blunt MITM/redirect-based delivery of a malicious host; and where feasible enable ESP-IDF heap poisoning/heap corruption detection in debug builds to fail fast on overflow. See the advisory at https://github.com/programmervuln/cveadvisory-/blob/main/CVE-2026-51268 and the NVD record for updates.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ESP32-audioI2S is a popular Arduino/PlatformIO C++ library that streams internet audio (HTTP/HTTPS, ICY/Shoutcast, web radio, file playback) to an I2S DAC on Espressif ESP32 microcontrollers. The flaw is a classic CWE-122 heap-based buffer overflow: the URL/host string handed to the streaming client is decomposed by dismantle_host() in src/Audio.cpp into component segments (parsed host, request host, extension, query string), and clone_from() then memcpy/strcpy-style copies each segment into a pre-allocated fixed heap buffer. Because no boundary or length validation is performed before the copy, an oversized segment writes past the allocation, corrupting adjacent heap metadata or objects. On the resource-constrained ESP32 (no ASLR, limited heap hardening, FreeRTOS), such corruption is a strong primitive for control-flow hijack or denial of service.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable heap overflow with total impact, but AC:H because the attacker must maneuver the device into fetching an attacker-controlled or redirected stream host rather than delivering input directly.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
schreibfaul1 ESP32-audioI2S 3.4.5 has a heap-based buffer overflow vulnerability in the host parsing logic. The dismantle_host() function parses untrusted host and URL input, and subsequent code uses clone_from() to copy parsed host, request host, extension and query_string segments into fixed heap buffers without boundary checking.
Executive ViewAI
The ESP32-audioI2S audio streaming library version 3.4.5 contains a critical vulnerability that could allow attackers to remotely execute code or disable connected devices if they can control the audio stream source. Organizations using this library in IoT, embedded systems, or audio applications face risk of device compromise or service disruption, with no vendor security patch currently available. Immediate action is required to identify exposure and implement interim controls before an exploit becomes publicly available.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict ESP32 devices to pull audio streams only from hardcoded, trusted internal sources via network firewall rules and URL allowlisting; (2) Implement application-level input validation to sanitize host and URL parameters before passing to the audio library; (3) Establish monitoring and alerting for ESP32 device crashes or unexpected restarts; (4) Consider downgrading to an earlier, unaffected library version if feasible and compatible; (5) Subscribe to vendor security advisories and maintain a patch deployment plan for immediate application when available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-49866
GHSA-4g54-v22x-6xq2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB