CVE-2026-51273
Received Received - Intake

Heap Overflow in schreibfaul1 ESP32-audioI2S Library

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

In schreibfaul1 ESP32-audioI2S 3.4.5, a heap-based buffer overflow vulnerability exists in the ID3 tag parsing function showID3Tag() of the embedded audio streaming library. The program reads untrusted long ID3 tag value from malicious audio files and uses unbounded appendf() to write formatted strings into ps_ptr heap buffer without length validation. Successful exploitation allows attackers to execute arbitrary code, leak sensitive memory data, cause device crash, or escalate privileges via a crafted malicious audio file.

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 Audio::showID3Tag() function which parses ID3 metadata from MP3 files. The function uses an unbounded appendf() operation to write attacker-controlled ID3 tag values into a fixed-size heap buffer without validating the output length. This allows malicious MP3 files with oversized ID3 tags to corrupt heap memory.

Detection Guidance

Detecting this vulnerability requires analyzing MP3 files for oversized ID3 tags. Use tools like 'exiftool' to inspect ID3 tag lengths in audio files. Check for files with ID3 comment, title, artist, or lyric tags exceeding normal lengths (e.g., >1000 characters).

On ESP32 systems, monitor for crashes or reboots during audio playback, which may indicate heap corruption. Review logs for watchdog timer triggers or PSRAM heap errors.

Impact Analysis

Exploitation can cause device crashes requiring manual reboot, remote denial of service by forcing hardware watchdog resets, arbitrary code execution within the audio library's privilege scope, and memory data leaks exposing sensitive internal audio buffers and runtime data.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling unauthorized code execution and data exposure. A heap-based buffer overflow may allow attackers to access or leak sensitive memory data, which could include personal or health information. Additionally, device crashes or privilege escalation could disrupt systems handling regulated data, violating availability requirements.

Mitigation Strategies

Immediately stop using ESP32-audioI2S version 3.4.5. Replace it with a patched version once available. Avoid playing untrusted MP3 files on vulnerable devices. Implement network-level controls to block malicious audio files.

If patching is delayed, limit ID3 tag processing by truncating or validating tag lengths before parsing. Monitor device logs for crashes or heap corruption signs.

Chat Assistant

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

EPSS Chart