CVE-2026-51266
Deferred Deferred - Pending Action

Heap Overflow in schreibfaul1 ESP32-audioI2S

Vulnerability report for CVE-2026-51266, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-28

Last updated on: 2026-07-28

Assigner: MITRE

Description

schreibfaul1 ESP32-audioI2S 3.4.5 has a heap-based buffer overflow vulnerability in the HTTP request header construction logic. The application dynamically splices attacker-controlled host name, path, query string, and multiple HTTP header fields into a fixed ps_ptr heap buffer without proper size limitation and boundary validation. Remote attackers can use an oversized crafted network request parameter to trigger out-of-bounds heap write, leading to arbitrary code execution.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-28
Last Modified
2026-07-28
Generated
2026-07-28
AI Q&A
2026-07-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
schreibfaul1 esp32-audioi2s 3.4.5

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a heap-based buffer overflow in the ESP32-audioI2S library version 3.4.5. The vulnerability occurs in the HTTP request header construction logic, specifically in the Audio::connecttohost() function. Attacker-controlled input fields like host name, path, query string, and HTTP headers are concatenated into a fixed-size heap buffer without proper size checks. This allows an oversized crafted parameter to trigger out-of-bounds heap writes, potentially leading to arbitrary code execution or denial of service.

Detection Guidance

Monitor network traffic for unusually long HTTP request headers or URLs containing excessive parameters. Use tools like Wireshark to inspect HTTP headers for oversized host, path, or query strings. Check ESP32 device logs for crashes or watchdog timeouts during audio stream connections.

Impact Analysis

The primary impact is remote denial of service where the ESP32 device crashes due to a watchdog timeout, permanently disconnecting audio streams. Secondary risks include heap metadata corruption that could enable remote arbitrary code execution under specific memory conditions, as well as out-of-bounds memory reads that may leak sensitive device runtime and audio data.

Mitigation Strategies

Disable the ESP32-audioI2S library version 3.4.5 if used in audio streaming applications. Implement input length validation for HTTP headers and URLs before processing. Use a network firewall to block malformed requests with excessively long parameters.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-51266. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart