Intel

AIKIDO-2026-10267

espressif.esp-idf is vulnerable to Out-of-bounds read

Out-of-bounds read Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 2, 2026

62

Medium Risk

This Affects:

C++espressif.esp-idf
5.0.0 - 5.5.2
Fixed in 5.5.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package contain an out-of-bounds read in Digest authentication due to the use of memcmp() with a fixed length to compare the algorithm field, which could read past the intended buffer if the input is shorter or improperly terminated. An attacker controlling or influencing the algorithm value (e.g., via a malicious server response or crafted authentication header) could trigger memory disclosure or application instability by causing unintended memory access. The patch replaces memcmp() with strcasecmp() to ensure safe, null-terminated string comparison and prevent buffer over-reads.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

espressif.esp-idf is vulnerable to Out-of-bounds read in versions 5.0.0 - 5.5.2.

How to fix this

Upgrade the espressif.esp-idf library to the patch version.