CVE-2025-51495: cesanta mongoose Integer Overflow or Wraparound
Vulnerability summary
CVE-2025-51495 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in cesanta mongoose. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 37.5% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 29-09-2025PublishedVulnerability first disclosed.
- 01-10-2025Last modifiedVulnerability information updated.
Description
An integer overflow vulnerability exists in the WebSocket component of Mongoose 7.5 thru 7.17. By sending a specially crafted WebSocket request, an attacker can cause the application to crash. If downstream vendors integrate this component improperly, the issue may lead to a buffer overflow.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.42% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundCve 2025 51495
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Cesanta1 product
- mongoose≥ 7.5, ≤ 7.17
Debian1 product
- swupdateAll versions (No fix recorded) | < 2025.12+dfsg-1
Ubuntu1 product
- swupdateAll versions (No fix recorded)
3 vendors · 3 products
References
7 links- github.com/cesanta/mongooseProduct