# CVE-2025-2784: Libsoup: heap buffer over-read in \`skip\_insignificant\_space\` when sniffing content

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.05% (percentile 82, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-04-03T01:40:12.164Z
- **Modified:** 2026-11-05T16:17:15.337Z

## Who should check

- Anyone running libsoup \< 3.6.5
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 8.2 Advanced Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.6 Telecommunications Update Service all versions

## Description

A flaw was found in libsoup. The package is vulnerable to a heap buffer over-read when sniffing content via the skip\_insight\_whitespace() function. Libsoup clients may read one byte out-of-bounds in response to a crafted HTTP response by an HTTP server.

## Affected and fixed versions

- libsoup: \< 3.6.5 (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8.2 Advanced Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 8.8 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9.4 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)

## Mitigation

- Upgrade libsoup to 3.6.5 or later.
- Vendor workaround: Currently no mitigation is available for this vulnerability.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-2784. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-2784.md
Affected: libsoup < 3.6.5; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linu…
Fixed in: libsoup 3.6.5

Steps:
1. Search this machine and project for libsoup, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-2784 being exploited?

There is no confirmed exploitation: CVE-2025-2784 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.05% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-2784?

High: CVSS 7.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-2784?

libsoup \< 3.6.5; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.8 Extended Update Support all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.2 Extended Update Support all versions; Red Hat Enterprise Linux 9.4 Extended Update Support all versions; Red Hat Enterprise Linux 6.

### Is there a fix for CVE-2025-2784?

Yes. Fixed in libsoup 3.6.5. Upgrade libsoup to 3.6.5 or later. Vendor workaround: Currently no mitigation is available for this vulnerability.

### How do I check if I'm affected by CVE-2025-2784?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2025:21657>
- vendor: <https://access.redhat.com/errata/RHSA-2025:7505>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8126>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8132>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8139>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8140>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8252>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8480>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8481>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8482>
- vendor: <https://access.redhat.com/errata/RHSA-2025:8663>
- exploit: <https://gitlab.gnome.org/GNOME/libsoup/-/issues/422>
- other: <https://access.redhat.com/security/cve/CVE-2025-2784>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2354669>
- other: <https://lists.debian.org/debian-lts-announce/2025/04/msg00036.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-2784>

HTML: <https://flawdb.com/CVE-2025-2784> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-2784>
