Skip to content
Heist/ feed
Back to feed
MediumFix available

libwebsockets — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-78161

A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.

Products
libwebsockets
Affected versions
4.3.5-1, 4.3.5-1+deb13u1, 4.3.5-2, 4.3.5-3, 4.3.5-4, 4.3.5-4.1, 4.3.5-5
Fixed versions
4.3.5-1+deb13u2, 4.3.5-6
CVEs
CVE-2026-78161
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 09:03 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-78161

core-osv · Original source

Published 24 Aug 2026, 01:16 UTC

A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.

osv:DEBIAN-CVE-2026-78161

libwebsockets

Fixed versions: 4.3.5-1+deb13u2

libwebsockets

Fixed versions: 4.3.5-6

Complete source record
{
  "id": "ff29be2a85e99bbffc89cee2bc491d4623e957110163abc0d8c8106527aabaf7",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-78161",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-78161",
    "summary": "A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function report_raw_cbor of the file lib/misc/lecp.c of the component LECP CBOR Recording. The manipulation results in out-of-bounds write. The attack can be launched remotely. The exploit has been made public and could be used. The patch is identified as 1d44554a1bb262db63ff4e240152a9deecd99054. It is best practice to apply a patch to resolve this issue.",
    "evidence": "osv:DEBIAN-CVE-2026-78161",
    "products": [
      {
        "name": {
          "value": "libwebsockets",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.3.5-1+deb13u2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.3.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.3.5-1+deb13u1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libwebsockets",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.3.5-6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.3.5-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.3.5-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.3.5-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.3.5-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.3.5-4.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.3.5-5",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-78161",
      "aliases": [
        "DEBIAN-CVE-2026-78161"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.3.5-1+deb13u2"
                }
              ]
            }
          ],
          "package": {
            "name": "libwebsockets",
            "purl": "pkg:deb/debian/libwebsockets?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "4.3.5-1",
            "4.3.5-1+deb13u1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-78161.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.3.5-6"
                }
              ]
            }
          ],
          "package": {
            "name": "libwebsockets",
            "purl": "pkg:deb/debian/libwebsockets?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "4.3.5-1",
            "4.3.5-2",
            "4.3.5-3",
            "4.3.5-4",
            "4.3.5-4.1",
            "4.3.5-5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-78161.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-13T09:47:26.279614514Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-78161"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-78161"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-78161",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 307553,
  "published_at": "2026-08-24T01:16:57.36+00:00"
}