libsoup Treats a Percent-Decoded Data URI as NUL-Terminated, Leaving an Uninitialized Length That Drives an Out-of-Bounds Read
Last refreshed2026-11-17
Status: UPDATED
| Advisory ID: CVE-2026-102555
Key Details
CVE
CVE-2026-102555
CVSS Score / Version
8.2 (High) / CVSS v3.1
Updated
2026-11-04
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is low; integrity impact is none; availability impact is high.
Affected products
Red Hat Enterprise Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, and Red Hat Enterprise Linux 9
Classified as
CWE-125 (Out-of-bounds Read)
Exploitation prediction (EPSS)
0.48% probability of exploitation in the next 30 days (42% percentile) -- FIRST.org's EPSS model.
Affected Products, Subsystems & Sectors
Vendor
Product
Affected Versions
Patch Status
Red Hat
Enterprise Linux
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
Red Hat Enterprise Linux 9
Subsystems
OT Supporting Infrastructure
Sectors
All Sectors
What to Know
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. (NVD)
What to Do
Mitigation: To mitigate this do not pass untrusted data URIs to soup_uri_decode_data_uri(). Source: Red Hat CVE-2026-102555