Description
DO NOT USE THIS CVE RECORD. ConsultIDs: none. Reason: This record was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.
Published: 2026-07-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

AudioBuffer::freeSpace() in the ESP32-audioI2S library incorrectly calculates available buffer space because it lacks mutex protection for shared read and write pointers. This race condition allows concurrent tasks to observe stale values, causing the function to report an overly large free space region. If the calling code trusts this value, the subsequent write operation can overrun the heap, corrupting memory. The resulting corruption can lead to a device crash or, in the worst case, arbitrary code execution due to controlled memory overwrites. The issue is a classic concurrency flaw, identified by CWE-362.

Affected Systems

The vulnerability affects the schreibfaul1 ESP32-audioI2S library version 3.4.5 when used on ESP32-based boards. Any system that incorporates this library version and allows concurrent tasks to access the audio buffer is potentially impacted. No specific vendor or product name is listed beyond the library identifier, but users of the affected firmware are exposed to the risk.

Risk and Exploitability

The CVSS score of 9.8 indicates a critical severity. However, the EPSS score is below 1%, suggesting that the likelihood of exploitation is currently low. The vulnerability is not listed in the CISA KEV catalog, so active exploits have not yet been reported. Exploitation would require an attacker or compromised application that can trigger simultaneous buffer operations, which is more likely in environments where multiple tasks or external inputs write to the audio stream. Given the lack of publicly documented exploits and the low EPSS, the immediate risk is moderate, but the high potential impact warrants swift remediation.

Generated by OpenCVE AI on August 1, 2026 at 00:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an up-to-date version of the ESP32-audioI2S library that includes the mutex protection fix, if such a version is available from the vendor or repository.
  • For systems that cannot be upgraded immediately, wrap all calls to AudioBuffer::freeSpace() and related write operations with a mutex or critical region to serialize access and prevent the race condition.
  • As a temporary guard, reduce the maximum buffer size or limit concurrent write tasks so that the freeSpace miscalculation cannot be exploited to write beyond the allocated heap.
  • Monitor the device for signs of memory corruption, crashes, or anomalous behavior, and keep kernel or firmware logs for forensic analysis.

Generated by OpenCVE AI on August 1, 2026 at 00:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References

No reference.

History

Sat, 01 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 01 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 01 Aug 2026 01:00:00 +0000

Type Values Removed Values Added
Title Race Condition in ESP32-audioI2S Allows Heap Out-of-Bounds Write and Arbitrary Code Execution

Fri, 31 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Description Missing mutex synchronization in AudioBuffer::freeSpace() in schreibfaul1 ESP32-audioI2S 3.4.5 creates a race condition between concurrent tasks. The function calculates available buffer space without protecting shared read/write pointers, returning an incorrectly large value. Trusting this value leads to heap out-of-bounds write, memory corruption, device crash, and arbitrary code execution. DO NOT USE THIS CVE RECORD. ConsultIDs: none. Reason: This record was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.
References

Thu, 30 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Schreibfaul1
Schreibfaul1 esp32-audioi2s
Vendors & Products Schreibfaul1
Schreibfaul1 esp32-audioi2s

Thu, 30 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description Missing mutex synchronization in AudioBuffer::freeSpace() in schreibfaul1 ESP32-audioI2S 3.4.5 creates a race condition between concurrent tasks. The function calculates available buffer space without protecting shared read/write pointers, returning an incorrectly large value. Trusting this value leads to heap out-of-bounds write, memory corruption, device crash, and arbitrary code execution.
References

Subscriptions

Schreibfaul1 Esp32-audioi2s
cve-icon MITRE

Status: REJECTED

Assigner: mitre

Published:

Updated: 2026-07-31T14:34:12.351Z

Reserved: 2026-06-07T00:00:00.000Z

Link: CVE-2026-51261

cve-icon Vulnrichment

Updated:

cve-icon NVD

Status : Rejected

Published: 2026-07-28T15:17:16.943

Modified: 2026-07-31T15:16:30.560

Link: CVE-2026-51261

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T00:45:03Z

Weaknesses

No weakness.