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.
0:2.74.2-3ubuntu0.100:2.74.3-6ubuntu1.100:3.4.4-5ubuntu0.100:3.6.6-1ubuntu0.20:3.6.6-1ubuntu3.10:2.52.2-1ubuntu0.3+esm90:2.62.1-1ubuntu0.4+esm100:2.70.0-1ubuntu0.5+esm50:3.0.7-0ubuntu1+esm100:2.74.3-10.1ubuntu5+esm4Exploitability
AV:NAC:LPR:NUI:NScope
S:UImpact
C:LI:NA:HCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H