CVE-2015-1802
published 2015-03-20CVE-2015-1802: The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 allows remote authenticated users to cause a denial of…
PriorityP341high8.5CVSS 2.0
AVNACMAuSCCICAC
EPSS
4.90%
91.0th percentile
The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 allows remote authenticated users to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a (1) negative or (2) large property count in a BDF font file.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libxfont | < libxfont 1:1.5.1-1 (bookworm) | libxfont 1:1.5.1-1 (bookworm) |
| x.org | libxfont | >= 0 < 1:1.5.1-1 | 1:1.5.1-1 |
| x.org | libxfont | >= 0 < 1:1.5.1-1 | 1:1.5.1-1 |
| x.org | libxfont | >= 0 < 1:1.5.1-1 | 1:1.5.1-1 |
| x.org | libxfont | >= 0 < 1:1.5.1-1 | 1:1.5.1-1 |
| x | libxfont | <= 1.4.8 | — |
| x | libxfont | — | — |
CVSS provenance
nvdv2.08.5HIGHAV:N/AC:M/Au:S/C:C/I:C/A:C
osv8.5HIGH
vendor_debian8.5HIGH
vendor_redhat8.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-f3m3-9rj4-h5hq: The bdfReadProperties function in bitmap/bdfread
ghsa_unreviewed·2022-05-17
CVE-2015-1802 [HIGH] CWE-119 GHSA-f3m3-9rj4-h5hq: The bdfReadProperties function in bitmap/bdfread
The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 allows remote authenticated users to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a (1) negative or (2) large property count in a BDF font file.
OSV
CVE-2015-1802: The bdfReadProperties function in bitmap/bdfread
osv·2015-03-20·CVSS 8.5
CVE-2015-1802 [HIGH] CVE-2015-1802: The bdfReadProperties function in bitmap/bdfread
The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 allows remote authenticated users to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a (1) negative or (2) large property count in a BDF font file.
Ubuntu
libXfont vulnerabilities
vendor_ubuntu·2015-03-18
CVE-2015-1802 libXfont vulnerabilities
Title: libXfont vulnerabilities
Summary: libXfont could be made to crash or run programs as an administrator
if it opened a specially crafted bdf font file.
Ilja van Sprundel, Alan Coopersmith, and William Robinet discovered that
libXfont incorrectly handled malformed bdf fonts. A local attacker could
use this issue to cause libXfont to crash, or possibly execute arbitrary
code in order to gain privileges.
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
Red Hat
libXfont: missing range check in bdfReadProperties
vendor_redhat·2015-03-17·CVSS 8.5
CVE-2015-1802 [HIGH] CWE-119 libXfont: missing range check in bdfReadProperties
libXfont: missing range check in bdfReadProperties
The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 allows remote authenticated users to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a (1) negative or (2) large property count in a BDF font file.
An integer overflow flaw was found in the way libXfont processed certain Glyph Bitmap Distribution Format (BDF) fonts. A malicious, local user could use this flaw to crash the X.Org server or, potentially, execute arbitrary code with the privileges of the X.Org server.
Package: libXfont (Red Hat Enterprise Linux 5) - Affected
Debian
CVE-2015-1802: libxfont - The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4....
vendor_debian·2015·CVSS 8.5
CVE-2015-1802 [HIGH] CVE-2015-1802: libxfont - The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4....
The bdfReadProperties function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 allows remote authenticated users to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a (1) negative or (2) large property count in a BDF font file.
Scope: local
bookworm: resolved (fixed in 1:1.5.1-1)
bullseye: resolved (fixed in 1:1.5.1-1)
forky: resolved (fixed in 1:1.5.1-1)
sid: resolved (fixed in 1:1.5.1-1)
trixie: resolved (fixed in 1:1.5.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-1802 libXfont: missing range check in bdfReadProperties
bugzilla·2015-03-19·CVSS 8.5
CVE-2015-1802 [HIGH] CVE-2015-1802 libXfont: missing range check in bdfReadProperties
CVE-2015-1802 libXfont: missing range check in bdfReadProperties
The bdf parser reads a count for the number of properties defined in a font from the font file, and allocates arrays with entries for each property based on that count. It never checked to see if that count was negative, or large enough to overflow when multiplied by the size of the structures being allocated, and could thus allocate the wrong buffer size, leading to out of bounds writes.
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=2deda9906480f9c8ae07b8c2a5510cc7e4c59a8e
External References:
http://www.x.org/wiki/Development/Security/Advisory-2015-03-17/
Discussion:
Created
Bugzilla
CVE-2015-1804 CVE-2015-1802 CVE-2015-1803 libXfont: various flaws [fedora-all]
bugzilla·2015-03-19·CVSS 8.5
CVE-2015-1804 [HIGH] CVE-2015-1804 CVE-2015-1802 CVE-2015-1803 libXfont: various flaws [fedora-all]
CVE-2015-1804 CVE-2015-1802 CVE-2015-1803 libXfont: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of
http://advisories.mageia.org/MGASA-2015-0113.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-March/152497.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-March/152838.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-03/msg00032.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-04/msg00002.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-04/msg00005.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1708.htmlhttp://www.debian.org/security/2015/dsa-3194http://www.mandriva.com/security/advisories?name=MDVSA-2015:145http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.htmlhttp://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.htmlhttp://www.securityfocus.com/bid/73277http://www.securitytracker.com/id/1031935http://www.ubuntu.com/usn/USN-2536-1http://www.x.org/wiki/Development/Security/Advisory-2015-03-17/https://security.gentoo.org/glsa/201507-21http://advisories.mageia.org/MGASA-2015-0113.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-March/152497.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-March/152838.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-03/msg00032.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-04/msg00002.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-04/msg00005.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1708.htmlhttp://www.debian.org/security/2015/dsa-3194http://www.mandriva.com/security/advisories?name=MDVSA-2015:145http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.htmlhttp://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.htmlhttp://www.securityfocus.com/bid/73277http://www.securitytracker.com/id/1031935http://www.ubuntu.com/usn/USN-2536-1http://www.x.org/wiki/Development/Security/Advisory-2015-03-17/https://security.gentoo.org/glsa/201507-21
2015-03-20
Published