Home / Cesanta / Mongoose / CVE-2026-5245
CVE-2026-5245: is it exploited, and which versions of Cesanta Mongoose are affected and fixed?
CVE-2026-5245 is a stack buffer overflow vulnerability in Cesanta Mongoose. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: Mongoose 7.0, Mongoose 7.1, Mongoose 7.2 and 18 more (CVE record by VulDB). Fixed in 7.21 (CVE record by VulDB). Severity: Medium (6.3, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-5245?
Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow
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.
From the CVE record by VulDB, last updated April 2, 2026, 14:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cesanta | Mongoose | 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 7.10 7.11 and 9 more ranges | 7.21 |
As the CVE record by VulDB states it, last updated April 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cesanta | mongoose | from 7.0 before 7.21 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 21:10 UTC.
How severe is CVE-2026-5245?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | VulDB |
| Medium 5.6 | CVSS 3.1 | 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 | VulDB |
| Medium 5.6 | CVSS 3.0 | 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 | VulDB |
| Medium 5.1 | CVSS 2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-5245 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 2, 2026)
- EPSS
- 0.83% probability of exploitation activity in the next 30 days, percentile 58.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-121 Stack-based Buffer Overflow
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- VDB-354826 | Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow vdb-entry, technical-description
- VDB-354826 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #770103 | Cesanta Mongoose 7.20 Stack-based Buffer Overflow third-party-advisory
- https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 patch
- https://github.com/cesanta/mongoose/releases/tag/7.21 patch
- https://github.com/cesanta/mongoose/ product
Who found and reported it?
- the_evilsocket (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 31, 2026
- Published
- April 2, 2026, 09:00 UTC
- CVE record updated
- April 2, 2026, 14:27 UTC by VulDB
- NVD
- Analyzed, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mongoose?
- Dec 1, 2026CVE-2026-141511 cesanta mongoose: out-of-bounds read
- Dec 1, 2026CVE-2026-141510 cesanta mongoose: HTTP request smuggling
- Dec 1, 2026CVE-2026-141472 cesanta mongoose: out-of-bounds read
- Dec 1, 2026CVE-2026-141471 cesanta mongoose: improper certificate validation
- Dec 1, 2026CVE-2026-141470 cesanta mongoose: NULL pointer dereference (crash)
- Nov 20, 2026CVE-2026-134170 cesanta mongoose: improper array index validation
- Nov 20, 2026CVE-2026-134171 cesanta mongoose: improper Handling of Length Parameter Inconsistency
- Nov 20, 2026CVE-2026-106024 cesanta mongoose: improper Enforcement of Behavioral Workflow
Questions about CVE-2026-5245
Is CVE-2026-5245 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.83% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cesanta Mongoose are affected by CVE-2026-5245?
Mongoose 7.0, Mongoose 7.1, Mongoose 7.2, Mongoose 7.3, Mongoose 7.4, Mongoose 7.5 and 15 more, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-5245?
7.21, per the CVE record by VulDB. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-5245?
Medium (6.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-5245?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.