CVE-2026-51263
Deferred Deferred - Pending Action

Buffer Overflow in schreibfaul1 ESP32-audioI2S

Vulnerability report for CVE-2026-51263, 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 is vulnerable to Buffer Overflow. The Audio::openai_speech function in the Audio library manually constructs JSON request bodies and HTTP request headers by directly concatenating externally controllable input and instructions strings without effective length restriction and boundary validation. An unauthenticated remote attacker can send oversized malicious string data to trigger a heap buffer overflow during string splicing, resulting in memory corruption.

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 connecttospeech() function where user-controlled speech text is URL-encoded and appended to a fixed-size heap buffer without proper length validation. Excessively long input causes the encoded payload to exceed the buffer's capacity, leading to memory corruption during HTTP request construction for Text-to-Speech API calls.

Detection Guidance

To detect this vulnerability, monitor for heap buffer overflow errors during HTTP request processing for Text-to-Speech (TTS) API calls. Use AddressSanitizer-enabled ESP32 builds to detect heap overflow errors during TTS request processing. Check for crashes or watchdog reboots when processing oversized speech input parameters.

  • Enable AddressSanitizer in ESP32 builds to detect heap buffer overflows during TTS API calls.
Impact Analysis

An attacker can send a malicious network request with oversized speech input to trigger a heap buffer overflow. This may cause a remote denial of service by forcing an ESP32 watchdog reboot or freezing the network audio service. In some cases, it could lead to arbitrary code execution within the device's application privilege scope or leak sensitive internal data like heap runtime and audio processing details.

Mitigation Strategies

Immediately restrict input length for speech text parameters to a safe maximum size before URL encoding. Validate and sanitize all user-controlled input to prevent oversized payloads. Disable or isolate the Text-to-Speech (TTS) service if not essential. Monitor network traffic for unusually large HTTP requests targeting the TTS endpoint.

  • Apply input length restrictions and validation to speech text parameters before processing.

Chat Assistant

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

EPSS Chart