A flaw was found in libsoup. When max-incoming-payload-size is unlimited (0), SoupWebsocketConnection could grow its incoming GByteArray based on an… (CVE-2026-102558)
A heap buffer overflow vulnerability exists in libsoup's SoupWebsocketConnection when the max-incoming-payload-size is set to unlimited (0). This flaw allows an attacker to cause the incoming buffer to grow based on a malicious frame length until an integer wrap occurs, leading to heap corruption during frame data reading. The issue can result in denial of service or potential information disclosure. The vulnerability is rated high severity with a CVSS score of 8.6. Mitigation involves configuring a finite max-incoming-payload-size and restricting WebSocket connections to trusted peers.
AI Analysis
Technical Summary
CVE-2026-102558 describes a heap buffer overflow in libsoup's SoupWebsocketConnection component. When the max-incoming-payload-size parameter is set to 0 (unlimited), the incoming GByteArray buffer can grow based on an attacker-controlled frame length. If the length value wraps due to integer overflow, this causes a heap buffer overflow while reading frame data. This vulnerability can be exploited remotely by a WebSocket peer without authentication or user interaction. The flaw can lead to heap corruption, denial of service, and potential low-level information disclosure such as memory contents that might aid further attacks. The vulnerability is rated with a CVSS 3.1 score of 8.6 (high severity). Red Hat's advisory emphasizes that default configurations with finite payload limits reduce exposure, but applications disabling this limit remain vulnerable. No official patch is explicitly stated in the advisory; mitigation is to avoid unlimited payload size and restrict WebSocket exposure.
Potential Impact
An attacker controlling a remote WebSocket peer can cause heap corruption or denial of service by exploiting the heap buffer overflow triggered when the incoming payload size is unlimited. Confidentiality impact is low but may allow reading memory contents that could bypass protection mechanisms like ASLR. Integrity impact is low, but availability impact is high due to potential crashes or restarts. The vulnerability requires no privileges or user interaction and can be triggered over the network.
Mitigation Recommendations
Red Hat advises configuring a finite max-incoming-payload-size on SoupWebsocketConnection instead of setting it to 0 (unlimited). Additionally, restrict WebSocket exposure to trusted peers to reduce risk. There is no explicit mention of an official patch or update; therefore, patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
A flaw was found in libsoup. When max-incoming-payload-size is unlimited (0), SoupWebsocketConnection could grow its incoming GByteArray based on an… (CVE-2026-102558)
Description
A heap buffer overflow vulnerability exists in libsoup's SoupWebsocketConnection when the max-incoming-payload-size is set to unlimited (0). This flaw allows an attacker to cause the incoming buffer to grow based on a malicious frame length until an integer wrap occurs, leading to heap corruption during frame data reading. The issue can result in denial of service or potential information disclosure. The vulnerability is rated high severity with a CVSS score of 8.6. Mitigation involves configuring a finite max-incoming-payload-size and restricting WebSocket connections to trusted peers.
CVSS v3.1
Score 8.6high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-102558 describes a heap buffer overflow in libsoup's SoupWebsocketConnection component. When the max-incoming-payload-size parameter is set to 0 (unlimited), the incoming GByteArray buffer can grow based on an attacker-controlled frame length. If the length value wraps due to integer overflow, this causes a heap buffer overflow while reading frame data. This vulnerability can be exploited remotely by a WebSocket peer without authentication or user interaction. The flaw can lead to heap corruption, denial of service, and potential low-level information disclosure such as memory contents that might aid further attacks. The vulnerability is rated with a CVSS 3.1 score of 8.6 (high severity). Red Hat's advisory emphasizes that default configurations with finite payload limits reduce exposure, but applications disabling this limit remain vulnerable. No official patch is explicitly stated in the advisory; mitigation is to avoid unlimited payload size and restrict WebSocket exposure.
Potential Impact
An attacker controlling a remote WebSocket peer can cause heap corruption or denial of service by exploiting the heap buffer overflow triggered when the incoming payload size is unlimited. Confidentiality impact is low but may allow reading memory contents that could bypass protection mechanisms like ASLR. Integrity impact is low, but availability impact is high due to potential crashes or restarts. The vulnerability requires no privileges or user interaction and can be triggered over the network.
Mitigation Recommendations
Red Hat advises configuring a finite max-incoming-payload-size on SoupWebsocketConnection instead of setting it to 0 (unlimited). Additionally, restrict WebSocket exposure to trusted peers to reduce risk. There is no explicit mention of an official patch or update; therefore, patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-xxgh-qh6h-jxc2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-102558"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abc27bd680226ef6846f7e9
Added to database: 09/29/2026, 21:03:57 UTC
Last enriched: 09/29/2026, 21:16:14 UTC
Last updated: 09/30/2026, 03:31:54 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.