Arbitrary Code Injection Affecting php-8.5 package, versions <8.5.2-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
7.78% (94th 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-CHAINGUARDLATEST-PHP85-15144175
  • published29 Jan 2026
  • disclosed30 Aug 2007

Introduced: 30 Aug 2007

CVE-2007-4596  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Chainguard php-8.5 to version 8.5.2-r0 or higher.

NVD Description

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

The perl extension in PHP does not follow safe_mode restrictions, which allows context-dependent attackers to execute arbitrary code via the Perl eval function. NOTE: this might only be a vulnerability in limited environments.

CVSS Base Scores

version 3.1