CVE-2026-5245Cesanta Mongoose Stack-based Buffer Overflow
NVD
Vulnerability Summary
A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Performing a manipulation of the argument buf results in stack-based buffer overflow. Remote exploitation of the attack is possible. A high degree of complexity is needed for the attack. The exploitability is said to be difficult. The exploit has been made public and could be used. Upgrading to version 7.21 will fix this issue. The patch is named 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. You should upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.6)
CVSS v3.1 Base Metrics — Score 5.6 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow
Affected & Patched Versions
- Cesanta Mongoose 7.0
- Cesanta Mongoose 7.1
- Cesanta Mongoose 7.2
- Cesanta Mongoose 7.3
- Cesanta Mongoose 7.4
- Cesanta Mongoose 7.5
- Cesanta Mongoose 7.6
- Cesanta Mongoose 7.7
- Cesanta Mongoose 7.8
- Cesanta Mongoose 7.9
- Cesanta Mongoose 7.10
- Cesanta Mongoose 7.11
- Cesanta Mongoose 7.12
- Cesanta Mongoose 7.13
- Cesanta Mongoose 7.14
- Cesanta Mongoose 7.15
- Cesanta Mongoose 7.16
- Cesanta Mongoose 7.17
- Cesanta Mongoose 7.18
- Cesanta Mongoose 7.19
- Cesanta Mongoose 7.20
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Cesanta Mongoose and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Apr 2, 2026Published
- Apr 2, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Cesanta Mongoose CVEsYou are reading CVE-2026-5245. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Advisoryhttps://vuldb.com/vuln/354826
- Advisoryhttps://vuldb.com/vuln/354826/cti
- Advisoryhttps://vuldb.com/submit/770103
- Patchhttps://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1
- Patchhttps://github.com/cesanta/mongoose/releases/tag/7.21
- Referencehttps://github.com/cesanta/mongoose/
Data last checked: Nov 23, 2026 02:10 UTC