usn-8024-1
Vulnerability from osv_ubuntu
Published
2026-02-11 12:58
Modified
2026-04-27 14:11
Summary
libwebsockets vulnerabilities
Details

Raffaele Bova discovered that Libwebsockets incorrectly handled memory when the upgrade header is not valid in the WebSocket server. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-11677)

Raffaele Bova discovered that Libwebsockets did not properly check the size of the destination buffer in the async-dns component. An attacker could possibly use this issue to cause applications to crash, leading to a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-11678)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2025-11677",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libwebsockets-test-server",
            "binary_version": "3.2.1-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "libwebsockets-test-server-common",
            "binary_version": "3.2.1-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "libwebsockets15",
            "binary_version": "3.2.1-3ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "libwebsockets",
        "purl": "pkg:deb/ubuntu/libwebsockets@3.2.1-3ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.1-3ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.3-3build1",
        "3.2.1-3"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2025-11677",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2025-11678",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libwebsockets-test-server",
            "binary_version": "4.0.20-2ubuntu1.1"
          },
          {
            "binary_name": "libwebsockets-test-server-common",
            "binary_version": "4.0.20-2ubuntu1.1"
          },
          {
            "binary_name": "libwebsockets16",
            "binary_version": "4.0.20-2ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "libwebsockets",
        "purl": "pkg:deb/ubuntu/libwebsockets@4.0.20-2ubuntu1.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.0.20-2ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.0.20-2",
        "4.0.20-2ubuntu1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2025-11677",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2025-11678",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libwebsockets-evlib-ev",
            "binary_version": "4.3.3-1.1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libwebsockets-evlib-glib",
            "binary_version": "4.3.3-1.1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libwebsockets-evlib-uv",
            "binary_version": "4.3.3-1.1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libwebsockets-test-server",
            "binary_version": "4.3.3-1.1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libwebsockets-test-server-common",
            "binary_version": "4.3.3-1.1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libwebsockets19t64",
            "binary_version": "4.3.3-1.1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "libwebsockets",
        "purl": "pkg:deb/ubuntu/libwebsockets@4.3.3-1.1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.3.3-1.1ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.3.2-4",
        "4.3.3-1",
        "4.3.3-1.1build1",
        "4.3.3-1.1build2",
        "4.3.3-1.1build3"
      ]
    }
  ],
  "aliases": [],
  "details": "Raffaele Bova discovered that Libwebsockets incorrectly handled memory\nwhen the upgrade header is not valid in the WebSocket server. An\nattacker could possibly use this issue to cause a denial of service.\n(CVE-2025-11677)\n\nRaffaele Bova discovered that Libwebsockets did not properly check the\nsize of the destination buffer in the async-dns component. An attacker\ncould possibly use this issue to cause applications to crash, leading to a\ndenial of service, or possibly execute arbitrary code. This issue only\naffected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-11678)",
  "id": "USN-8024-1",
  "modified": "2026-04-27T14:11:47Z",
  "published": "2026-02-11T12:58:26Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8024-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-11677"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-11678"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "libwebsockets vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2025-11677",
    "UBUNTU-CVE-2025-11678"
  ]
}



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…