ALAS2-2025-3094


Amazon Linux 2 Security Advisory: ALAS2-2025-3094
Advisory Released Date: 2025-12-08
Advisory Updated Date: 2025-12-08
Severity: Important

Issue Overview:

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. (CVE-2025-13601)


Affected Packages:

glib2


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update glib2 or yum update --advisory ALAS2-2025-3094 to update your system.

New Packages:
aarch64:
    glib2-2.56.1-9.amzn2.0.12.aarch64
    glib2-devel-2.56.1-9.amzn2.0.12.aarch64
    glib2-fam-2.56.1-9.amzn2.0.12.aarch64
    glib2-static-2.56.1-9.amzn2.0.12.aarch64
    glib2-tests-2.56.1-9.amzn2.0.12.aarch64
    glib2-debuginfo-2.56.1-9.amzn2.0.12.aarch64

i686:
    glib2-2.56.1-9.amzn2.0.12.i686
    glib2-devel-2.56.1-9.amzn2.0.12.i686
    glib2-fam-2.56.1-9.amzn2.0.12.i686
    glib2-static-2.56.1-9.amzn2.0.12.i686
    glib2-tests-2.56.1-9.amzn2.0.12.i686
    glib2-debuginfo-2.56.1-9.amzn2.0.12.i686

noarch:
    glib2-doc-2.56.1-9.amzn2.0.12.noarch

src:
    glib2-2.56.1-9.amzn2.0.12.src

x86_64:
    glib2-2.56.1-9.amzn2.0.12.x86_64
    glib2-devel-2.56.1-9.amzn2.0.12.x86_64
    glib2-fam-2.56.1-9.amzn2.0.12.x86_64
    glib2-static-2.56.1-9.amzn2.0.12.x86_64
    glib2-tests-2.56.1-9.amzn2.0.12.x86_64
    glib2-debuginfo-2.56.1-9.amzn2.0.12.x86_64