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

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.

— NVD

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 CVE-2026-0716
  2. Compensating control

    If the libsoup-based client must accept WebSocket traffic from untrusted sources and max_incoming_payload_size can be set to 0, avoid setting max_incoming_payload_size=0 (set it to a non-zero limit) to prevent triggering the out-of-bounds read condition described for unmasked frames with payload length near UINT64_MAX.

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

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