Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-4412 EUVD-2012-4349GHSA-cq77-m6w7-c2xc

Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-dependent attackers to cau…

Published Oct 9, 2013 · Updated Aug 6, 2024 · Assigned by redhat

Description

Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string, which triggers a heap-based buffer overflow.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.17-94 —
Debian 13 glibc 2.17-94 —
Debian 12 glibc 2.17-94 —
Debian 6.0 eglibc 2.11.3-4+deb6u5 DLA-165-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.24-2.3 openSUSE-SU-2024:10154-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References