Red Hat Enterprise Linux 10
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:3.6.5-3.el10_2.20
Fixed in 0:3.6.6-1.el10_3.9
Fixed in 0:3.6.5-3.el10_0.19
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:3.6.5-3.el10_2.20 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:3.6.6-1.el10_3.9 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:3.6.5-3.el10_0.19 or later.
Workaround
To mitigate this do not pass untrusted data URIs to soup_uri_decode_data_uri().
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:83618
- Vendor advisory access.redhat.com/errata/RHSA-2026:93583
- Vendor advisory access.redhat.com/errata/RHSA-2026:98560
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.