{"id":"CVE-2012-0039","aliases":["BELL-CVE-2012-0039","DEBIAN-CVE-2012-0039","EUVD-2012-0079","GHSA-7w5v-h2pc-qqwc","UBUNTU-CVE-2012-0039"],"status":"disputed","title":"** DISPUTED ** GLib 2.31.8 and earlier, when the g_str_hash function is used, computes hash...","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02043,"percentile":0.81282,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-310"],"published":"2012-01-14T17:00:00Z","modified":"2026-10-23T18:03:34Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.74.6-2","2.74.6-2+deb12u1","2.74.6-2+deb12u2","2.74.6-2+deb12u3","2.74.6-2+deb12u4","2.74.6-2+deb12u5","2.74.6-2+deb12u6","2.74.6-2+deb12u7","2.74.6-2+deb12u8","2.74.6-2+deb12u9","2.75.0-1","2.75.2-1","2.75.3-1","2.75.3-2","2.75.3-3","2.75.4-1","2.76.0-1","2.76.1-1","2.76.2-1","2.76.3-1","2.76.4-1","2.76.4-2","2.76.4-3","2.76.4-4","2.77.0-1","2.77.1-1","2.77.1-2","2.77.2-1","2.77.3-1","2.78.0-1","2.78.0-2","2.78.1-1","2.78.1-2","2.78.1-3","2.78.1-4","2.78.2-1","2.78.3-1","2.78.3-2","2.78.4-1","2.78.4-2","2.78.4-2.1","2.78.4-3","2.78.4-4","2.78.4-5","2.78.4-6","2.78.4-7","2.79.0+git20240110~g38f5ba3c-1","2.79.0+git20240110~g38f5ba3c-2","2.79.0+git20240119~62ee8bf6-1","2.79.1-1","2.79.1-1.1~exp1","2.79.2-1","2.79.3-1","2.79.3-2","2.79.3-3","2.80.0-1","2.80.0-10","2.80.0-2","2.80.0-3","2.80.0-4","2.80.0-5","2.80.0-6","2.80.0-7","2.80.0-8","2.80.0-9","2.80.1-1","2.80.2-1","2.80.2-2","2.80.3-1","2.80.4-1","2.81.0-1","2.81.1-1","2.81.1-2","2.81.1-3","2.81.2-1","2.82.0-1","2.82.0-2","2.82.1-1","2.82.2-1","2.82.2-2","2.82.2-3","2.82.3-1","2.82.3-2","2.82.4-1","2.82.4-2","2.83.2-1","2.83.2-2","2.83.3-1","2.83.3-2","2.83.4-1","2.83.5-1","2.84.0-1","2.84.0-2","2.84.1-1","2.84.1-2","2.84.1-3","2.84.2-1","2.84.3-1","2.84.4-1","2.84.4-2","2.84.4-3","2.84.4-3~deb13u1","2.84.4-3~deb13u2","2.84.4-3~deb13u3","2.84.4-3~deb13u4","2.84.4-3~deb13u5","2.85.1-1","2.85.1-2","2.85.2-2","2.85.3-1","2.85.4-1","2.86.0-1","2.86.0-2","2.86.0-3","2.86.0-4","2.86.0-5","2.86.0-6","2.86.0-7","2.86.1-1","2.86.1-2","2.86.2-1","2.86.3-1","2.86.3-2","2.86.3-3","2.86.3-4","2.86.3-5","2.87.1-1","2.87.2-1","2.87.2-2","2.87.2-3","2.87.3-1","2.87.3~gitlab0-1","2.87.5-1","2.88.0-1","2.88.1-2","2.88.2-1","2.88.3-1","2.88.3-2","2.88.3-3","2.89.2-1","2.89.3-1","2.89.3-2","2.89.3-3","2.89.3-4","2.89.3-5","2.89.4-2","2.90.0-1","2.90.1-2"]},{"source":"osv","ecosystem":"Debian:13","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.84.3-1","2.84.4-1","2.84.4-2","2.84.4-3","2.84.4-3~deb13u1","2.84.4-3~deb13u2","2.84.4-3~deb13u3","2.84.4-3~deb13u4","2.84.4-3~deb13u5","2.85.1-1","2.85.1-2","2.85.2-2","2.85.3-1","2.85.4-1","2.86.0-1","2.86.0-2","2.86.0-3","2.86.0-4","2.86.0-5","2.86.0-6","2.86.0-7","2.86.1-1","2.86.1-2","2.86.2-1","2.86.3-1","2.86.3-2","2.86.3-3","2.86.3-4","2.86.3-5","2.87.1-1","2.87.2-1","2.87.2-2","2.87.2-3","2.87.3-1","2.87.3~gitlab0-1","2.87.5-1","2.88.0-1","2.88.1-2","2.88.2-1","2.88.3-1","2.88.3-2","2.88.3-3","2.89.2-1","2.89.3-1","2.89.3-2","2.89.3-3","2.89.3-4","2.89.3-5","2.89.4-2","2.90.0-1","2.90.1-2"]},{"source":"osv","ecosystem":"Debian:14","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.84.3-1","2.84.4-1","2.84.4-2","2.84.4-3","2.84.4-3~deb13u1","2.84.4-3~deb13u2","2.84.4-3~deb13u3","2.84.4-3~deb13u4","2.84.4-3~deb13u5","2.85.1-1","2.85.1-2","2.85.2-2","2.85.3-1","2.85.4-1","2.86.0-1","2.86.0-2","2.86.0-3","2.86.0-4","2.86.0-5","2.86.0-6","2.86.0-7","2.86.1-1","2.86.1-2","2.86.2-1","2.86.3-1","2.86.3-2","2.86.3-3","2.86.3-4","2.86.3-5","2.87.1-1","2.87.2-1","2.87.2-2","2.87.2-3","2.87.3-1","2.87.3~gitlab0-1","2.87.5-1","2.88.0-1","2.88.1-2","2.88.2-1","2.88.3-1","2.88.3-2","2.88.3-3","2.89.2-1","2.89.3-1","2.89.3-2","2.89.3-3","2.89.3-4","2.89.3-5","2.89.4-2","2.90.0-1","2.90.1-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.38.0-1ubuntu1","2.38.1-1","2.39.1-0ubuntu1","2.39.1-0ubuntu2","2.39.1-0ubuntu3","2.39.2-0ubuntu1","2.39.2-0ubuntu2","2.39.3-0ubuntu4","2.39.4-0ubuntu1","2.39.90-0ubuntu1","2.39.91-0ubuntu2","2.39.91-0ubuntu3","2.39.92-2","2.40.0-1","2.40.0-1ubuntu1","2.40.0-2","2.40.2-0ubuntu1","2.40.2-0ubuntu1.1","2.40.2-0ubuntu1.1+esm1","2.40.2-0ubuntu1.1+esm2","2.40.2-0ubuntu1.1+esm3","2.40.2-0ubuntu1.1+esm4","2.40.2-0ubuntu1.1+esm6","2.40.2-0ubuntu1.1+esm7","2.40.2-0ubuntu1.1+esm8"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46.1-1","2.46.1-2","2.47.1-1","2.47.3-3","2.47.4-1","2.47.5-1","2.47.6-1","2.48.0-1ubuntu3","2.48.0-1ubuntu4","2.48.1-1~ubuntu16.04.1","2.48.2-0ubuntu1","2.48.2-0ubuntu3","2.48.2-0ubuntu4","2.48.2-0ubuntu4.1","2.48.2-0ubuntu4.2","2.48.2-0ubuntu4.3","2.48.2-0ubuntu4.4","2.48.2-0ubuntu4.5","2.48.2-0ubuntu4.6","2.48.2-0ubuntu4.7","2.48.2-0ubuntu4.8","2.48.2-0ubuntu4.8+esm1","2.48.2-0ubuntu4.8+esm3","2.48.2-0ubuntu4.8+esm4","2.48.2-0ubuntu4.8+esm5","2.48.2-0ubuntu4.8+esm6"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.54.1-1ubuntu1","2.55.2-2ubuntu1","2.56.0-2ubuntu1","2.56.0-4ubuntu1","2.56.1-2ubuntu1","2.56.2-0ubuntu0.18.04.1","2.56.2-0ubuntu0.18.04.2","2.56.3-0ubuntu0.18.04.1","2.56.4-0ubuntu0.18.04.2","2.56.4-0ubuntu0.18.04.3","2.56.4-0ubuntu0.18.04.4","2.56.4-0ubuntu0.18.04.5","2.56.4-0ubuntu0.18.04.6","2.56.4-0ubuntu0.18.04.7","2.56.4-0ubuntu0.18.04.8","2.56.4-0ubuntu0.18.04.9","2.56.4-0ubuntu0.18.04.9+esm3","2.56.4-0ubuntu0.18.04.9+esm4","2.56.4-0ubuntu0.18.04.9+esm5","2.56.4-0ubuntu0.18.04.9+esm6"]}],"products":[{"vendor":"gnome","product":"glib"}],"references":[{"url":"http://openwall.com/lists/oss-security/2012/01/10/12","tags":["mailing-list","x_transferred","web"]},{"url":"http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html","tags":["mailing-list","x_transferred","web","report"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044","tags":["x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=772720","tags":["x_transferred","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0039"},{"url":"https://github.com/advisories/GHSA-7w5v-h2pc-qqwc"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2012-0039","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-0039","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2012-0039","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2012/01/10/12","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-0039","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2012-0039","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.","status":"disputed","published":"2012-01-14T17:00:00Z","modified":"2025-01-21T18:29:23.297Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"updated_at":"2026-11-02T14:34:52.981189Z"}],"euvd":[{"id":"EUVD-2012-0079","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.","status":"published","published":"2012-01-14T17:00:00Z","modified":"2025-01-21T18:29:23Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:04:15.779798Z"}],"ghsa":[{"id":"GHSA-7w5v-h2pc-qqwc","title":"** DISPUTED ** GLib 2.31.8 and earlier, when the g_str_hash function is used, computes hash...","description":"** DISPUTED ** 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.","status":"published","published":"2022-05-04T00:27:45Z","modified":"2025-01-21T21:31:44Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T14:59:37.435968Z"}],"nvd":[{"id":"CVE-2012-0039","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.","status":"disputed","published":"2012-01-14T17:55:01.257Z","modified":"2026-06-16T23:36:33.167Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-310"],"updated_at":"2026-11-02T14:02:13.468343Z"}],"osv":[{"id":"BELL-CVE-2012-0039","title":"CVE-2012-0039 does not affect BellSoft software","status":"withdrawn","published":"2012-01-14T17:55:00Z","modified":"2026-01-26T09:30:01.454735Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:12.886815Z"},{"id":"DEBIAN-CVE-2012-0039","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.","status":"published","published":"2012-01-14T17:55:01.257Z","modified":"2026-10-23T18:03:34.853476226Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"UBUNTU-CVE-2012-0039","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.","status":"published","published":"2012-01-14T17:55:00Z","modified":"2026-09-21T21:33:38.082446327Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:06.395274Z"},{"id":"CVE-2012-0039","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.","status":"published","published":"2012-01-14T17:55:01Z","modified":"2026-04-10T03:42:09.73136Z","updated_at":"2026-11-02T15:43:58.279353Z"}]}}
