Out-of-bounds Write Affecting php-json-debuginfo package, versions <0:7.4.33-1.module+el8.10.0+1604+6558efc7


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
4.59% (89th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-PHPJSONDEBUGINFO-14723059
  • published28 Dec 2025
  • disclosed12 May 2017

Introduced: 12 May 2017

CVE-2017-8923  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 php-json-debuginfo to version 0:7.4.33-1.module+el8.10.0+1604+6558efc7 or higher.
This issue was patched in RLSA-2023:2903.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-json-debuginfo package and not the php-json-debuginfo package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects that result in a negative length, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact by leveraging a script's use of .= with a long string.

CVSS Base Scores

version 3.1