CVE-2012-0039

NameCVE-2012-0039
DescriptionGLib 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs655044

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
glib2.0 (PTS)buster2.58.3-2+deb10u3vulnerable
buster (security)2.58.3-2+deb10u6vulnerable
bullseye2.66.8-1+deb11u1vulnerable
bullseye (security)2.66.8-1+deb11u3vulnerable
bookworm2.74.6-2vulnerable
bookworm (security)2.74.6-2+deb12u2vulnerable
trixie2.80.2-2vulnerable
sid2.80.3-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
glib2.0source(unstable)(unfixed)unimportant655044

Search for package or bug name: Reporting problems