Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-3480 EUVD-2012-3436GHSA-mch7-w8fj-4pc4

Multiple integer overflows in the (1) strtod, (2) strtof, (3) strtold, (4) strtod_l, and other unspecified "related functions" in stdlib in…

Published Aug 25, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

Multiple integer overflows in the (1) strtod, (2) strtof, (3) strtold, (4) strtod_l, and other unspecified "related functions" in stdlib in GNU C Library (aka glibc or libc6) 2.16 allow local users to cause a denial of service (application crash) and possibly execute arbitrary code via a long string, which triggers a stack-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.13-36 —
Debian 13 glibc 2.13-36 —
Debian 12 glibc 2.13-36 —
Debian 6.0 eglibc 2.11.3-4+deb6u5 DLA-165-1
ReleasePackageFixed inAdvisory
RHEL 6 nscd +7 2.12-1.80.el6_3.5 RHSA-2012:1208
RHEL 6 rhev-hypervisor6 6.3-20120926.0.el6_3 RHSA-2012:1325
RHEL 5 nscd +6 2.5-81.el5_8.7 RHSA-2012:1207

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 4

References