Cesanta Mongoose up to 7.20 mDNS Record mongoose.c handle_mdns_record buf stack-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k1.86

Summaryinfo

A vulnerability labeled as critical has been found in Cesanta Mongoose up to 7.20. Affected is the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Executing a manipulation of the argument buf can lead to stack-based overflow. This vulnerability is handled as CVE-2026-5245. The attack can be executed remotely. Additionally, an exploit exists. The affected component should be upgraded. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Detailsinfo

A vulnerability classified as critical was found in Cesanta Mongoose up to 7.20. This vulnerability affects the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. The manipulation of the argument buf with an unknown input leads to a stack-based overflow vulnerability. The CWE definition for the vulnerability is CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). As an impact it is known to affect confidentiality, integrity, and availability.

This vulnerability was named CVE-2026-5245. The exploitation appears to be difficult. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

It is declared as proof-of-concept. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Upgrading to version 7.21 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.6
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.6
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Stack-based overflow
CWE: CWE-121 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Access: Public
Status: Proof-of-Concept

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Mongoose 7.21
Patch: 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1

Timelineinfo

04/02/2026 Advisory disclosed
04/02/2026 +0 days VulDB entry created
04/02/2026 +0 days VulDB entry last update

Sourcesinfo

Product: github.com

Status: Confirmed

CVE: CVE-2026-5245 (🔒)
GCVE (CVE): GCVE-0-2026-5245
GCVE (VulDB): GCVE-100-354826
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 04/02/2026 09:48
Changes: 04/02/2026 09:48 (61)
Complete: 🔍
Submitter: the_evilsocket
Cache ID: 216:08B:103

Submitinfo

Accepted

  • Submit #770103: Cesanta Mongoose 7.20 Stack-based Buffer Overflow (by the_evilsocket)

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!