Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.3
Cesanta Mongoose DNS Handler Can Produce Predictable Random Numbers
CVE-2026-2966
Summary
A weakness in Cesanta Mongoose's DNS handling code can allow an attacker to predict the random numbers generated by the software. This could be used by an attacker to launch a remote attack. Cesanta has not responded to a notification about this issue, so users should consider updating to a newer version of the software.
What to do
No fix is available yet. Check with your software vendor for updates.
Affected software
| Vendor | Product | Affected versions | Fix available |
|---|---|---|---|
| cesanta | mongoose | <= 7.20 | – |
Original title
A weakness has been identified in Cesanta Mongoose up to 7.20. The impacted element is the function mg_sendnsreq of the file /src/dns.c of the component DNS Transaction ID Handler. Executing a mani...
Original description
A weakness has been identified in Cesanta Mongoose up to 7.20. The impacted element is the function mg_sendnsreq of the file /src/dns.c of the component DNS Transaction ID Handler. Executing a manipulation of the argument random can lead to insufficiently random values. The attack can be launched remotely. The attack requires a high level of complexity. The exploitability is regarded as difficult. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
nvd CVSS2.0
2.6
nvd CVSS3.1
3.7
nvd CVSS4.0
6.3
Vulnerability type
CWE-310
CWE-330
Use of Insufficiently Random Values
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md Exploit Third Party Advisory
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md#poc Exploit Third Party Advisory
- https://vuldb.com/?ctiid.347333 Permissions Required VDB Entry
- https://vuldb.com/?id.347333 Third Party Advisory VDB Entry
- https://vuldb.com/?submit.755304 Third Party Advisory VDB Entry
Published: 23 Feb 2026 · Updated: 12 Mar 2026 · First seen: 6 Mar 2026