Home

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.

PUBLISHED Reserved 2026-03-31 | Published 2026-04-02 | Updated 2026-04-02 | Assigner VulDB




MEDIUM: 6.3CVSS: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
MEDIUM: 5.6CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
MEDIUM: 5.6CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
5.1AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C

Problem types

Stack-based Buffer Overflow

Memory Corruption

Product status

7.0
affected

7.1
affected

7.2
affected

7.3
affected

7.4
affected

7.5
affected

7.6
affected

7.7
affected

7.8
affected

7.9
affected

7.10
affected

7.11
affected

7.12
affected

7.13
affected

7.14
affected

7.15
affected

7.16
affected

7.17
affected

7.18
affected

7.19
affected

7.20
affected

7.21
unaffected

Timeline

2026-04-02:Advisory disclosed
2026-04-02:VulDB entry created
2026-04-02:VulDB entry last update

Credits

the_evilsocket (VulDB User) reporter

VulDB CNA Team coordinator

References

vuldb.com/vuln/354826 (VDB-354826 | Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow) vdb-entry technical-description

vuldb.com/vuln/354826/cti (VDB-354826 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/submit/770103 (Submit #770103 | Cesanta Mongoose 7.20 Stack-based Buffer Overflow) third-party-advisory

github.com/...ommit/0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 patch

github.com/cesanta/mongoose/releases/tag/7.21 patch

github.com/cesanta/mongoose/ product

cve.org (CVE-2026-5245)

nvd.nist.gov (CVE-2026-5245)

Download JSON