---
title: CVE-2012-3405
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-3405
---

# CVE-2012-3405

Publication date 13 July 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library
(aka glibc) 2.14 and other versions does not properly calculate a buffer
length, which allows context-dependent attackers to bypass the
FORTIFY\_SOURCE format-string protection mechanism and cause a denial of
service (segmentation fault and crash) via a format string with a large
number of format specifiers that triggers "desynchronization within the
buffer size handling," a different vulnerability than CVE-2012-3404.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-3405#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| eglibc | 12.04 LTS precise | Not affected |
| 11.10 oneiric | Fixed in 2.13-20ubuntu5.2 |
| 11.04 natty | Fixed in 2.13-0ubuntu13.2 |
| 10.04 LTS lucid | Fixed in 2.11.1-0ubuntu7.11 |
| 8.04 LTS hardy | Not in release |
| glibc | 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2012-3405#patch-details)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

lucid -> oneiric only

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| eglibc | * Upstream:   <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a4647e727a2a52e1259474c13f4b13288938bed4> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3405)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-3405)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-3405)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-3405)

### Related Ubuntu Security Notices (USN)

+ [USN-1589-1](https://usn.ubuntu.com/USN-1589-1)
+ GNU C Library vulnerabilities
+ 2 October 2012

### Other references

* <http://sourceware.org/bugzilla/show_bug.cgi?id=13446>
* <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a4647e727a2a52e1259474c13f4b13288938bed4>
* <https://bugzilla.redhat.com/show_bug.cgi?id=833704>
* <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=1d498daa95384e5c9ad5bcb35e7a996e5869ac39>
* <http://www.openwall.com/lists/oss-security/2012/07/11/5>
* <http://www.openwall.com/lists/oss-security/2012/07/11/17>
* <https://www.cve.org/CVERecord?id=CVE-2012-3405>
