CVE-2026-102555 — Libsoup: libsoup: heap buffer overflow via uninitialized length in data-uri base64 decoding
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.
Published
CVSS 3.1 score 8.2 out of 10.
Reported versions and fixes
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
-
Source-reported product
— Reported version range
cpe:2.3:a:gnome:libsoup:*:*:*:*:*:*:*:* -
Source-reported product
— Reported version range
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* -
Source-reported product
— Reported version range
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*