Arbitrary Code Injection Affecting php-8.4 package, versions <8.4.12-r1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
6.56% (91st 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-PHP84-12623056
  • published11 Sept 2025
  • 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.4 to version 8.4.12-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-8.4 package and not the php-8.4 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