Back

HIGH

glib2: hash table collisions CPU usage DoS

Published Jan 14, 2012

Description

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (1)

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Jan 14, 2012
Updated Jan 21, 2025
Reserved Dec 7, 2011
CISA Vulnrichment
Updated Jan 21, 2025
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Moderate
Public date May 29, 2003