Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5245: Stack-based Buffer Overflow in Cesanta Mongoose

0
Medium
VulnerabilityCVE-2026-5245cvecve-2026-5245
Published: Thu Apr 02 2026 (04/02/2026, 09:00:19 UTC)
Source: CVE Database V5
Vendor/Project: Cesanta
Product: Mongoose

Description

CVE-2026-5245 is a stack-based buffer overflow vulnerability in the handle_mdns_record function of the mongoose. c file in Cesanta Mongoose versions up to 7. 20. This vulnerability allows remote attackers to cause a buffer overflow by manipulating the buf argument. Exploitation is considered difficult and requires a high degree of complexity. The vendor has released version 7. 21 to address this issue with an official patch. Users of affected versions should upgrade to the fixed version to mitigate the risk.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/10/2026, 00:09:32 UTC

Technical Analysis

This vulnerability exists in Cesanta Mongoose up to version 7.20 within the mDNS Record Handler component, specifically in the handle_mdns_record function. By manipulating the buf argument, an attacker can trigger a stack-based buffer overflow. The vulnerability is remotely exploitable but requires complex conditions to succeed. The vendor responded promptly and released version 7.21 containing a patch identified by commit 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. The CVSS 4.0 score is 6.3, indicating medium severity with network attack vector, high attack complexity, and no privileges or user interaction required.

Potential Impact

Successful exploitation can lead to a stack-based buffer overflow, potentially allowing an attacker to execute arbitrary code or cause a denial of service remotely. However, the complexity of the attack is high, and the exploitability is difficult. No known exploits are currently reported in the wild.

Mitigation Recommendations

An official fix is available in Cesanta Mongoose version 7.21. Users should upgrade to this version to remediate the vulnerability. The vendor has provided a patch and recommends upgrading the affected component. No additional mitigation steps are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-31T14:45:52.658Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69ce82f2e6bfc5ba1de1d976

Added to database: 4/2/2026, 2:53:38 PM

Last enriched: 4/10/2026, 12:09:32 AM

Last updated: 5/20/2026, 5:24:21 PM

Views: 97

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses