# CVE-2026-2966: Cesanta Mongoose DNS Transaction ID dns.c mg_sendnsreq random values

- Severity: Medium 6.3 (CVSS:4.0, scored by VulDB) `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:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-02-23T02:02:08.202Z
- Modified: 2026-06-17T10:32:07.993Z
- Weaknesses: CWE-310, CWE-330
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Cesanta Mongoose: 7.0; 7.1; 7.2; 7.3; 7.4; 7.5; 7.6; 7.7; 7.8; 7.9; 7.10; 7.11; and 10 more

## Every score

- VulDB: CVSS:4.0 6.3 Medium `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:P`
- VulDB: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 3.7 Low `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 2.6 Low `AV:N/AC:H/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md> (exploit, related, third-party-advisory)
- <https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md#poc> (exploit, third-party-advisory)
- <https://vuldb.com/?id.347333> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.347333> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.755304> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2026-2966](https://www.cve.org/CVERecord?id=CVE-2026-2966), CVE Terms of Use, modified 2026-02-23
- NVD: [CVE-2026-2966](https://nvd.nist.gov/vuln/detail/CVE-2026-2966), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2966 · Whole record: https://cve.day/CVE-2026-2966.json · Rebuilt by cve.day 2026-11-25T22:59:14.641Z
