High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-51495
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:10 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-51495
Complete source record
{
"id": "5d800b1aae63b9b103f63491efd59730cf6b762c8423656006bebbafda96a9ef",
"url": "https://osv.dev/vulnerability/CVE-2025-51495",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-51495",
"summary": "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.",
"evidence": "osv:CVE-2025-51495",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-51495",
"aliases": [
"CVE-2025-51495"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cesanta/mongoose",
"type": "GIT",
"events": [
{
"introduced": "9d38e26b817b6b151fd925e9a8420a46c99a8375"
},
{
"last_affected": "0a86bc0af22173b8c952c11551a067fd6f843d83"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.5"
},
{
"last_affected": "7.17"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"7.17",
"7.16",
"7.15",
"7.14",
"7.13",
"7.12",
"7.11",
"7.8",
"7.7",
"7.6",
"7.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-51495.json"
}
}
],
"modified": "2026-10-28T02:30:25.489244049Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51495.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-51495",
"https://github.com/cesanta/mongoose/pull/3131",
"https://github.com/cainiao159357/CVE-2025-51495",
"https://github.com/cesanta/mongoose"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51495.json"
}
},
"related_cves": [
{
"value": "CVE-2025-51495",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491798,
"published_at": "2025-09-29T00:00:00+00:00"
}