CVE-2026-51260
Deferred Deferred - Pending Action

Heap Buffer Overflow in ESP32-audioI2S AudioBuffer

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

Unsafe fixed-size memcpy operation in AudioBuffer::writeSpace() of schreibfaul1 ESP32-audioI2S 3.4.5 allows remote heap buffer overflow. The code copies a full UINT16_MAX bytes without validating destination available space, causing out-of-bounds memory write.

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 AudioBuffer::writeSpace() function where a memcpy operation copies a fixed number of bytes without checking available space in the ring buffer. When the read pointer reaches the buffer end, it causes out-of-bounds writes that corrupt adjacent heap memory including PSRAM metadata on ESP32 devices.

Detection Guidance

Detect this vulnerability by monitoring ESP32 devices running ESP32-audioI2S 3.4.5 for crashes during audio playback, especially with long streams or crafted media files. Use AddressSanitizer builds to catch heap buffer overflows during runtime. Check for watchdog reboots or audio playback freezes as potential indicators.

Impact Analysis

The primary impact is remote denial of service causing ESP32 watchdog reboots or audio playback freezes. Secondary impacts include heap metadata corruption that could enable remote arbitrary code execution and potential data leaks. Exploitation requires only loading untrusted audio media on the target device without authentication or special hardware.

Compliance Impact

This vulnerability primarily causes remote denial of service or audio playback freezes on ESP32 devices, which does not directly impact GDPR or HIPAA compliance. However, if exploited for arbitrary code execution or data leaks, it could potentially lead to unauthorized access to personal or sensitive data, violating GDPR or HIPAA requirements for data protection and integrity.

Mitigation Strategies

Immediately stop using ESP32-audioI2S 3.4.5. Monitor network traffic for untrusted audio media files. Implement strict input validation for audio streams. Consider isolating affected devices from critical systems until a patch is available. No official patch exists yet, so mitigation requires avoiding the vulnerable version.

Chat Assistant

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

EPSS Chart