CVE-2026-51272
CRITICALESP32-audioI2S 3.4.5 - Heap-Based Buffer Overflow in latinToUTF8 Character Encoding Conversion
Title source: llmDescription
In schreibfaul1 ESP32-audioI2S 3.4.5, a heap-based buffer overflow vulnerability exists in the latinToUTF8() character encoding conversion function. The function calculates required buffer size by simply doubling input length and reallocates ps_ptr heap buffer without strict boundary validation. Malicious oversized input can trigger insufficient buffer allocation and out-of-bounds write during Latin-1 to UTF-8 conversion, leading to code execution, information disclosure, denial of service or privilege escalation.
Scores
CVSS v3
9.8
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
total
Details
CWE
CWE-122
Status
published
Published
Jul 30, 2026
Tracked Since
Jul 30, 2026