CVE-2026-5245

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

Configuration 1 (hide)

cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*

History

29 Apr 2026, 21:44

Type Values Removed Values Added
References () https://github.com/cesanta/mongoose/ - () https://github.com/cesanta/mongoose/ - Product
References () https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 - () https://github.com/cesanta/mongoose/commit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 - Patch
References () https://github.com/cesanta/mongoose/releases/tag/7.21 - () https://github.com/cesanta/mongoose/releases/tag/7.21 - Product, Release Notes
References () https://vuldb.com/submit/770103 - () https://vuldb.com/submit/770103 - Third Party Advisory, VDB Entry
References () https://vuldb.com/vuln/354826 - () https://vuldb.com/vuln/354826 - Third Party Advisory, VDB Entry
References () https://vuldb.com/vuln/354826/cti - () https://vuldb.com/vuln/354826/cti - Permissions Required, VDB Entry
First Time Cesanta mongoose
Cesanta
CPE cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*

02 Apr 2026, 10:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-02 10:16

Updated : 2026-04-29 21:44


NVD link : CVE-2026-5245

Mitre link : CVE-2026-5245

CVE.ORG link : CVE-2026-5245


JSON object : View

Products Affected

cesanta

  • mongoose
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-121

Stack-based Buffer Overflow