Cryptographic Issues Affecting glib2.0 package, versions <2.74.6-2+deb12u6


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
2.04% (80th 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-18291439
  • published24 Jul 2026
  • disclosed14 Jan 2012

Introduced: 14 Jan 2012

CVE-2012-0039  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade Echo:latest glib2.0 to version 2.74.6-2+deb12u6 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.

GLib 2.31.8 and earlier, when the g_str_hash function is used, computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table. NOTE: this issue may be disputed by the vendor; the existence of the g_str_hash function is not a vulnerability in the library, because callers of g_hash_table_new and g_hash_table_new_full can specify an arbitrary hash function that is appropriate for the application.

CVSS Base Scores

version 3.1