CVE-2026-2966: Cesanta Mongoose DNS Transaction ID dns.c mg_sendnsreq random values
A weakness has been identified in Cesanta Mongoose up to 7.20. The impacted element is the function mgsendnsreq 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-2966?
CVE-2026-2966 is classified as a moderate severity vulnerability.
How do I fix CVE-2026-2966?
To fix CVE-2026-2966, upgrade to a version of Cesanta Mongoose later than 7.20.
What components are affected by CVE-2026-2966?
CVE-2026-2966 affects the DNS Transaction ID Handler function mg_sendnsreq in Cesanta Mongoose versions up to 7.20.
What kind of vulnerability is CVE-2026-2966?
CVE-2026-2966 is a weakness related to the manipulation of random values within DNS requests.
Is CVE-2026-2966 exploitable remotely?
Yes, CVE-2026-2966 can potentially be exploited remotely if an attacker manipulates DNS requests.