CVEfocus › CVE database › CVE-2012-0039

CVE-2012-0039

CVSS 7.5 HighEPSS 2.0% (higher than 82% of CVEs)Published 2012-01-14Updated 2025-01-21Assigner: redhat

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.

What to do

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04glib2.0Fix pendingUBUNTU-CVE-2012-0039
Ubuntu 16.04glib2.0Will not fix
as of 2012-02-21, upstream has simply added a warning: http://git.gnome.org/browse/glib/commit/?id=030b3f25e3e5c018247e18bf309e0454ba138898…
UBUNTU-CVE-2012-0039
Ubuntu 14.04glib2.0Fix pendingUBUNTU-CVE-2012-0039
Debian 14glib2.0Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2012-0039
Debian 13glib2.0Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2012-0039
Debian 12glib2.0Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2012-0039
Red Hat Enterprise Linux 6glib2Fix pending
Affected
Red Hat Enterprise Linux 6glib2-develFix pending
Affected
Red Hat Enterprise Linux 6glib2-docFix pending
Affected
Red Hat Enterprise Linux 6glib2-staticFix pending
Affected
Red Hat Enterprise Linux 5glib2Fix pending
Affected
Red Hat Enterprise Linux 4glib2Fix pending
Affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.