ZeroHour

CVE-2026-87961

niche

Heap Out-of-Bounds Read in ESP32-audioI2S MP3/ID3 Parsing

CVSS 4.0
7.1 high
EPSS
Published
()
Modified
AI analysis

ESP32-audioI2S, an open-source audio-playback library for ESP32 microcontrollers, versions 3.4.4 through 4.0.0 contain a heap-based out-of-bounds read (CWE-125) in the read_ID3_Header function, caused by a shadowed length parameter when processing ID3 synchronized-lyrics data. The flaw is triggered when the device parses a crafted MP3 file or HTTP audio stream whose ID3 frame declares an oversized frame size, causing the parser to read beyond the allocated buffer. An attacker who can make the device play such a stream (for example, a malicious internet-radio stream or MP3 file) can crash the device or expose small amounts of adjacent heap memory; there is no indication of remote code execution. Any ESP32-based device or embedded project built with the library in the affected version range that plays untrusted MP3 or HTTP audio content is exposed. No public proof-of-concept or in-the-wild exploitation is known, and the issue is not in CISA's KEV catalog.

What to do: Projects built on ESP32-audioI2S should check which library version they compile against and update to the latest patched release beyond the affected 3.4.4–4.0.0 range, then rebuild and reflash affected firmware. Until patched, limit devices to streaming audio from trusted sources, since exploitation requires the device to parse an attacker-crafted MP3 file or HTTP stream. Monitor the project's repository and the VulnCheck advisory for the fixed version and any emerging proof-of-concept.

Affected
ESP32-audioI2S project (open source) ESP32-audioI2S library3.4.4 through 4.0.0
Estimated exposure
nichelikely thousands of devices at most (open-source ESP32 Arduino library used mainly in DIY internet-radio and speaker projects; no public install counts) — No active-install or internet-scan data exists for this library, so the estimate rests on its role as a hobbyist-oriented open-source Arduino/ESP32 library rather than a mass-market product component.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

ESP32-audioI2S versions 3.4.4 through 4.0.0 contain a heap-based out-of-bounds read vulnerability in the read_ID3_Header function due to a shadowed length parameter in ID3 synchronized-lyrics processing. Attackers can craft malicious MP3 files or HTTP audio streams with oversized frame size declarations to read past allocated buffer boundaries, causing device crashes or exposing adjacent heap memory.

Weakness
CWE-125
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.