Vulnerability in libsoup2.4
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2025-4948 has been found in libsoup2.4.
Risk of unauthorized operations or information disclosure.
What to do: upgrade libsoup2.4 to 2.52.2-1ubuntu0.3+esm5 or later.
If unsure, ask your IT team or search "libsoup2.4 UBUNTU-CVE-2025-4948" on the vendor's site.
UBUNTU-CVE-2025-4948 (libsoup2.4)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 2.52.2-1ubuntu0.3+esm5 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in libsoup2.4.
Check the vendor advisory for the affected versions of libsoup2.4.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 2.52.2-1ubuntu0.3+esm5.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'libsoup2.4' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'libsoup2.4' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
libsoup2.4を grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade libsoup2.4 to 2.52.2-1ubuntu0.3+esm5ステージング環境で 2.52.2-1ubuntu0.3+esm5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSlibsoup2.4 |
< 2.52.2-1ubuntu0.3+esm5→ 2.52.2-1ubuntu0.3+esm5 |
2.52.2-1ubuntu0.3+esm5 |
| Ubuntu:Pro:18.04:LTSlibsoup2.4 |
< 2.62.1-1ubuntu0.4+esm6→ 2.62.1-1ubuntu0.4+esm6 |
2.62.1-1ubuntu0.4+esm6 |
| Ubuntu:Pro:20.04:LTSlibsoup2.4 |
< 2.70.0-1ubuntu0.5+esm1→ 2.70.0-1ubuntu0.5+esm1 |
2.70.0-1ubuntu0.5+esm1 |
| Ubuntu:22.04:LTSlibsoup2.4 |
< 2.74.2-3ubuntu0.6→ 2.74.2-3ubuntu0.6 |
2.74.2-3ubuntu0.6 |
| Ubuntu:Pro:22.04:LTSlibsoup3 |
< 3.0.7-0ubuntu1+esm5→ 3.0.7-0ubuntu1+esm5 |
3.0.7-0ubuntu1+esm5 |
| Ubuntu:24.04:LTSlibsoup2.4 |
< 2.74.3-6ubuntu1.6→ 2.74.3-6ubuntu1.6 |
2.74.3-6ubuntu1.6 |
| Ubuntu:24.04:LTSlibsoup3 |
< 3.4.4-5ubuntu0.5→ 3.4.4-5ubuntu0.5 |
3.4.4-5ubuntu0.5 |
| Ubuntu:25.10libsoup2.4 |
< 2.74.3-10.1ubuntu4→ 2.74.3-10.1ubuntu4 |
2.74.3-10.1ubuntu4 |
| Ubuntu:25.10libsoup3 |
< 3.6.5-3→ 3.6.5-3 |
3.6.5-3 |
| Ubuntu:26.04:LTSlibsoup2.4 |
< 2.74.3-10.1ubuntu4→ 2.74.3-10.1ubuntu4 |
2.74.3-10.1ubuntu4 |
Original description The description as published by the source.
A flaw was found in the soup_multipart_new_from_message() function of the libsoup HTTP library, which is commonly used by GNOME and other applications to handle web communications. The issue occurs when the library processes specially crafted multipart messages. Due to improper validation, an internal calculation can go wrong, leading to an integer underflow. This can cause the program to access invalid memory and crash. As a result, any application or server using libsoup could be forced to exit unexpectedly, creating a denial-of-service (DoS) risk.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report access.redhat.com