Unsafe fixed-size memcpy operation in AudioBuffer::writeSpace() of schreibfaul1 ESP32-audioI2S 3.4.5 allows remote heap buffer overflow. The code copies a full UINT16_MAX bytes without validating destination available space, causing out-of-bounds memory write.
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-51260
GitHub Security Advisories
GHSA-mmmh-c8hw-qvw4
Unsafe fixed-size memcpy operation in AudioBuffer::writeSpace() of schreibfaul1 ESP32-audioI2S 3...
https://github.com/advisories/GHSA-mmmh-c8hw-qvw4Unsafe fixed-size memcpy operation in AudioBuffer::writeSpace() of schreibfaul1 ESP32-audioI2S 3.4.5 allows remote heap buffer overflow. The code copies a full UINT16_MAX bytes without validating destination available space, causing out-of-bounds memory write.
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-51260Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-51260",
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"dateUpdated": "2026-07-28T14:20:07.259Z",
"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:20:07.259Z"
},
"descriptions": [
{
"lang": "en",
"value": "Unsafe fixed-size memcpy operation in AudioBuffer::writeSpace() of schreibfaul1 ESP32-audioI2S 3.4.5 allows remote heap buffer overflow. The code copies a full UINT16_MAX bytes without validating destination available space, causing out-of-bounds memory write."
}
],
"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-51260"
}
]
}
}
}