CVE-2026-2966Cesanta 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 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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | opencpn | Fix pending | UBUNTU-CVE-2026-2966 | |
| Ubuntu 26.04 | opencpn | Under investigation | UBUNTU-CVE-2026-2966 | |
| Ubuntu 25.10 | opencpn | Will not fix opencpn includes mongoose library | UBUNTU-CVE-2026-2966 | |
| Ubuntu 24.04 | opencpn | Under investigation | UBUNTU-CVE-2026-2966 | |
| Ubuntu 22.04 | opencpn | Under investigation | UBUNTU-CVE-2026-2966 | |
| Ubuntu 20.04 | opencpn | Fix pending | UBUNTU-CVE-2026-2966 | |
| Debian 14 | swupdate | Fixed | 2025.12+dfsg-10 | DEBIAN-CVE-2026-2966 |
| Debian 13 | swupdate | Fix pending | DEBIAN-CVE-2026-2966 | |
| Debian 12 | swupdate | Fix pending | DEBIAN-CVE-2026-2966 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Cesanta Mongoose: affected: 7.0, 7.1, 7.2, 7.3, 7.4, 7.5
References
- https://vuldb.com/?id.347333
- https://vuldb.com/?ctiid.347333
- https://vuldb.com/?submit.755304
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md#poc
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.