CVE-2026-5245
published medium CVSS 4.0 · 6.3Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cesanta | — | Mongoose7.0 (affected) · 7.1 (affected) · 7.2 (affected) · 7.3 (affected) · 7.4 (affected) · 7.5 (affected) · 7.6 (affected) · 7.7 (affected) · 7.8 (affected) · 7.9 (affected) · 7.10 (affected) · 7.11 (affected) · 7.12 (affected) · 7.13 (affected) · 7.14 (affected) · 7.15 (affected) · 7.16 (affected) · 7.17 (affected) · 7.18 (affected) · 7.19 (affected) · 7.20 (affected) · 7.21 (unaffected) | Version-specific | Not stated | VulDB |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.6 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 3.0 | 5.6 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 5.1 | medium | VulDB · cna | AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cesanta | Mongoose | 7.0 (affected)7.1 (affected)7.2 (affected)7.3 (affected)7.4 (affected)7.5 (affected)7.6 (affected)7.7 (affected)7.8 (affected)7.9 (affected)7.10 (affected)7.11 (affected)7.12 (affected)7.13 (affected)7.14 (affected)7.15 (affected)7.16 (affected)7.17 (affected)7.18 (affected)7.19 (affected)7.20 (affected)7.21 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-121 Stack-based Buffer Overflow
- CWE-119 Memory Corruption
References
6- https://github.com/cesanta/mongoose/
- https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1
- https://github.com/cesanta/mongoose/releases/tag/7.21
- Submit #770103 | Cesanta Mongoose 7.20 Stack-based Buffer Overflow https://vuldb.com/submit/770103
- VDB-354826 | Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow https://vuldb.com/vuln/354826
- VDB-354826 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/354826/cti
Provider assertions
2VulDB · cna
Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8950eb708e86603c3188e9c0b4e45b39cfaceb0e1d1d95ae7bfa7dae65e16c25
- Ingested
- 23 Sep 2026, 09:23:13 UTC
- Source record
- Official CVE record