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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Physical; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-367
- **Published:** 2024-03-25T14:31:28.466Z
- **Modified:** 2026-06-17T07:21:09.597Z

## Who should check

- Anyone running espressif esp-idf \< 4.4.7; \>= 5.0, \<= 5.0.6; \>= 5.1, \<= 5.1.3; \>= 5.2, \< 5.2.1

## 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.

## Affected and fixed versions

- espressif esp-idf: \< 4.4.7; \>= 5.0, \<= 5.0.6; \>= 5.1, \<= 5.1.3; \>= 5.2, \< 5.2.1 (cvelist)

## Mitigation

- Upgrade esp-idf to 5.2.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-28183. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-28183.md
Affected: espressif esp-idf < 4.4.7; >= 5.0, <= 5.0.6; >= 5.1, <= 5.1.3; >= 5.2, < 5.2.1
Fixed in: espressif esp-idf 4.4.7, espressif esp-idf 5.2.1

Steps:
1. Search this machine and project for espressif esp-idf: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-28183 being exploited?

There is no confirmed exploitation: CVE-2024-28183 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-28183?

Medium: CVSS 6.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-28183?

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

### Is there a fix for CVE-2024-28183?

Yes. Fixed in espressif esp-idf 4.4.7, espressif esp-idf 5.2.1. Upgrade esp-idf to 5.2.1 or later.

### How do I check if I'm affected by CVE-2024-28183?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/espressif/esp-idf/security/advisories/GHSA-22x6-3756-pfp8>
- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-28183>

HTML: <https://flawdb.com/CVE-2024-28183> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-28183>
