# CVE-2026-5245: Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow

- Severity: Medium 6.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 50% of CVEs (2026-11-30)
- Published: 2026-04-02T09:00:19.688Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-119, CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- 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 10 more (not affected: 7.21)

## Every score

- VulDB: CVSS:4.0 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:P`
- VulDB: CVSS:3.1 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:C`
- VulDB: CVSS:3.0 5.6 Medium `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: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/vuln/354826> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/vuln/354826/cti> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/submit/770103> (third-party-advisory, vdb-entry)
- <https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1> (patch)
- <https://github.com/cesanta/mongoose/releases/tag/7.21> (patch, product, release-notes)
- <https://github.com/cesanta/mongoose/> (product)

## Sources

- CVE List: [CVE-2026-5245](https://www.cve.org/CVERecord?id=CVE-2026-5245), CVE Terms of Use, modified 2026-04-02
- NVD: [CVE-2026-5245](https://nvd.nist.gov/vuln/detail/CVE-2026-5245), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-5245 · Whole record: https://cve.day/CVE-2026-5245.json · Rebuilt by cve.day 2026-11-25T22:59:17.767Z
