ubuntu-cve-2025-51495
Vulnerability from osv_ubuntu
Published
2025-09-29 17:15
Modified
2026-05-27 19:09
Summary
Details

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": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libswupdate0.1",
            "binary_version": "2021.11-1"
          },
          {
            "binary_name": "lua-swupdate",
            "binary_version": "2021.11-1"
          },
          {
            "binary_name": "swupdate",
            "binary_version": "2021.11-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "swupdate",
        "purl": "pkg:deb/ubuntu/swupdate@2021.11-1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2020.11-2",
        "2021.04-1.1",
        "2021.04-2",
        "2021.04-2build1",
        "2021.11-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libswupdate0.1",
            "binary_version": "2023.12.1+dfsg-1ubuntu5"
          },
          {
            "binary_name": "lua-swupdate",
            "binary_version": "2023.12.1+dfsg-1ubuntu5"
          },
          {
            "binary_name": "swupdate",
            "binary_version": "2023.12.1+dfsg-1ubuntu5"
          },
          {
            "binary_name": "swupdate-www",
            "binary_version": "2023.12.1+dfsg-1ubuntu5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "swupdate",
        "purl": "pkg:deb/ubuntu/swupdate@2023.12.1+dfsg-1ubuntu5?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2023.05+dfsg-3",
        "2023.05+dfsg-4",
        "2023.05+dfsg-4build1",
        "2023.05+dfsg-5",
        "2023.12+dfsg-1",
        "2023.12.1+dfsg-1ubuntu1",
        "2023.12.1+dfsg-1ubuntu4",
        "2023.12.1+dfsg-1ubuntu5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libswupdate0.1",
            "binary_version": "2025.05+dfsg-2ubuntu1"
          },
          {
            "binary_name": "lua-swupdate",
            "binary_version": "2025.05+dfsg-2ubuntu1"
          },
          {
            "binary_name": "swupdate",
            "binary_version": "2025.05+dfsg-2ubuntu1"
          },
          {
            "binary_name": "swupdate-www",
            "binary_version": "2025.05+dfsg-2ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "swupdate",
        "purl": "pkg:deb/ubuntu/swupdate@2025.05+dfsg-2ubuntu1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2024.12.1+dfsg-1build2",
        "2024.12.1+dfsg-2",
        "2024.12.1+dfsg-3",
        "2025.05+dfsg-2ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2025-51495",
  "modified": "2026-05-27T19:09:28Z",
  "published": "2025-09-29T17:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-51495"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-51495"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/cesanta/mongoose/pull/3131"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/cesanta/mongoose/commit/cdc439bc38570048541b2ac6b9c326da87bf4a0a"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-51495"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…