Description
Integer overflow in the soup_base64_encode function in soup-misc.c in libsoup 2.x.x before 2.2.x, and 2.x before 2.24, allows context-dependent attackers to execute arbitrary code via a long string that is converted to a base64 representation.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libsoup | 2.2.105-4 | — |
| Debian 4.0 | libsoup | 2.2.98-2+etch1 | DSA-1748-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | libsoup +1 | 2.2.98-2.el5_3.1 | RHSA-2009:0344 |
| RHEL 4 | evolution28-libsoup +1 | 2.2.98-5.el4.1 | RHSA-2009:0344 |
| RHEL 4 | libsoup +1 | 2.2.1-4.el4.1 | RHSA-2009:0344 |
Advisories 2
- RHSA-2009:0344 Red Hat Security Advisory: libsoup security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1748-1 libsoup - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- RHSA-2009:0344 vendor-advisory
- oval:org.mitre.oval:def:9599 vdb-entry signature
- http://support.avaya.com/elmodocs2/security/ASA-2009-088.htm
- MDVSA-2009:081 vendor-advisory
- [oss-security] 20090312 [oCERT-2008-015] glib and glib-predecessor heap overflows mailing-list
- 34100 vdb-entry
- 35065 third-party-advisory
- libsoup-soupmisc-bo(49273) vdb-entry
- 34310 third-party-advisory
- 20090312 [oCERT-2008-015] glib and glib-predecessor heap overflows mailing-list
- DSA-1748 vendor-advisory
- SUSE-SR:2009:010 vendor-advisory
- 34401 third-party-advisory
- http://ocert.org/patches/2008-015/libsoup-CVE-2009-0585.diff
- USN-737-1 vendor-advisory
- 34337 third-party-advisory
- http://www.ocert.org/advisories/ocert-2008-015.html