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.
PUBLISHED5.2
Affected products
n/a - AFFECTED
References
github.com
https://github.com/schreibfaul1/ESP32-audioI2S/blob/master/src/Audio.cpp
github.com
https://github.com/programmervuln/cveadvisory-/blob/main/CVE-2026-51259
GitHub Security Advisories
GHSA-6472-64ch-7p8m
Unchecked unsigned integer overflow in buffer size calculation in schreibfaul1 ESP32-audioI2S 3.4...
https://github.com/advisories/GHSA-6472-64ch-7p8mUnchecked 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.
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-51259Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-51259",
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"dateUpdated": "2026-07-28T14:16:38.668Z",
"dateReserved": "2026-06-07T00:00:00.000Z",
"datePublished": "2026-07-28T00:00:00.000Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre",
"dateUpdated": "2026-07-28T14:16:38.668Z"
},
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "n/a",
"type": "text"
}
]
}
],
"references": [
{
"url": "https://github.com/schreibfaul1/ESP32-audioI2S/blob/master/src/Audio.cpp"
},
{
"url": "https://github.com/programmervuln/cveadvisory-/blob/main/CVE-2026-51259"
}
]
}
}
}