Heap-based Buffer Overflow Affecting glib2-tests package, versions <0:2.56.1-9.amzn2.0.9


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (36th 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-AMZN2-GLIB2TESTS-8747463
  • published26 Feb 2025
  • disclosed14 Sept 2023

Introduced: 14 Sep 2023

CVE-2023-32643  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 glib2-tests to version 0:2.56.1-9.amzn2.0.9 or higher.
This issue was patched in ALAS2-2025-2767.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glib2-tests package and not the glib2-tests package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A flaw was found in GLib. The GVariant deserialization code is vulnerable to a heap buffer overflow introduced by the fix for CVE-2023-32665. This bug does not affect any released version of GLib, but does affect GLib distributors who followed the guidance of GLib developers to backport the initial fix for CVE-2023-32665.

CVSS Scores

version 3.1