CVE-2026-12548Libsoup: heap out-of-bounds read in libsoup due to integer truncation
A heap out-of-bounds read flaw was found in libsoup. When parsing multipart HTTP messages, an integer type mismatch between the caller and soup_headers_parse() can cause the length parameter to be incorrectly truncated, leading to a heap buffer over-read. A remote attacker could use this flaw to crash an application using libsoup or potentially disclose heap memory contents.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libsoup2.4 | Fix pending | UBUNTU-CVE-2026-12548 | |
| Ubuntu 26.10 | libsoup3 | Fixed | 3.6.6-1ubuntu3.1 | UBUNTU-CVE-2026-12548 |
| Ubuntu 26.04 | libsoup2.4 | Fix pending | 2.74.3-10.1ubuntu5+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-12548 |
| Ubuntu 26.04 | libsoup3 | Fixed | 3.6.6-1ubuntu0.2 | UBUNTU-CVE-2026-12548 |
| Ubuntu 24.04 | libsoup2.4 | Fixed | 2.74.3-6ubuntu1.10 | UBUNTU-CVE-2026-12548 |
| Ubuntu 24.04 | libsoup3 | Fixed | 3.4.4-5ubuntu0.10 | UBUNTU-CVE-2026-12548 |
| Ubuntu 22.04 | libsoup2.4 | Fixed | 2.74.2-3ubuntu0.10 | UBUNTU-CVE-2026-12548 |
| Ubuntu 22.04 | libsoup3 | Fix pending | 3.0.7-0ubuntu1+esm10 (Ubuntu Pro) | UBUNTU-CVE-2026-12548 |
| Ubuntu 20.04 | libsoup2.4 | Fix pending | 2.70.0-1ubuntu0.5+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-12548 |
| Ubuntu 18.04 | libsoup2.4 | Fix pending | 2.62.1-1ubuntu0.4+esm10 (Ubuntu Pro) | UBUNTU-CVE-2026-12548 |
| Ubuntu 16.04 | libsoup2.4 | Fix pending | 2.52.2-1ubuntu0.3+esm9 (Ubuntu Pro) | UBUNTU-CVE-2026-12548 |
| Debian 13 | libsoup2.4 | Fix pending | DEBIAN-CVE-2026-12548 | |
| Debian 13 | libsoup3 | Fix pending | DEBIAN-CVE-2026-12548 | |
| Debian 12 | libsoup2.4 | Fix pending | DEBIAN-CVE-2026-12548 | |
| Debian 12 | libsoup3 | Fix pending | DEBIAN-CVE-2026-12548 | |
| Red Hat Enterprise Linux 10 | libsoup3 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libsoup3-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libsoup3-doc | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
References
- https://access.redhat.com/security/cve/CVE-2026-12548
- https://bugzilla.redhat.com/show_bug.cgi?id=2489996
- https://gitlab.gnome.org/GNOME/libsoup/-/work_items/512
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.