---
title: "CVE-2012-2118\n    | Ubuntu"
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-2118?format=md
keywords: index, follow
---

# CVE-2012-2118

Publication date 18 May 2012

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

Format string vulnerability in the LogVHdrMessageVerb function in os/log.c
in X.Org X11 1.11 allows attackers to cause a denial of service or possibly
execute arbitrary code via format string specifiers in an input device
name.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-2118?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| xorg-server | 12.10 quantal | Not affected |
| 12.04 LTS precise | Fixed 2:1.11.4-0ubuntu10.5 |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.04 LTS lucid | Not affected |
| 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-2118?format=md#patch-details)

## Notes

---

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

Reducing priority because we build with -D\_FORTIFY\_SOURCE=2 and
as of USN-1396-1, Ubuntu's glibc is patched to fix (CVE-2012-0864), so this
is reduced to a denial of service.
per upstream, only 1.10 and higher are affected:
http://lists.x.org/pipermail/xorg-devel/2012-May/031411.html

---

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

with experimentation, was not able to cause the 1.10 server
to crash in natty and oneiric, marking those not-affected

### 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 |
| --- | --- |
| xorg-server | * Other:   <http://patchwork.freedesktop.org/patch/10000/> * Other:   <http://patchwork.freedesktop.org/patch/9998/> * Other:   <http://patchwork.freedesktop.org/patch/9999/> * Other:   <http://patchwork.freedesktop.org/patch/10001/> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1502-1](https://usn.ubuntu.com/USN-1502-1)
+ X.Org X Server vulnerability
+ 11 July 2012

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2012-2118>
