CVE-2026-51268
Deferred Deferred - Pending Action

Heap Overflow in ESP32-audioI2S Library

Vulnerability report for CVE-2026-51268, 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 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.

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 2 associated CPEs
Vendor Product Version / Range
schreibfaul1 esp32_audioi2s 3.4.5
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 schreibfaul1 ESP32-audioI2S version 3.4.5. The dismantle_host() function in src/Audio.cpp parses untrusted URL components like host, domain, path, and query without length checks. It copies these segments into fixed-size ps_ptr heap buffers using clone_from(), which can overflow if the input is too large. This leads to memory corruption on ESP32 hardware.

Detection Guidance

To detect this vulnerability, monitor network traffic for unusually long URLs or malformed HTTP requests targeting ESP32-audioI2S devices. Use tools like Wireshark to inspect packet payloads for excessively long host, path, or query parameters. Check system logs for crashes or watchdog reboots on ESP32 devices running version 3.4.5.

Impact Analysis

An attacker could exploit this by providing a malicious stream URL, causing remote denial of service via ESP32 watchdog reboot. In specific conditions, it might allow arbitrary code execution or leak sensitive heap data. Exploitation is remote and unauthenticated, requiring only a crafted URL.

Mitigation Strategies

Immediately restrict network access to ESP32-audioI2S devices until a patch is available. Use firewalls or network segmentation to block untrusted URLs. Monitor device logs for crashes and avoid using vulnerable versions in production environments.

Chat Assistant

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

EPSS Chart