---
title: "CVE-2013-1981\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-2013-1981?format=md
keywords: index, follow
---

# CVE-2013-1981

Publication date 23 May 2013

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Multiple integer overflows in X.org libX11 1.5.99.901 (1.6 RC1) and earlier
allow X servers to trigger allocation of insufficient memory and a buffer
overflow via vectors related to the (1) XQueryFont, (2)
\_XF86BigfontQueryFont, (3) XListFontsWithInfo, (4) XGetMotionEvents, (5)
XListHosts, (6) XGetModifierMapping, (7) XGetPointerMapping, (8)
XGetKeyboardMapping, (9) XGetWindowProperty, (10) XGetImage, (11)
LoadColornameDB, (12) XrmGetFileDatabase, (13) \_XimParseStringFile, or (14)
TransFileName functions.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libx11 | 13.04 raring | Fixed 2:1.5.0-1ubuntu1.1 |
| 12.10 quantal | Fixed 2:1.5.0-1ubuntu0.1 |
| 12.04 LTS precise | Fixed 2:1.4.99.1-0ubuntu2.1 |
| 10.04 LTS lucid | Fixed 2:1.3.2-1ubuntu3.1 |

---

* [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-2013-1981?format=md#patch-details)

### 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 |
| --- | --- |
| libx11 | * Upstream:   [?id=d7f](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=d7f04c340ade3834e603c23d543132e1ee4e0c63) * Upstream:   [?id=9f5](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=9f5d83706543696fc944c1835a403938c06f2cc5) * Upstream:   [?id=6df](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=6df8a63d34b7514077188e2062a13774f920c085) * Upstream:   [?id=566](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=5669a220816b7d58fcaf0c302ead16fbe5c87817) * Upstream:   [?id=395](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=39515b7c3ba8cae9021bf6695e378ae19487082f) * Upstream:   [?id=1f6](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=1f6a3dbf699b85c0ea715ef21de7e7095a714e12) * Upstream:   [?id=2cd](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=2cd62b5eb99ffbb2fce99f3c459455e630b35bf7) * Upstream:   [?id=90f](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=90fd5abac2faca86f9f100353a3c9c7b89f31484) * Upstream:   [?id=076](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=076428918e6c35f66b9b55c3fa097ff06496d155) * Upstream:   [?id=460](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=460e8a223b87d4fa0ea1e97823e998a770e0f2a2) * Upstream:   [?id=164](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=164bf4dfe839b1cc75cdeee378a243d04a8200e4) * Upstream:   [?id=79d](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=79d8dc08eb98842173ce239b9dd60df0e9e9ae72) * Upstream:   [?id=833](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=833f6b70bc789d33607f6dbfee9e0a4178ec4b59) * Upstream:   [?id=a35](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=a351b8103b2ba78882e1c309e85893ca3abe2073) * Upstream:   [?id=0b0](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=0b0f5d4358c3de7563d6af03f0d2ce454702a06a) * Upstream:   [?id=192](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39) * Upstream:   [?id=b2c](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2) * Upstream:   [?id=d38](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=d38527e25f8b6e2f1174ecc21260c5c5416f972e) * Upstream:   [?id=12a](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=12ad4c6432496897ff000eb7cfecd0fb4b290331) * Upstream:   [?id=3fe](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=3fe4bea086149f06a142a8f1d575f627ec1e22c7) * Upstream:   [?id=313](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=3131740513133a9ff7cb12123d29ceb18584fc38) * Upstream:   [?id=282](http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=2820100bf8ba130b94253f415e7fa5ac28bb2037) |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1854-1](https://usn.ubuntu.com/USN-1854-1)
+ libx11 vulnerabilities
+ 5 June 2013

### Other references

* <http://www.x.org/wiki/Development/Security/Advisory-2013-05-23>
* <http://www.debian.org/security/2013/dsa-2693>
* <https://www.cve.org/CVERecord?id=CVE-2013-1981>
