CVE-2025-51495: Integer Overflow

Published Sep 29, 2025
·
Updated

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.

Affected Software

7 affected componentsFixes available
Mongoose Mongoose>=7.5<=7.17
Cesanta Mongoose>=7.5<=7.17
debian/swupdate*
debian/swupdate*
debian/swupdate<2025.12+dfsg-1
2025.12+dfsg-1
debian/mongoose
7.23+ds-1
debian/swupdate<=2022.12+dfsg-4+deb12u2, <=2022.12+dfsg-4+deb12u3, <=2024.12.1+dfsg-3+deb13u2
2026.05.1+git20261001+dfsg-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/swupdate to a version that resolves this vulnerability.

    Fixed in 2025.12+dfsg-1
  2. Upgrade

    Upgrade debian/mongoose to a version that resolves this vulnerability.

    Fixed in 7.23+ds-1
  3. Upgrade

    Upgrade debian/swupdate to a version that resolves this vulnerability.

    Fixed in 2026.05.1+git20261001+dfsg-2

Event History

Sep 25, 2025
Exploit Published
via GitHub·03:30 PM
Sep 29, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 8, 2026
Data Sourced
via OSV·10:00 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-51495?

CVE-2025-51495 is classified as a critical severity vulnerability due to its potential to crash applications.

2

How do I fix CVE-2025-51495?

To fix CVE-2025-51495, update Mongoose to a version higher than 7.17 or apply patches provided by the vendor.

3

What versions of Mongoose are affected by CVE-2025-51495?

CVE-2025-51495 affects Mongoose versions 7.5 through 7.17.

4

What type of attack is associated with CVE-2025-51495?

CVE-2025-51495 is associated with an integer overflow attack that can lead to application crashes.

5

Can CVE-2025-51495 lead to a buffer overflow?

Yes, if downstream vendors integrate Mongoose improperly, CVE-2025-51495 may lead to a buffer overflow.

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