Vulnerability · Published Apr 2, 2026 · Assigned by VulDB

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

Medium 5.6

In plain English

A medium-severity stack buffer overflow in Mongoose from Cesanta. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.7%top 45.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12swupdateno fix listedDEBIAN-CVE-2026-5245
Debian:13swupdateno fix listedDEBIAN-CVE-2026-5245
Debian:14swupdate2025.12+dfsg-10DEBIAN-CVE-2026-5245
Ubuntu:22.04:LTSswupdateno fix listedUBUNTU-CVE-2026-5245
Ubuntu:24.04:LTSswupdateno fix listedUBUNTU-CVE-2026-5245
Ubuntu:25.10swupdateno fix listedUBUNTU-CVE-2026-5245
Ubuntu:26.04:LTSswupdateno fix listedUBUNTU-CVE-2026-5245
Ubuntu:26.10swupdateno fix listedUBUNTU-CVE-2026-5245

Affected products (as reported)

VendorProductVersions
Cesanta Mongoose 7.07.17.27.37.47.57.67.7

Weakness: CWE-121, CWE-119 · Vector: 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

References