Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-5688-FreeRTOS-Plus-TCP-Out-of-Bounds-Write — PoC exploit for CVE-2025-5688: remote out-of-bounds write in FreeRTOS-Plus-TCP via crafted LLMNR/mDNS queries, causing crash or potential RCE on vulnerable IoT devices. | Kitploit
Tools/GitHubGitHub/mbanyamer/cve-2025-5688-freertos-plus-tcp-out-of-bounds-write
Embedded Systems SecurityIoT SecurityVulnerability AnalysisExploitationFuzzingNetwork SecurityRemote Access ToolDNS AnalysisBinary Exploitation
Share
GitHubmbanyamer/cve-2025-5688-freertos-plus-tcp-out-of-bounds-write

CVE-2025-5688-FreeRTOS-Plus-TCP-Out-of-Bounds-Write

PoC exploit for CVE-2025-5688: remote out-of-bounds write in FreeRTOS-Plus-TCP via crafted LLMNR/mDNS queries, causing crash or potential RCE on vulnerable IoT devices.

View Repository
458 months agoNot yet reviewed

CVE-2025-5688 – FreeRTOS-Plus-TCP Out-of-Bounds Write Exploit

CVE-2025-5688 CVSS 8.4 High Python 3 License: MIT Tested on IoT

Remote memory corruption / DoS / potential RCE trigger in FreeRTOS-Plus-TCP when processing overly long DNS names in LLMNR or mDNS queries (Buffer Allocation Scheme 1).

Exploit Author: Mohammed Idrees Banyamer
Country: Jordan
Instagram: @banyamer_security
Date: December 26, 2025

Overview

This PoC sends a specially crafted UDP multicast packet containing an excessively long DNS name to trigger an out-of-bounds write (CWE-787) in vulnerable versions of FreeRTOS-Plus-TCP (v2.3.4 – v4.3.1 with LLMNR/mDNS + Scheme 1).

Common symptoms on affected devices:

  • Immediate crash / reboot
  • Watchdog reset
  • LED blink loop / freeze
  • In rare memory-layout cases → possible code execution

Affected Devices (examples)

  • Sonoff RF Bridge (unpatched firmware)
  • Many cheap IoT gateways, bridges, embedded controllers using FreeRTOS-Plus-TCP

Fixed in: FreeRTOS-Plus-TCP 4.3.2 (strict length validation added)

References

  • AWS Security Bulletin AWS-2025-012
  • GitHub Advisory GHSA-5x4f-fvv8-wr65
  • NVD CVE-2025-5688

Attack Flow Diagram

graph TD
    A[Attacker on same LAN] -->|"1. Craft oversized DNS name"| B["`UDP Packet
long QNAME (~500+ bytes)`"]
    B -->|"2. Send to multicast"| C{Target Protocol}
    C -->|LLMNR| D[224.0.0.252:5355]
    C -->|mDNS| E[224.0.0.251:5353]
    D --> F["`FreeRTOS-Plus-TCP
LLMNR/mDNS Parser`"]
    E --> F
    F -->|"No length check + Scheme 1"| G[Fixed-size buffer overflow]
    G --> H["`Out-of-bounds Write
CWE-787`"]
    H --> I{Outcome}
    I -->|"Common"| J[Crash / Reboot / Watchdog]
    I -->|"Memory layout dependent"| K[Potential RCE / Code Execution]
    I -->|"Data after buffer"| L[Memory corruption / Info leak]

Requirements

  • Python 3.6+
  • Standard library only (socket, sys) – no external packages

Usage

# LLMNR attack (default multicast)
python3 exploit.py LLMNR

# mDNS attack
python3 exploit.py mDNS

# Custom multicast IP (rarely needed)
python3 exploit.py LLMNR 224.0.0.252
python3 exploit.py mDNS 224.0.0.251

Expected output:

[+] Sending 523-byte LLMNR query → target 224.0.0.252:5355
[+] Sent. Watch for immediate crash, reboot, LED blink loop, or freeze.

How to Test Safely

  1. Use a vulnerable Sonoff RF Bridge or custom FreeRTOS device in an isolated lab network.
  2. Confirm LLMNR/mDNS is enabled (UDP 5355 or 5353 open).
  3. Run the script from another machine on the same LAN.
  4. Observe crash/reboot within seconds.

Disclaimer – Legal & Ethical Notice

This code is provided for educational, research, and vulnerability demonstration purposes only.
Do NOT use this exploit against any system or network without explicit written permission from the owner.
Unauthorized use may violate laws (computer fraud & abuse acts, etc.).
The author is not responsible for any misuse or damage.

License

MIT License – see LICENSE file (or add one if missing).


Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    602
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    392
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    319
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    293
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    253

Explore all tools

Browse our collection of tools

View all tools →