Buffer Over-read Affecting glib2.0 package, versions <2.84.4-3~deb13u3+e3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.49% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GLIB20-18291471
  • published24 Jul 2026
  • disclosed30 Jun 2026

Introduced: 30 Jun 2026

CVE-2026-58012  (opens in a new tab)
CWE-126  (opens in a new tab)

How to fix?

Upgrade Echo:latest glib2.0 to version 2.84.4-3~deb13u3+e3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glib2.0 package and not the glib2.0 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

A flaw was found in GLib. A buffer over-read can occur in the g_regex_replace function when used with the G_REGEX_RAW compile flag and case-change replacement escapes because the string_append function processes matched substrings using UTF-8 functions that assume valid UTF-8 input, even when the string is treated as raw bytes. This vulnerability can cause a minor information disclosure of 1-5 bytes and a denial of service when the buffer over-read crosses a page boundary.

References

CVSS Base Scores

version 3.1