Out-of-bounds Read Affecting php package, versions [,5.6.36)[7.0.0,7.0.30)[7.1.0,7.1.17)[7.2.0,7.2.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (73rd 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-UNMANAGED-PHP-2335509
  • published12 Jan 2022
  • disclosed29 Apr 2018
  • creditUnknown

Introduced: 29 Apr 2018

CVE-2018-10549  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade php to version 5.6.36, 7.0.30, 7.1.17, 7.2.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. An issue was discovered in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. exif_read_data in ext/exif/exif.c has an out-of-bounds read for crafted JPEG data because exif_iif_add_value mishandles the case of a MakerNote that lacks a final '\0' character.

References

CVSS Scores

version 3.1