CVE-2026-51267
Deferred Deferred - Pending Action

Heap-based Buffer Overflow in schreibfaul1 ESP32-audioI2S

Vulnerability report for CVE-2026-51267, 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 URL path concatenation and encoding module. The application splices untrusted extension path and attacker-controlled query string into a path buffer, then invokes urlencode without validating the final string length. Remote attackers can construct an oversized malicious URL path and query string to trigger out-of-bounds heap write, resulting in arbitrary code execution, information disclosure, service crash, or privilege escalation.

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 schreibfaul1 ESP32-audioI2S library version 3.4.5. The vulnerability occurs in the URL path handling where untrusted query strings are appended to a base URL without length checks. When these strings are passed to the urlencode function, the encoded output can expand significantly, overflowing a fixed-size heap buffer in PSRAM. This leads to memory corruption, potentially causing crashes, code execution, or information disclosure.

Detection Guidance

To detect this vulnerability, monitor network traffic for unusually long query strings in audio stream URLs. Use tools like Wireshark or tcpdump to capture and inspect HTTP requests targeting ESP32 devices. Check for crashes or freezes in audio streaming services after connecting to suspicious URLs.

Impact Analysis

The vulnerability allows remote attackers to crash the ESP32 audio streaming service via a specially crafted URL, causing denial of service or watchdog reboots. It may also enable arbitrary code execution or expose sensitive memory data like audio and network runtime information. Exploitation requires only that the device connects to a malicious audio stream URL.

Compliance Impact

This vulnerability could lead to unauthorized memory access, potentially exposing sensitive data such as audio streams or network runtime information. This may violate GDPR's data protection principles if personal data is leaked, and HIPAA's security requirements if protected health information is compromised. The denial of service impact could also disrupt critical services, affecting compliance with availability requirements.

Mitigation Strategies

Immediately restrict untrusted input in audio stream URLs by implementing strict length limits on query strings. Update network firewalls to block excessively long URLs. Consider disabling automatic audio stream connections until a patch is released.

Chat Assistant

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

EPSS Chart