CVE-2026-51259
Deferred Deferred - Pending Action

Unsigned Integer Overflow in ESP32-audioI2S

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

Unchecked unsigned integer overflow in buffer size calculation in schreibfaul1 ESP32-audioI2S 3.4.5 leads to undersized PSRAM buffer allocation. Subsequent normal audio buffer read and write operations cause heap out-of-bounds access, memory corruption, denial of service, and potential code execution.

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 an unsigned integer overflow in the ESP32-audioI2S library version 3.4.5 where buffer size calculations overflow due to UINT16_MAX multiplications. The overflow creates undersized PSRAM buffers, leading to heap out-of-bounds access during audio operations.

Detection Guidance

Detect this vulnerability by checking if your ESP32-audioI2S library version is 3.4.5. Inspect the src/Audio.cpp file for buffer size calculations using UINT16_MAX * 10 or UINT16_MAX without overflow checks. Use Address Sanitizer (ASAN) during compilation to identify heap out-of-bounds access during audio playback.

Impact Analysis

It causes denial of service by crashing ESP32 devices or freezing audio streams. It may also enable heap corruption, potentially allowing remote code execution or leaking sensitive audio data during normal playback of standard audio formats.

Mitigation Strategies

Upgrade the ESP32-audioI2S library to a patched version. Add bounds checking to buffer size calculations to prevent unsigned integer overflow. Implement heap memory validation before audio operations. Monitor device logs for heap corruption or out-of-bounds errors during audio processing.

Chat Assistant

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

EPSS Chart