CVE-2012-0039
published high CVSS 3.1 · 7.5glib2: hash table collisions CPU usage DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
2- n/a
- CWE-noinfo Not enough information
References
4- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044
- [gtk-devel-list] 20030529 Algorimic Complexity Attack on GLIB 2.2.1 http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html
- [oss-security] 20120110 glib2 hash dos oCert-2011-003 http://openwall.com/lists/oss-security/2012/01/10/12
- https://bugzilla.redhat.com/show_bug.cgi?id=772720
Provider assertions
3redhat · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 17ab6d523449f1869b0e9ab48578813fe885e11406f928e75d4c52566f439afb
- Ingested
- 23 Sep 2026, 07:39:09 UTC
- Source record
- Official CVE record