Unchecked Return Value Affecting libXfont package, versions <0:1.4.7-3.el7_1


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.53% (87th 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-4556103
  • published26 Jul 2021
  • disclosed17 Mar 2015

Introduced: 17 Mar 2015

CVE-2015-1803  (opens in a new tab)
CWE-252  (opens in a new tab)
CWE-391  (opens in a new tab)
CWE-476  (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 handle character bitmaps it cannot read, which allows remote authenticated users to cause a denial of service (NULL pointer dereference and crash) and possibly execute arbitrary code via a crafted BDF font file.

CVSS Scores

version 3.1