CVE-2026-51251
Deferred Deferred - Pending Action

Buffer Overflow in Schreibfaul1 ESP32-audioI2S

Vulnerability report for CVE-2026-51251, 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 buffer overflow vulnerability in the MP3Decoder::decode() function of the MP3 decoder due to missing size validation on untrusted mainDataBegin and nSlots values.

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 buffer overflow vulnerability in the ESP32-audioI2S library version 3.4.5. It occurs in the MP3Decoder::decode() function where attacker-controlled values from malicious MP3 files are used without proper size validation before memory copy operations. The issue stems from unsafe use of memmove and memcpy on the m_MP3DecInfo mainBuf heap buffer, allowing writes beyond allocated memory when processing oversized parameters.

Detection Guidance

Detecting this vulnerability requires analyzing MP3 files processed by the ESP32-audioI2S library. Check for crashes or freezes when loading MP3 files, especially those with manipulated headers. Use static analysis tools to inspect MP3 decoder code for missing bounds checks on mainDataBegin and nSlots values. Monitor heap memory usage for unexpected spikes during MP3 decoding.

Impact Analysis

Exploitation could lead to remote denial of service by crashing the device or freezing the audio service. In some cases, it may allow arbitrary code execution on ESP32 hardware running the affected library. An attacker only needs to trick the victim into loading a specially crafted MP3 file.

Compliance Impact

This vulnerability primarily impacts device reliability and security by enabling remote denial of service or arbitrary code execution through crafted MP3 files. For compliance standards like GDPR or HIPAA, which require data integrity and system availability, this flaw could lead to unauthorized access or disruption of audio processing services, potentially violating confidentiality or availability requirements if exploited.

Mitigation Strategies

Immediately upgrade to a patched version of ESP32-audioI2S if available. If not, disable MP3 decoding functionality or restrict input to trusted MP3 files. Implement strict input validation for MP3 headers, particularly mainDataBegin and nSlots values. Add runtime bounds checking before memory copy operations in the decoder.

Chat Assistant

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

EPSS Chart