CVE-2026-87121: Remote Code Execution in lwIP MQTT Client
CVE-2026-87121 is an out-of-bounds write vulnerability in the MQTT client implementation of the lwIP TCP/IP stack, affecting versions 2.0.1 through 2.2.1 inclusive. A remote, unauthenticated attacker may exploit the vulnerability to achieve full code execution on an affected device without user interaction. The vulnerability is rated Critical, with CVSS v3.1 and v4.0 scores of 9.8 and 9.3, respectively. The specific vulnerable function and triggering input are not identified.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation may allow full code execution on the affected device, with high impacts to confidentiality, integrity, and availability. An attacker could potentially access sensitive device data, modify device behavior, or disrupt operation. Exploitation does not establish compromise of systems beyond the vulnerable device.
Mitigation
If you can’t patch tonight, do this now.
Minimize network exposure of affected devices and prevent direct internet accessibility of control systems. Place control-system networks and remote devices behind firewalls and isolate them from business networks. Where remote access is necessary, use secure, updated VPN solutions and assess the security of connected devices. Perform impact analysis and risk assessment before deploying defensive measures.
Remediation
Patch, then assume compromise.
Update lwIP to incorporate upstream fix commit f89407ea711879c04d91c92b35d67be78bbaf0f1. For embedded products, obtain and deploy a vendor firmware update incorporating this fix. A specific fixed release version is not identified.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-87121 exploited in the wild?
- As of Oct 23, 2026, Mallory has no reports of CVE-2026-87121 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-87121?
- As of Oct 23, 2026, Mallory has found no public exploit for CVE-2026-87121.
- Is there a patch for CVE-2026-87121?
- Update lwIP to incorporate upstream fix commit f89407ea711879c04d91c92b35d67be78bbaf0f1. For embedded products, obtain and deploy a vendor firmware update incorporating this fix.
- How severe is CVE-2026-87121?
- CVE-2026-87121 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 0.78% (56th percentile) as of Oct 23, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.