CVE-2026-12478: Libsoup: incomplete fix for cve-2026-0716: out-of-bounds read in libsoup websocket frame processing (unmasked path)

Published Jun 16, 2026
·
Updated

https://gitlab.gnome.org/GNOME/libsoup/-/workitems/476#note2695744 https://redhat.atlassian.net/browse/PSIRTSUPT-8846

Other sources

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 UINT64MAX to trigger an OOB read in a libsoup-based client when maxincomingpayloadsize is set to 0.

MITRE

Affected Software

1 affected component
Gnome libsoup=3.6.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libsoup to a version that resolves this vulnerability.

    Fixed in 3.6.6Patch 6ff7ef0
  2. Configuration

    Set max_incoming_payload_size to a non-zero value, since the issue is triggered when max_incoming_payload_size is set to 0 by a malicious WebSocket server sending a crafted unmasked frame with a payload length near UINT64_MAX.

    libsoup websocket (max_incoming_payload_size) max_incoming_payload_size = 0
  3. Compensating control

    Mitigate the attack by preventing untrusted/malicious WebSocket servers from being reachable by the libsoup-based client (e.g., restrict allowed WebSocket endpoints at the network/firewall/ACL level).

Event History

Jun 16, 2026
Data Sourced
via Red Hat·09:36 PM
DescriptionSeverityAffected Software
Jul 14, 2026
CVE Published
via MITRE·09:26 AM
Data Sourced
via MITRE·09:26 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12478?

CVE-2026-12478 has a medium severity score of 4.8.

2

How do I fix CVE-2026-12478?

To fix CVE-2026-12478, update to the latest version of Libsoup that addresses this vulnerability.

3

What types of attacks does CVE-2026-12478 allow?

CVE-2026-12478 may allow for out-of-bounds read attacks via unmasked server-to-client WebSocket frames.

4

What software is affected by CVE-2026-12478?

CVE-2026-12478 affects the Gnome libsoup software.

5

Is CVE-2026-12478 a complete fix for CVE-2026-0716?

No, CVE-2026-12478 is an incomplete fix for CVE-2026-0716, as it does not fully protect against all unmasked frames.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203