Out-of-bounds read In libsoup2.4
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | - | ||
debian 12 | - | ||
rpm rhel9 | - | - | |
rpm rhel6 | - | - | |
debian 13 | - | ||
debian 13 | - | ||
rpm rhel10 | 0:3.6.6-1.el10_3.9 | ||
rpm rhel10.0 | 0:3.6.5-3.el10_0.19 |
Aliases
1. 2. 3. 4. 5.