CVE-2026-2966: Cesanta Mongoose · Weak Randomness
Affects Cesanta MongooseSource CVE Database V5
Public exploit available · CVSS 6.3 Medium.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 23 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| CesantaMongoose | Affected
| Fixed in– |
CPE configurations (1)
cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
AI-suggested
Until an official patch is released, organizations should implement the following mitigations: 1) Monitor network traffic for unusual DNS responses or anomalies indicative of DNS spoofing attempts. 2) Employ DNS security extensions (DNSSEC) to validate DNS responses cryptographically, mitigating spoofing risks. 3) Restrict network access to devices running vulnerable Mongoose versions, especially limiting exposure to untrusted networks. 4) Where possible, update or replace Cesanta Mongoose with versions beyond 7.20 once patches become available or consider alternative DNS handling libraries with stronger randomness guarantees. 5) Implement network-level protections such as DNS filtering, anomaly detection, and intrusion prevention systems to detect and block DNS manipulation attempts. 6) Conduct regular security assessments of embedded and IoT devices using Mongoose to identify and isolate vulnerable systems. 7) Engage with vendors or developers to demand timely patches and transparency regarding this vulnerability.
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.