Multiple integer overflows in the (1) strtod, (2) strtof, (3) strtold, (4) strtod_l, and…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 3 advisories
- RHSA-2012:1325 Released 2012-10-02 · Red Hat rating Importantrhev-hypervisor6 security and bug fix update
- RHEV Hypervisor for RHEL-6 rhev-hypervisor6-6.3-20120926.0.el6_3
- RHSA-2012:1208 Released 2012-08-27 · Red Hat rating Moderateglibc security update
- Red Hat Enterprise Linux Desktop (v. 6) glibc-2.12-1.80.el6_3.5, glibc-common-2.12-1.80.el6_3.5, glibc-devel-2.12-1.80.el6_3.5 +3
- Red Hat Enterprise Linux Desktop Optional (v. 6) glibc-2.12-1.80.el6_3.5, glibc-static-2.12-1.80.el6_3.5
- Red Hat Enterprise Linux HPC Node (v. 6) glibc-2.12-1.80.el6_3.5, glibc-common-2.12-1.80.el6_3.5, glibc-devel-2.12-1.80.el6_3.5 +3
- Red Hat Enterprise Linux HPC Node Optional (v. 6) glibc-2.12-1.80.el6_3.5, glibc-static-2.12-1.80.el6_3.5
- Red Hat Enterprise Linux Server (v. 6) glibc-2.12-1.80.el6_3.5, glibc-2.12-1.80.el6_3.5.ppc, glibc-common-2.12-1.80.el6_3.5 +5
- Red Hat Enterprise Linux Server Optional (v. 6) glibc-2.12-1.80.el6_3.5, glibc-static-2.12-1.80.el6_3.5, glibc-static-2.12-1.80.el6_3.5.ppc
- Red Hat Enterprise Linux Workstation (v. 6) glibc-2.12-1.80.el6_3.5, glibc-common-2.12-1.80.el6_3.5, glibc-devel-2.12-1.80.el6_3.5 +3
- Red Hat Enterprise Linux Workstation Optional (v. 6) glibc-2.12-1.80.el6_3.5, glibc-static-2.12-1.80.el6_3.5
- RHSA-2012:1207 Released 2012-08-27 · Red Hat rating Moderateglibc security and bug fix update
- Red Hat Enterprise Linux (v. 5 server) glibc-2.5-81.el5_8.7, glibc-2.5-81.el5_8.7.i386, glibc-2.5-81.el5_8.7.ia64 +21
- Red Hat Enterprise Linux Desktop (v. 5 client) glibc-2.5-81.el5_8.7, glibc-2.5-81.el5_8.7.i386, glibc-common-2.5-81.el5_8.7 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| RHEV Hypervisor for RHEL-6 | Fixed | RHSA-2012:1325 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2012:1207 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2012:1207 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2012:1208 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2012:1208 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2012:1208 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2012:1208 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2012:1208 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2012:1208 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2012:1208 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2012:1208 |
Timeline
- 2026-10-02 Threatist record created from CVE-2012-3480
- 2026-10-03 Alias added: GHSA-mch7-w8fj-4pc4
References
Advisory 7
Other 5
- [oss-security] 20120813 CVE Request -- glibc: Integer overflows, leading to stack-based buffer overflows in strto* related routines
- 84710
- [oss-security] 20120813 Re: CVE Request -- glibc: Integer overflows, leading to stack-based buffer overflows in strto* related routines
- [libc-alpha] 20120812 Fix strtod integer/buffer overflow (bug 14459)
- http://sourceware.org/bugzilla/show_bug.cgi?id=14459
More GNU Glibc vulnerabilities
- TI-2023-04522 Glibc: buffer overflow in ld.so leading to privilege escalation KEVCVSS 3.1HIGH 7.8
- TI-2015-00205 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and… CVSS 2.0HIGH 10.0
- TI-2026-04772 scanf %mc off-by-one heap buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2022-07360 The deprecated compatibility function clnt_create in the sunrpc module of the GNU C… CVSS 3.1CRITICAL 9.8
- TI-2022-07359 The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C… CVSS 3.1CRITICAL 9.8
- TI-2015-06274 Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the… CVSS 3.0HIGH 8.1
Sources
- CVE-2012-3480 · CVE Program
- CVE-2012-3480 · NVD
- FIRST EPSS
- GHSA-mch7-w8fj-4pc4 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-3480 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences