Skip to content
OpenAdvisories
Medium · 5.6 CVE-2026-5245 EUVD-2026-18183GHSA-2rqj-7x75-2684

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

Published Apr 2, 2026 · Updated Apr 2, 2026 · 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.

Affected products

VendorProductAffectedFixed
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, 7.12, 7.13, 7.14, 7.15, 7.16, 7.17, 7.18, 7.19, 7.20 7.21

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 swupdate 2025.12+dfsg-10 —
Debian 13 swupdate No fix yet —
Debian 12 swupdate No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 swupdate No fix yet —
Ubuntu 26.04 LTS swupdate No fix yet —
Ubuntu 25.10 swupdate No fix yet —
Ubuntu 24.04 LTS swupdate No fix yet —
Ubuntu 22.04 LTS swupdate No fix yet —

References