Skip to main content

The fix for CVE-2026-0716 (commit 6ff7ef0, libsoup 3.6.6) placed the integer overflow guard inside the if (masked) block, leaving unmasked… (CVE-2026-12478)

0
Medium
Published: 07/14/2026 (07/14/2026, 12:31:15 UTC)
Source: GCVE Database

Description

CVE-2026-12478 is an out-of-bounds read vulnerability in libsoup's WebSocket frame processing. The fix for a previous vulnerability (CVE-2026-0716) incorrectly placed an integer overflow guard inside a conditional block that only applied to masked frames, leaving unmasked frames unprotected. A malicious WebSocket server can send a crafted unmasked frame with a payload length near UINT64_MAX to trigger this vulnerability when the max_incoming_payload_size is set to 0. This configuration is not the default, limiting exposure in typical deployments.

CVSS v3.1

Score 4.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 05:09:59 UTC

Technical Analysis

The vulnerability arises because the integer overflow guard introduced in libsoup 3.6.6 to fix CVE-2026-0716 was applied only to masked WebSocket frames. Unmasked server-to-client frames remain unprotected, allowing a malicious WebSocket server to send an unmasked frame with a payload length near UINT64_MAX. When libsoup's max_incoming_payload_size is set to 0, this can trigger an out-of-bounds read in the client. This issue is rated moderate by Red Hat due to the requirement of a non-default configuration (max_incoming_payload_size=0 or unset).

Potential Impact

An attacker controlling a WebSocket server can cause a libsoup-based client to perform an out-of-bounds read, potentially disclosing sensitive memory contents such as cryptographic keys or other confidential information. The impact includes limited confidentiality loss and possible application instability. The vulnerability requires a non-default configuration, reducing the likelihood of exploitation in typical environments.

Mitigation Recommendations

Red Hat advises that applications using libsoup's WebSocket support explicitly set max_incoming_payload_size to a non-zero value to prevent processing of frames with an unset or zero maximum payload size. This configuration change mitigates the vulnerability by preventing out-of-bounds reads. No patch is explicitly mentioned; mitigation relies on configuration. Users should consult their application documentation for configuring this parameter appropriately.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-6jpc-6452-qwq2
Osv Schema Version
1.4.0
Aliases
["CVE-2026-12478"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aaa081e55bf5e2cf5ea54df

Added to database: 09/16/2026, 03:08:14 UTC

Last enriched: 09/16/2026, 05:09:59 UTC

Last updated: 09/16/2026, 05:09:59 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses