CVE-2012-0039
CVE-2012-0039 is a high-severity vulnerability in Gnome Glib with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-310.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 2% (80th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-310
- Affected product: Gnome Glib
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2012-0039?
- 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.
- How severe is CVE-2012-0039?
- CVE-2012-0039 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2012-0039 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (80th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-0039?
- CVE-2012-0039 primarily affects Gnome Glib. In total, 257 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-0039?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2012-0039 published?
- CVE-2012-0039 was published on 2012-01-14 and last updated on 2026-06-16.
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044
- http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html
- http://openwall.com/lists/oss-security/2012/01/10/12
- https://bugzilla.redhat.com/show_bug.cgi?id=772720
Affected products (257)
- cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.1.12:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.1.12-1:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.1.15:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.4:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.5:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.6:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.7:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.8:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.9:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.2.10:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.3.9:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.3.10:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.3.11:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.3.12:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.3.13:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.3.14:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:1.3.15:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0.5:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0.6:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.0.7:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.1.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.1.3:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.1.4:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.1.5:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:gnome:glib:2.2.2:*:*:*:*:*:*:*
More vulnerabilities in Gnome Glib
- CVE-2024-52533 — Critical (CVSS 9.8): gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because…
- CVE-2019-12450 — Critical (CVSS 9.8): file_copy_fallback in gio/gfile.c in GNOME GLib 2.15.0 through 2.61.1 does not properly restrict file permissions while…
- CVE-2018-16428 — Critical (CVSS 9.8): In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.
- CVE-2020-35457 — High (CVSS 7.8): GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in…
- CVE-2009-3289 — High (CVSS 7.8): The g_file_copy function in glib 2.0 sets the permissions of a target file to the permissions of a symbolic link (777),…
- CVE-2025-13601 — High (CVSS 7.7): A heap-based buffer overflow problem was found in glib through an incorrect calculation of buffer size in the…
All CVEs affecting Gnome Glib →
Other CWE-310 (Cryptographic Issues) vulnerabilities
- CVE-2014-7878 — Critical (CVSS 10.0): The Application Lifecycle Service (ALS) in HP Helion Cloud Development Platform 1.0, when a virtual machine is derived…
- CVE-2013-3712 — Critical (CVSS 10.0): SUSE Studio Onsite 1.3.x before 1.3.6 and SUSE Studio Extension for System z 1.3 uses "static" secret tokens, which has…
- CVE-2013-6952 — Critical (CVSS 10.0): The Belkin WeMo Home Automation firmware before 3949 has a hardcoded GPG key, which makes it easier for remote…
- CVE-2013-6838 — Critical (CVSS 10.0): An unspecified Enghouse Interactive Professional Services "addon product" in Enghouse Interactive IVR Pro (VIP2000)…
- CVE-2013-0137 — Critical (CVSS 10.0): The default configuration of the Digital Alert Systems DASDEC EAS device before 2.0-2 and the Monroe Electronics R189…
- CVE-2011-5123 — Critical (CVSS 10.0): The Antivirus component in Comodo Internet Security before 5.3.175888.1227 does not check whether X.509 certificates in…