CVE-2025-24797 Meshtastic incorrectly hands malformed packets leads to controlled buffer overflow

Critical 9.4 Published Updated

An attacker can achieve remote code execution on Meshtastic devices by sending malformed mesh packets that trigger a buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-24797?

CVE-2025-24797 is a critical memory corruption vulnerability in meshtastic firmware, published on 14 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Meshtastic is an open source mesh networking solution. A fault in the handling of mesh packets containing invalid protobuf data can result in an attacker-controlled buffer overflow, allowing an attacker to hijack execution flow, potentially resulting in remote code execution. This attack does not require authentication or user interaction, as long as the target device rebroadcasts packets on the default channel. This vulnerability fixed in 2.6.2.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2025-24797?

It affects 1 product.

Products include Meshtastic Meshtastic Firmware.

How do I fix CVE-2025-24797?

No fix has been published for CVE-2025-24797 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-24797 being exploited?

There is no known exploitation of CVE-2025-24797 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-33hw-xhfh-944r.

Is CVE-2025-24797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free