Incorrect Type Conversion or Cast Affecting libXfont package, versions <0:1.4.7-3.el7_1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.33% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-LIBXFONT-7997095
  • published17 Sept 2024
  • disclosed17 Mar 2015

Introduced: 17 Mar 2015

CVE-2015-1804  (opens in a new tab)
CWE-704  (opens in a new tab)
CWE-681  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade RHEL:7 libXfont to version 0:1.4.7-3.el7_1 or higher.
This issue was patched in RHSA-2015:1708.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libXfont package and not the libXfont package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1