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

Published Apr 2, 2026
·
Updated

A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handlemdnsrecord 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 Software

2 affected components
Cesanta Mongoose<=7.20
Cesanta Mongoose>=7.0<7.21

Event History

Apr 2, 2026
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5245?

CVE-2026-5245 is classified as a high severity vulnerability due to its potential to cause stack-based overflows.

2

How do I fix CVE-2026-5245?

To fix CVE-2026-5245, update to Cesanta Mongoose version 7.21 or later, where the vulnerability has been addressed.

3

What components are affected by CVE-2026-5245?

CVE-2026-5245 affects the mDNS Record Handler component within Cesanta Mongoose versions up to 7.20.

4

What type of vulnerability is CVE-2026-5245?

CVE-2026-5245 is a stack-based buffer overflow vulnerability that can be exploited through argument manipulation in the handle_mdns_record function.

5

Can CVE-2026-5245 lead to remote code execution?

Yes, the stack-based overflow vulnerability in CVE-2026-5245 can potentially allow for remote code execution under certain conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203