Vulnerability · Published Feb 23, 2026 · Assigned by VulDB
CVE-2026-2966Cesanta Mongoose DNS Transaction ID dns.c mg_sendnsreq random values
Low 3.7
In plain English
A low-severity weak randomness in Mongoose from Cesanta. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | swupdate | no fix listed | DEBIAN-CVE-2026-2966 |
| Debian:13 | swupdate | no fix listed | DEBIAN-CVE-2026-2966 |
| Debian:14 | swupdate | 2025.12+dfsg-10 | DEBIAN-CVE-2026-2966 |
| Ubuntu:22.04:LTS | opencpn | no fix listed | UBUNTU-CVE-2026-2966 |
| Ubuntu:24.04:LTS | opencpn | no fix listed | UBUNTU-CVE-2026-2966 |
| Ubuntu:25.10 | opencpn | no fix listed | UBUNTU-CVE-2026-2966 |
| Ubuntu:26.04:LTS | opencpn | no fix listed | UBUNTU-CVE-2026-2966 |
| Ubuntu:26.10 | opencpn | no fix listed | UBUNTU-CVE-2026-2966 |
Affected products (as reported)
Weakness: CWE-330, CWE-310 · Vector: 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
References
- VDB-347333 | Cesanta Mongoose DNS Transaction ID dns.c mg_sendnsreq random values vdb-entry, technical-description
- VDB-347333 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #755304 | Cesanta Mongoose Embedded Web Server 7.20 Insufficiently Random Values third-party-advisory
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md related
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md#poc exploit