CVEfocus › CVE database › CVE-2026-5245

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

CVSS 5.6 MediumEPSS 0.7% (higher than 47% of CVEs)Published 2026-04-02Updated 2026-04-02Assigner: VulDB

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.

CWE-119CWE-121

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10swupdateFix pendingUBUNTU-CVE-2026-5245
Ubuntu 26.04swupdateFix pendingUBUNTU-CVE-2026-5245
Ubuntu 25.10swupdateWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-5245
Ubuntu 24.04swupdateFix pendingUBUNTU-CVE-2026-5245
Ubuntu 22.04swupdateFix pendingUBUNTU-CVE-2026-5245
Debian 14swupdateFixed2025.12+dfsg-10DEBIAN-CVE-2026-5245
Debian 13swupdateFix pendingDEBIAN-CVE-2026-5245
Debian 12swupdateFix pendingDEBIAN-CVE-2026-5245

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.