CVE-2025-51986 Denial of service in n/a
Attackers can cause a denial of service via infinite loop in the demo TCP implementation of the freemodbus library.
- 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-51986?
CVE-2025-51986 is a high-severity denial of service vulnerability in n/a, published on 14 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the demo/LINUXTCP implementation of cwalter-at freemodbus v.2018-09-12 allowing attackers to reach an infinite loop via a crafted length value for a packet.
Weakness: CWE-835
Which versions are affected by CVE-2025-51986?
How do I fix CVE-2025-51986?
No fix has been published for CVE-2025-51986 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-51986 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51986 exists.
Sources
Also known as GHSA-857c-g6r6-mj7p.