UBUNTU-CVE-2026-78161

Source
https://ubuntu.com/security/CVE-2026-78161
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-78161
Upstream
Published
2026-08-24T01:16:00Z
Modified
2026-09-02T19:36:50.017097575Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A vulnerability was found in warmcat libwebsockets 4.5.0. Impacted is the function reportrawcbor 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.

References

Affected packages

Ubuntu:16.04:LTS
libwebsockets

Package

Name
libwebsockets
Purl
pkg:deb/ubuntu/libwebsockets?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.2-1
1.6.0-3
1.6.0-4
1.6.0-5
1.6.1-1
1.7.0-1ubuntu1
1.7.0-2
1.7.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libwebsockets-test-server",
            "binary_version": "1.7.1-1"
        },
        {
            "binary_name": "libwebsockets-test-server-common",
            "binary_version": "1.7.1-1"
        },
        {
            "binary_name": "libwebsockets7",
            "binary_version": "1.7.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"
Ubuntu:18.04:LTS
libwebsockets

Package

Name
libwebsockets
Purl
pkg:deb/ubuntu/libwebsockets?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.3-3
2.0.3-3build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libwebsockets-test-server",
            "binary_version": "2.0.3-3build1"
        },
        {
            "binary_name": "libwebsockets-test-server-common",
            "binary_version": "2.0.3-3build1"
        },
        {
            "binary_name": "libwebsockets8",
            "binary_version": "2.0.3-3build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"
Ubuntu:22.04:LTS
libwebsockets

Package

Name
libwebsockets
Purl
pkg:deb/ubuntu/libwebsockets?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.0.20-2
4.0.20-2ubuntu1
4.0.20-2ubuntu1.1

Ecosystem specific

{
    "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"
Ubuntu:26.04:LTS
libwebsockets

Package

Name
libwebsockets
Purl
pkg:deb/ubuntu/libwebsockets?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.3.5-1
4.3.5-3
4.3.5-3ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libwebsockets-evlib-ev",
            "binary_version": "4.3.5-3ubuntu1"
        },
        {
            "binary_name": "libwebsockets-evlib-glib",
            "binary_version": "4.3.5-3ubuntu1"
        },
        {
            "binary_name": "libwebsockets-evlib-uv",
            "binary_version": "4.3.5-3ubuntu1"
        },
        {
            "binary_name": "libwebsockets-test-server",
            "binary_version": "4.3.5-3ubuntu1"
        },
        {
            "binary_name": "libwebsockets-test-server-common",
            "binary_version": "4.3.5-3ubuntu1"
        },
        {
            "binary_name": "libwebsockets19t64",
            "binary_version": "4.3.5-3ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"
Ubuntu:Pro:20.04:LTS
libwebsockets

Package

Name
libwebsockets
Purl
pkg:deb/ubuntu/libwebsockets?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.3-3build1
3.*
3.2.1-3
3.2.1-3ubuntu0.1~esm1

Ecosystem specific

{
    "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"
Ubuntu:Pro:24.04:LTS
libwebsockets

Package

Name
libwebsockets
Purl
pkg:deb/ubuntu/libwebsockets?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.3.2-4
4.3.3-1
4.3.3-1.1build1
4.3.3-1.1build2
4.3.3-1.1build3
4.3.3-1.1ubuntu0.1~esm1

Ecosystem specific

{
    "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78161.json"