A heap-based buffer overflow problem was found in glib through an incorrect calculation of buffer size in the g_escape_uri_string() function. If the string to escape contains a very large number of unacceptable characters (which would need escaping), the calculation of the length of the escaped string could overflow, leading to a potential write off the end of the newly allocated string.
2.72.4-0ubuntu2.72.80.0-6ubuntu3.62.86.0-2ubuntu0.12.40.2-0ubuntu1.1+esm72.48.2-0ubuntu4.8+esm52.56.4-0ubuntu0.18.04.9+esm52.64.6-1~ubuntu20.04.9+esm1Exploitability
AV:LAC:LPR:NUI:NScope
S:UImpact
C:NI:HA:HCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H