CVE-2025-2784: Libsoup: heap buffer over-read in `skip_insignificant_space` when sniffing content
A flaw was found in libsoup. The package is vulnerable to a heap buffer over-read when sniffing content via the skipinsightwhitespace() function. Libsoup clients may read one byte out-of-bounds in response to a crafted HTTP response by an HTTP server.
Other sources
libsoup prior to version 3.6.5 is vulnerable to a heap buffer over-read in the content sniffer's skipinsignificantwhitespace() function. libsoup clients may read one byte out of bounds in response to a crafted HTTP response sent by an HTTP server.
— Red Hat
Libsoup: heap buffer over-read in skipinsignificantspace when sniffing content
— Microsoft
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libsoup2.4to a version that resolves this vulnerability.Fixed in 2.74.3-10 - Upgrade
Upgrade
debian/libsoup3to a version that resolves this vulnerability.Fixed in 3.6.5-1 - Upgrade
Upgrade
libsoupto a version that resolves this vulnerability.Fixed in 3.6.5
Event History
Frequently Asked Questions
What is the severity of CVE-2025-2784?
CVE-2025-2784 is classified as a moderate severity vulnerability due to potential data leakage risks.
How do I fix CVE-2025-2784?
To fix CVE-2025-2784, update libsoup to version 3.6.5 or later.
What type of vulnerability is CVE-2025-2784?
CVE-2025-2784 is a heap buffer over-read vulnerability occurring in the skip_insight_whitespace() function.
Who is affected by CVE-2025-2784?
CVE-2025-2784 affects users of libsoup versions prior to 3.6.5.
What is the impact of CVE-2025-2784?
The impact of CVE-2025-2784 may allow malicious HTTP servers to cause libsoup clients to read out-of-bounds data.