CVEfocus › CVE database › CVE-2026-12478

CVE-2026-12478Libsoup: incomplete fix for cve-2026-0716: out-of-bounds read in libsoup websocket frame…

CVSS 4.8 MediumEPSS 0.4% (higher than 25% of CVEs)Published 2026-07-14Updated 2026-11-24Assigner: redhat

The fix for CVE-2026-0716 (commit 6ff7ef0, libsoup 3.6.6) placed the integer overflow guard inside the if (masked) block, leaving unmasked server-to-client frames unprotected. A malicious WebSocket server can send a crafted unmasked frame with a payload length near UINT64_MAX to trigger an OOB read in a libsoup-based client when max_incoming_payload_size is set to 0.

CWE-125

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
10Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libsoup3Fixed3.6.6-1ubuntu3.1UBUNTU-CVE-2026-12478
Ubuntu 26.04libsoup3Fixed3.6.6-1ubuntu0.2UBUNTU-CVE-2026-12478
Ubuntu 24.04libsoup3Fixed3.4.4-5ubuntu0.10UBUNTU-CVE-2026-12478
Ubuntu 22.04libsoup3Fix pending3.0.7-0ubuntu1+esm10 (Ubuntu Pro)UBUNTU-CVE-2026-12478
Red Hat Enterprise Linux 10libsoup3Fix pending
Fix deferred
Red Hat Enterprise Linux 10libsoup3-develFix pending
Fix deferred
Red Hat Enterprise Linux 10libsoup3-docFix pending
Fix deferred
Red Hat Enterprise Linux 9libsoupFix pending
Fix deferred
Red Hat Enterprise Linux 9libsoup-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libsoupFix pending
Fix deferred
Red Hat Enterprise Linux 8libsoup-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libsoupFix pending
Fix deferred
Red Hat Enterprise Linux 7libsoup-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libsoupNot affected
Red Hat Enterprise Linux 6libsoup-develNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To mitigate this issue, applications utilizing libsoup's WebSocket support should ensure that the `max_incoming_payload_size` is explicitly set to a non-zero value. This prevents the library from processing WebSocket frames with an unset or zero maximum payload size, which can lead to out-of-bounds reads. Consult application-specific documentation for configuring libsoup parameters.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.