GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
oesa-2025-2611
Vulnerability from osv_openeuler
Published
2025-10-31 11:09
Modified
2026-08-06 11:09
Summary
libwebsockets security update
Details

Libwebsockets (LWS) is a flexible, lightweight pure C library for implementing modern network protocols easily with a tiny footprint, using a nonblocking event loop.

Security Fix(es):

Use After Free vulnerability exists in the WebSocket server implementation in lws_handshake_server in warmcat libwebsockets. In specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, an attacker may achieve denial of service.(CVE-2025-11677)

Stack-based Buffer Overflow in lws_adns_parse_label in warmcat libwebsockets allows, when the LWS_WITH_SYS_ASYNC_DNS flag is enabled during compilation, to overflow the label_stack, when the attacker is able to sniff a DNS request in order to craft a response with a matching id containing a label longer than the maximum.(CVE-2025-11678)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "libwebsockets-4.3.0-7.oe2203sp4.aarch64.rpm",
          "libwebsockets-debuginfo-4.3.0-7.oe2203sp4.aarch64.rpm",
          "libwebsockets-debugsource-4.3.0-7.oe2203sp4.aarch64.rpm",
          "libwebsockets-devel-4.3.0-7.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "libwebsockets-help-4.3.0-7.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "libwebsockets-4.3.0-7.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "libwebsockets-4.3.0-7.oe2203sp4.x86_64.rpm",
          "libwebsockets-debuginfo-4.3.0-7.oe2203sp4.x86_64.rpm",
          "libwebsockets-debugsource-4.3.0-7.oe2203sp4.x86_64.rpm",
          "libwebsockets-devel-4.3.0-7.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "libwebsockets",
        "purl": "pkg:rpm/openEuler/libwebsockets\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.3.0-7.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libwebsockets-4.3.3-4.oe2403.aarch64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403.aarch64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403.aarch64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403.aarch64.rpm",
          "libwebsockets-4.3.3-4.oe2403sp1.aarch64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403sp1.aarch64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403sp1.aarch64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403sp1.aarch64.rpm",
          "libwebsockets-4.3.3-4.oe2403sp2.aarch64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403sp2.aarch64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403sp2.aarch64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403sp2.aarch64.rpm"
        ],
        "noarch": [
          "libwebsockets-help-4.3.3-4.oe2403.noarch.rpm",
          "libwebsockets-help-4.3.3-4.oe2403sp1.noarch.rpm",
          "libwebsockets-help-4.3.3-4.oe2403sp2.noarch.rpm"
        ],
        "src": [
          "libwebsockets-4.3.3-4.oe2403.src.rpm",
          "libwebsockets-4.3.3-4.oe2403sp1.src.rpm",
          "libwebsockets-4.3.3-4.oe2403sp2.src.rpm"
        ],
        "x86_64": [
          "libwebsockets-4.3.3-4.oe2403.x86_64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403.x86_64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403.x86_64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403.x86_64.rpm",
          "libwebsockets-4.3.3-4.oe2403sp1.x86_64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403sp1.x86_64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403sp1.x86_64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403sp1.x86_64.rpm",
          "libwebsockets-4.3.3-4.oe2403sp2.x86_64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403sp2.x86_64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403sp2.x86_64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS",
        "name": "libwebsockets",
        "purl": "pkg:rpm/openEuler/libwebsockets\u0026distro=openEuler-24.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.3.3-4.oe2403sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libwebsockets-4.3.3-4.oe2403sp1.aarch64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403sp1.aarch64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403sp1.aarch64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403sp1.aarch64.rpm"
        ],
        "noarch": [
          "libwebsockets-help-4.3.3-4.oe2403sp1.noarch.rpm"
        ],
        "src": [
          "libwebsockets-4.3.3-4.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "libwebsockets-4.3.3-4.oe2403sp1.x86_64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403sp1.x86_64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403sp1.x86_64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "libwebsockets",
        "purl": "pkg:rpm/openEuler/libwebsockets\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.3.3-4.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libwebsockets-4.3.3-4.oe2403sp2.aarch64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403sp2.aarch64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403sp2.aarch64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403sp2.aarch64.rpm"
        ],
        "noarch": [
          "libwebsockets-help-4.3.3-4.oe2403sp2.noarch.rpm"
        ],
        "src": [
          "libwebsockets-4.3.3-4.oe2403sp2.src.rpm"
        ],
        "x86_64": [
          "libwebsockets-4.3.3-4.oe2403sp2.x86_64.rpm",
          "libwebsockets-debuginfo-4.3.3-4.oe2403sp2.x86_64.rpm",
          "libwebsockets-debugsource-4.3.3-4.oe2403sp2.x86_64.rpm",
          "libwebsockets-devel-4.3.3-4.oe2403sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP2",
        "name": "libwebsockets",
        "purl": "pkg:rpm/openEuler/libwebsockets\u0026distro=openEuler-24.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.3.3-4.oe2403sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libwebsockets-4.3.0-7.oe2003sp4.aarch64.rpm",
          "libwebsockets-debuginfo-4.3.0-7.oe2003sp4.aarch64.rpm",
          "libwebsockets-debugsource-4.3.0-7.oe2003sp4.aarch64.rpm",
          "libwebsockets-devel-4.3.0-7.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "libwebsockets-help-4.3.0-7.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "libwebsockets-4.3.0-7.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "libwebsockets-4.3.0-7.oe2003sp4.x86_64.rpm",
          "libwebsockets-debuginfo-4.3.0-7.oe2003sp4.x86_64.rpm",
          "libwebsockets-debugsource-4.3.0-7.oe2003sp4.x86_64.rpm",
          "libwebsockets-devel-4.3.0-7.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "libwebsockets",
        "purl": "pkg:rpm/openEuler/libwebsockets\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.3.0-7.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libwebsockets-4.3.0-7.oe2203sp3.aarch64.rpm",
          "libwebsockets-debuginfo-4.3.0-7.oe2203sp3.aarch64.rpm",
          "libwebsockets-debugsource-4.3.0-7.oe2203sp3.aarch64.rpm",
          "libwebsockets-devel-4.3.0-7.oe2203sp3.aarch64.rpm"
        ],
        "noarch": [
          "libwebsockets-help-4.3.0-7.oe2203sp3.noarch.rpm"
        ],
        "src": [
          "libwebsockets-4.3.0-7.oe2203sp3.src.rpm"
        ],
        "x86_64": [
          "libwebsockets-4.3.0-7.oe2203sp3.x86_64.rpm",
          "libwebsockets-debuginfo-4.3.0-7.oe2203sp3.x86_64.rpm",
          "libwebsockets-debugsource-4.3.0-7.oe2203sp3.x86_64.rpm",
          "libwebsockets-devel-4.3.0-7.oe2203sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP3",
        "name": "libwebsockets",
        "purl": "pkg:rpm/openEuler/libwebsockets\u0026distro=openEuler-22.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.3.0-7.oe2203sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "Libwebsockets (LWS) is a flexible, lightweight pure C library for implementing modern network protocols easily with a tiny footprint, using a nonblocking event loop.\r\n\r\nSecurity Fix(es):\n\nUse After Free vulnerability exists in the WebSocket server implementation in lws_handshake_server in warmcat libwebsockets. In specific configurations where the user provides a callback function that handles LWS_CALLBACK_HTTP_CONFIRM_UPGRADE, an attacker may achieve denial of service.(CVE-2025-11677)\n\nStack-based Buffer Overflow in lws_adns_parse_label in warmcat libwebsockets allows, when the LWS_WITH_SYS_ASYNC_DNS flag is enabled during compilation, to overflow the label_stack, when the attacker is able to sniff a DNS request in order to craft a response with a matching id containing a label longer than the maximum.(CVE-2025-11678)",
  "id": "OESA-2025-2611",
  "modified": "2026-08-06T11:09:44Z",
  "published": "2025-10-31T11:09:44Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-2611"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-11677"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-11678"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libwebsockets security update",
  "upstream": [
    "CVE-2025-11677",
    "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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…