CVE-2025-5688 Out of Bounds Write in FreeRTOS-Plus-TCP
Out-of-bounds write in FreeRTOS-Plus-TCP allows attackers to execute code or cause denial of service via crafted LLMNR or mDNS queries.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-5688?
CVE-2025-5688 is a high-severity memory corruption vulnerability in Amazon FreeRTOS, published on 4 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
We have identified a buffer overflow issue allowing out-of-bounds write when processing LLMNR or mDNS queries with very long DNS names. This issue only affects systems using Buffer Allocation Scheme 1 with LLMNR or mDNS enabled.
Users should upgrade to the latest version and ensure any forked or derivative code is patched to incorporate the new fixes.
Weakness: CWE-787
Which versions are affected by CVE-2025-5688?
How do I fix CVE-2025-5688?
No fix has been published for CVE-2025-5688 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-5688 being exploited?
There is no known exploitation of CVE-2025-5688 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-5x4f-fvv8-wr65.