# CVE-2012-0039

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2012-01-14 · Modified: 2025-01-21
- Aliases: UBUNTU-CVE-2012-0039, DEBIAN-CVE-2012-0039
- Record: https://cvemate.com/vulnerability/CVE-2012-0039 · JSON: https://cvemate.com/vulnerability/CVE-2012-0039/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 2.043%, percentile 81.827%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian glib2.0 (Debian): All versions (No fix recorded)
- ubuntu glib2.0 (Ubuntu): All versions (No fix recorded)
- gnome glib: ≤ 2.31.8 \| 1.1.12 \| 1.1.12-1 \| 1.1.15 \| 1.2.0 \| 1.2.1 \| 1.2.2 \| 1.2.3 \| 1.2.4 \| 1.2.5 \| 1.2.6 \| 1.2.7 \| 1.2.8 \| 1.2.9 \| 1.2.10 \| 1.3.9 \| 1.3.10 \| 1.3.11 \| 1.3.12 \| 1.3.13 \| 1.3.14 \| 1.3.15 \| 2.0 \| 2.0.0 \| 2.0.1 \| 2.0.2 \| 2.0.3 \| 2.0.4 \| 2.0.5 \| 2.0.6 \| 2.0.7 \| 2.1.0 \| 2.1.1 \| 2.1.2 \| 2.1.3 \| 2.1.4 \| 2.1.5 \| 2.2.0 \| 2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 2.17.6 \| 2.17.7 \| 2.18.0 \| 2.18.1 \| 2.18.2 \| 2.18.3 \| 2.18.4 \| 2.19.0 \| 2.19.1 \| 2.19.2 \| 2.19.3 \| 2.19.4 \| 2.19.5 \| 2.19.6 \| 2.19.7 \| 2.19.8 \| 2.19.9 \| 2.19.10 \| 2.20.0 \| 2.20.1 \| 2.20.2 \| 2.20.3 \| 2.20.4 \| 2.20.5 \| 2.21.0 \| 2.21.1 \| 2.21.2 \| 2.21.3 \| 2.21.4 \| 2.21.5 \| 2.21.6 \| 2.22.0 \| 2.22.1 \| 2.22.2 \| 2.22.3 \| 2.22.4 \| 2.22.5 \| 2.23.0 \| 2.23.1 \| 2.23.2 \| 2.23.3 \| 2.23.4 \| 2.23.5 \| 2.23.6 \| 2.24.0 \| 2.24.1 \| 2.24.2 \| 2.25.0 \| 2.25.1 \| 2.25.2 \| 2.25.3 \| 2.25.4 \| 2.25.5 \| 2.25.6 \| 2.25.7 \| 2.25.8 \| 2.25.9 \| 2.25.10 \| 2.25.11 \| 2.25.12 \| 2.25.13 \| 2.25.14 \| 2.25.15 \| 2.25.16 \| 2.25.17 \| 2.26.0 \| 2.26.1 \| 2.27.0 \| 2.27.1 \| 2.27.2 \| 2.27.3 \| 2.27.4 \| 2.27.5 \| 2.27.90 \| 2.27.91 \| 2.27.92 \| 2.27.93 \| 2.28 \| 2.28.0 \| 2.28.1 \| 2.28.2 \| 2.28.3 \| 2.28.4 \| 2.28.5 \| 2.28.6 \| 2.28.7 \| 2.28.8 \| 2.29.2 \| 2.29.4 \| 2.29.6 \| 2.29.8 \| 2.29.10 \| 2.29.12 \| 2.29.14 \| 2.29.16 \| 2.29.18 \| 2.29.90 \| 2.29.92 \| 2.30.0 \| 2.30.1 \| 2.30.2 \| 2.31.0 \| 2.31.2 \| 2.31.4 \| 2.31.6

## References

- <http://openwall.com/lists/oss-security/2012/01/10/12>
- <http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html>
- <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044>
- <https://bugzilla.redhat.com/show_bug.cgi?id=772720>
- <https://ubuntu.com/security/CVE-2012-0039>
- <http://www.openwall.com/lists/oss-security/2012/01/10/12>
- <https://www.cve.org/CVERecord?id=CVE-2012-0039>
- <https://security-tracker.debian.org/tracker/CVE-2012-0039>

---

Data as of 2026-12-05T03:33:07.982Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
