Libsoup: libsoup: heap buffer overflow via uninitialized length in data-uri base64 decoding
- CVE-2026-102555
- GHSA-vfxx-hcqj-vrh4
- EUVD-2026-89102
Description
A flaw was found in libsoup. The soup_uri_decode_data_uri() function incorrectly treated base64 data-URI payloads as NUL-terminated strings when calling g_base64_decode_inplace(). If the percent-decoded payload contained embedded NUL bytes, the decoded length could remain uninitialized and be used as the size of the returned GBytes. This can lead to an out-of-bounds read or application crash when processing a crafted data URI.
Text from the CVE.org record.
Recommendation
gnome libsoup
- If you run a version before 3.7.3update to 3.7.3 or later
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
gnome libsoup
Affected versions Fixed in before 3.7.3 3.7.3 redhat enterprise linux
Affected versions Fixed in 9.0 none stated 10.0 none stated
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.