Live threats
VulnFox

All CVEs / Gnome

CVE-2012-0039Gnome Glib

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jan 14, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-310
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Glib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnomeglib≤ 2.31.8
gnomeglib1.1.12
gnomeglib1.1.12-1
gnomeglib1.1.15
gnomeglib1.2.0
gnomeglib1.2.1
gnomeglib1.2.2
gnomeglib1.2.3
gnomeglib1.2.4
gnomeglib1.2.5
gnomeglib1.2.6
gnomeglib1.2.7
gnomeglib1.2.8
gnomeglib1.2.9
gnomeglib1.2.10
gnomeglib1.3.9
gnomeglib1.3.10
gnomeglib1.3.11
gnomeglib1.3.12
gnomeglib1.3.13
gnomeglib1.3.14
gnomeglib1.3.15
gnomeglib2.0
gnomeglib2.0.0
gnomeglib2.0.1
gnomeglib2.0.2
gnomeglib2.0.3
gnomeglib2.0.4
gnomeglib2.0.5
gnomeglib2.0.6
gnomeglib2.0.7
gnomeglib2.1.0
gnomeglib2.1.1
gnomeglib2.1.2
gnomeglib2.1.3
gnomeglib2.1.4
gnomeglib2.1.5
gnomeglib2.2.0
gnomeglib2.2.1
gnomeglib2.2.2
gnomeglib2.2.3
gnomeglib2.3.0
gnomeglib2.3.1
gnomeglib2.3.2
gnomeglib2.3.3
gnomeglib2.3.4
gnomeglib2.3.5
gnomeglib2.3.6
gnomeglib2.4.0
gnomeglib2.4.1
gnomeglib2.4.2
gnomeglib2.4.3
gnomeglib2.4.4
gnomeglib2.4.5
gnomeglib2.4.6
gnomeglib2.4.7
gnomeglib2.4.8
gnomeglib2.5.0
gnomeglib2.5.1
gnomeglib2.5.2

and 197 more in the JSON

Official sources

References

Links published by the sources. Open them with care.