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 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-2966
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 03:12 UTC · Revision 1
Source evidence
Cesanta Mongoose DNS Transaction ID dns.c mg_sendnsreq random values
core-osv · Original sourcePublished 23 Feb 2026, 02:02 UTC
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.
osv:CVE-2026-2966
Complete source record
{
"id": "e0cce6fdb96a723b178c110fa7caaf5c905a30fcb709966d236dcd97c89927b7",
"url": "https://osv.dev/vulnerability/CVE-2026-2966",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Cesanta Mongoose DNS Transaction ID dns.c mg_sendnsreq random values",
"summary": "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.",
"evidence": "osv:CVE-2026-2966",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-2966",
"aliases": [
"CVE-2026-2966"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cesanta/mongoose",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "236724ea2948396b4f83b68c366a169e795aa7ef"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "7.20"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"7.20",
"7.19",
"7.18",
"7.17",
"7.16",
"7.15",
"7.14",
"7.13",
"7.12",
"7.11",
"7.8",
"7.7",
"7.6",
"7.5",
"7.4",
"7.3",
"7.2",
"7.1",
"7.0",
"6.18",
"6.17",
"6.16",
"6.15",
"6.14",
"6.13",
"6.12",
"6.11",
"6.10",
"6.9",
"6.7",
"6.6",
"6.5",
"6.4",
"6.3",
"6.2",
"6.1",
"6.0",
"5.6",
"5.5_20140120",
"5.5",
"5.4",
"5.3",
"5.2",
"5.1",
"5.0",
"4.1",
"4.0",
"3.8",
"3.7",
"3.6",
"3.5",
"3.4",
"3.3",
"3.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2966.json"
}
}
],
"modified": "2026-10-28T02:30:49.245905131Z",
"provider": "osv",
"references": [
"https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2966.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-2966",
"https://vuldb.com/?id.347333",
"https://vuldb.com/?submit.755304",
"https://vuldb.com/?ctiid.347333",
"https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md#poc"
],
"provider_metadata": {
"cwe_ids": [
"CWE-310",
"CWE-330"
],
"cna_assigner": "VulDB",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
},
{
"introduced": "7.1"
},
{
"last_affected": "7.1"
},
{
"introduced": "7.2"
},
{
"last_affected": "7.2"
},
{
"introduced": "7.3"
},
{
"last_affected": "7.3"
},
{
"introduced": "7.4"
},
{
"last_affected": "7.4"
},
{
"introduced": "7.5"
},
{
"last_affected": "7.5"
},
{
"introduced": "7.6"
},
{
"last_affected": "7.6"
},
{
"introduced": "7.7"
},
{
"last_affected": "7.7"
},
{
"introduced": "7.8"
},
{
"last_affected": "7.8"
},
{
"introduced": "7.9"
},
{
"last_affected": "7.9"
},
{
"introduced": "7.10"
},
{
"last_affected": "7.10"
},
{
"introduced": "7.11"
},
{
"last_affected": "7.11"
},
{
"introduced": "7.12"
},
{
"last_affected": "7.12"
},
{
"introduced": "7.13"
},
{
"last_affected": "7.13"
},
{
"introduced": "7.14"
},
{
"last_affected": "7.14"
},
{
"introduced": "7.15"
},
{
"last_affected": "7.15"
},
{
"introduced": "7.16"
},
{
"last_affected": "7.16"
},
{
"introduced": "7.17"
},
{
"last_affected": "7.17"
},
{
"introduced": "7.18"
},
{
"last_affected": "7.18"
},
{
"introduced": "7.19"
},
{
"last_affected": "7.19"
},
{
"introduced": "7.20"
},
{
"last_affected": "7.20"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2966.json"
}
},
"related_cves": [
{
"value": "CVE-2026-2966",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517654,
"published_at": "2026-02-23T02:02:08.202+00:00"
}