CVE-2012-0039
mediumpriority · track · 21EPSS 0.020 · 81 %ileEUUSEPSS · scored 2026-10-28
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (258)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044cnnvd
- http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.htmlcnnvd
- http://openwall.com/lists/oss-security/2012/01/10/12cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=772720cnnvd
- https://github.com/GNOME/glibPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2012-0039cnnvd
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044enisa_euvd
- http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan