7.5

CVE-2007-4596: php Code Injection

CVSS: 7.5v2.0HighModified
AliasesCGA-22mg-52cw-8mp8CGA-4fqp-53q4-7qrjCGA-5vvp-f683-qpjc
Published 30-08-2007Last modified 07-08-2024

Vulnerability summary

CVE-2007-4596 is a high (CVSS 7.5) Code Injection vulnerability in php. EPSS estimates a 8.25% chance of exploitation in the next 30 days, higher than 94.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
42/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v2.0 (NVD)
EPSS score
8.25%
0%100%
Low · +0.47 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1exploit-database

Advisory lineage

Upstream 0 · Downstream 0 · Related 5

Timeline

  1. 30-08-2007
    PublishedVulnerability first disclosed.
  2. 07-08-2024
    Last modifiedVulnerability information updated.

Description

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 metrics

1 score · 1 source · 1 version

EPSS trend

Probability

8.25%

Chance of exploitation in the next 30 days

Percentile

95%

Versus all other CVEs

30-day change

+0.47 pp

From 7.78% on 20-09-2026

20-09-202620-10-2026
EPSS score
8.25%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • exploit-databaselocalwindowsVerified

    PHP 'Perl' Extension - 'Safe_mode' Bypass

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Chainguard5 products
  • php-8.1All versions (No fix recorded)
  • php-8.2All versions (No fix recorded)
  • php-8.3All versions (No fix recorded)
  • php-8.4< 8.4.12-r1
  • php-8.5< 8.5.2-r0
Wolfi5 products
  • php-8.1All versions (No fix recorded)
  • php-8.2All versions (No fix recorded)
  • php-8.3All versions (No fix recorded)
  • php-8.4< 8.4.12-r1
  • php-8.5< 8.5.2-r0
Php1 product

3 vendors · 11 products

References

1 links