CVE-2015-1804: High severity X libXfont vulnerability

Published Mar 19, 2015
·
Updated

The bdf parser read metrics values as 32-bit integers, but stored them into 16-bit integers. Overflows could occur in various operations leading to out-of-bounds memory access.

A local user could exploit this issue to potentially execute arbitrary code with the privileges of the X.Org server.

Upstream patch:

http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=2351c83a77a478b49cba6beb2ad386835e264744

External References:

http://www.x.org/wiki/Development/Security/Advisory-2015-03-17/

Other sources

The bdfReadCharacters function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 does not properly perform type conversion for metrics values, which allows remote authenticated users to cause a denial of service (out-of-bounds memory access) and possibly execute arbitrary code via a crafted BDF font file.

Affected Software

16 affected componentsFixes available
X libXfont<=1.4.8
X libXfont=1.5.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=14.10
Debian Debian Linux=7.0
redhat/libxfont<1.5.1
1.5.1
redhat/libxfont<1.4.9
1.4.9
All of the following
Any of the following
X libXfont<=1.4.8
X libXfont=1.5.0
Any of the following
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=14.10
Debian Debian Linux=7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libXfont to a version that resolves this vulnerability.

    Fixed in 1.5.1
  2. Upgrade

    Upgrade redhat/libXfont to a version that resolves this vulnerability.

    Fixed in 1.4.9
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.4.9
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.5.1

Event History

Mar 19, 2015
Data Sourced
via Red Hat·02:14 PM
DescriptionSeverityAffected Software
Mar 20, 2015
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
02:59 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-1804?

CVE-2015-1804 is considered a medium severity vulnerability due to its potential for causing a denial of service and executing arbitrary code.

2

How do I fix CVE-2015-1804?

To fix CVE-2015-1804, you should upgrade X.Org libXfont to version 1.4.9 or later, or to version 1.5.1 or later.

3

Which versions of libXfont are affected by CVE-2015-1804?

CVE-2015-1804 affects X.Org libXfont versions before 1.4.9 and 1.5.0.

4

What are the potential consequences of CVE-2015-1804?

The potential consequences of CVE-2015-1804 include denial of service and possible execution of arbitrary code due to out-of-bounds memory access.

5

How can remote authenticated users exploit CVE-2015-1804?

Remote authenticated users can exploit CVE-2015-1804 by sending specially crafted metrics values that trigger the vulnerability in libXfont.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203