# CVE-2024-28183: Anti Rollback bypass with physical access and TOCTOU attack

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-03-25T14:31:28.466Z
- Modified: 2026-06-17T07:21:09.597Z
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

ESP-IDF is the development framework for Espressif SoCs supported on Windows, Linux and macOS. A Time-of-Check to Time-of-Use (TOCTOU) vulnerability was discovered in the implementation of the ESP-IDF bootloader which could allow an attacker with physical access to flash of the device to bypass anti-rollback protection. Anti-rollback prevents rollback to application with security version lower than one programmed in eFuse of chip. This attack can allow to boot past (passive) application partition having lower security version of the same device even in the presence of the flash encryption scheme. The attack requires carefully modifying the flash contents after the anti-rollback checks have been performed by the bootloader (before loading the application). The vulnerability is fixed in 4.4.7 and 5.2.1.

(As written by CVE List.)

## Affected

- espressif esp-idf: < 4.4.7; >= 5.0, <= 5.0.6; >= 5.1, <= 5.1.3; >= 5.2, < 5.2.1; 4.4.6; 5.0.6; 5.1.3; 5.2

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/espressif/esp-idf/security/advisories/GHSA-22x6-3756-pfp8> (vendor-advisory)
- <https://github.com/espressif/esp-idf/commit/3305cb4d235182067936f8e940e6db174e25b4b2> (patch)
- <https://github.com/espressif/esp-idf/commit/4c95aa445d4e84f01f86b6f3a552aa299276abf3> (patch)
- <https://github.com/espressif/esp-idf/commit/534e3ad1fa68526a5f989fb2163856d6b7cd2c87> (patch)
- <https://github.com/espressif/esp-idf/commit/7003f1ef0dffc73c34eb153d1b0710babb078149> (patch)
- <https://github.com/espressif/esp-idf/commit/b2cdc0678965790f49afeb6e6b0737cd24433a05> (patch)
- <https://github.com/espressif/esp-idf/commit/c33b9e1426121ce8cccf1a94241740be9cff68de> (patch)
- <https://github.com/espressif/esp-idf/commit/f327ddf6adab0c28d395975785727b2feef57803> (patch)

## Sources

- CVE List: [CVE-2024-28183](https://www.cve.org/CVERecord?id=CVE-2024-28183), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-28183](https://nvd.nist.gov/vuln/detail/CVE-2024-28183), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28183 · Whole record: https://cve.day/CVE-2024-28183.json · Rebuilt by cve.day 2026-11-25T22:58:37.879Z
