CVE-2026-51266: schreibfaul1 ESP32-audioI2S heap overflow in Audio::connecttohost

CVE-2026-51266 · Severity: info · CVSS 0 · Published 2026-07-28

The ESP32-audioI2S library, used in ESP32-based devices to play audio streams, contains a memory management flaw. An attacker can provide a specially crafted web address (URL) for an audio stream that causes the device to crash or potentially allow the attacker to take control of the device. This could lead to service outages for smart speakers or other IoT audio equipment and may pose a risk to data stored on the device.

Technologies: Schreibfaul1 ESP32-audioI2S. Vendors: Schreibfaul1.

Quick answers

Is CVE-2026-51266 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-51266 being exploited in the wild.
How severe is CVE-2026-51266?
Informational severity, with a CVSS score of 0, published 28 July 2026.
Which products and versions are affected?
Schreibfaul1 ESP32-audioI2S 3.4.5.
Is there a fix for CVE-2026-51266?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-51266 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-51266?
Check whether you run Schreibfaul1 ESP32-audioI2S at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A heap-based buffer overflow exists in the Audio::connecttohost() function within src/Audio.cpp of the ESP32-audioI2S library. The vulnerability is caused by the uncontrolled concatenation of attacker-supplied strings (host, path, query, User-Agent, and icy metadata) into a fixed-size heap buffer (ps_ptr) using append() and appendf() without boundary checks. A remote attacker can trigger this overflow by providing an oversized URL or network request parameters. This results in an out-of-bounds write that can cause a denial of service (watchdog crash) or remote code execution via heap metadata corruption. As of the advisory, a vendor patch is reportedly in development.

Affected products

  • schreibfaul1 ESP32-audioI2S 3.4.5

Timeline

  • 2026-07-28: disclosed: CVE-2026-51266 published
  • 2026-07-28: advisory: Detailed advisory published on GitHub by researcher

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.