Buffer Overflow Affecting php-gd package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.4% (75th 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-PHPGD-1341370
  • published26 Jul 2021
  • disclosed23 Feb 2016

Introduced: 23 Feb 2016

CVE-2015-8865  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 php-gd.

NVD Description

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

The file_check_mem function in funcs.c in file before 5.23, as used in the Fileinfo component in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5, mishandles continuation-level jumps, which allows context-dependent attackers to cause a denial of service (buffer overflow and application crash) or possibly execute arbitrary code via a crafted magic file.