Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2007-3997

37
FAUCET Score

CVE-2007-3997 describes a vulnerability in the MySQL and MySQLi extensions of PHP versions 4 (before 4.4.8) and 5 (before 5.2.4). This flaw allows remote attackers to bypass safe_mode and open_basedir restrictions through MySQL LOCAL INFILE operations, specifically using LOAD DATA LOCAL INFILE queries. The vulnerability has a CVSS score of 7.5 (High), indicating a network-based attack with low complexity, requiring no authentication, and potentially leading to partial compromise of confidentiality, integrity, and availability. While not listed on the KEV catalog or Hot List, an ExploitDB entry (EDB-4392) exists, demonstrating a bypass for PHP 4.4.7/5.2.3, though there is no evidence of active exploitation or significant community discussion.

Impacted Technologies

VendorProductVersion(s)CPE
>= 4.0.0, < 4.4.8CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.2.4CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

7.5HIGH

AV:N/AC:L/Au:N/C:P/I:P/A:P

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Exploitability Score
10.0
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
13.82%
Probability of exploitation in next 30 days
EPSS Percentile
96.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
ExploitDB: EDB-4392 · Sep 10, 2007
This CVE's current EPSS score of 0.1382 is in the 94th percentile among its peer group of 51,553 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Vendor Advisories (1)

redhatCVE-2007-3997

php safe_mode bypass with MySQL INFILE LOCAL

References

secunia.com / advisories/26642
Third Party Advisory
secunia.com / advisories/26822
Third Party Advisory
secunia.com / advisories/26838
Third Party Advisory
secunia.com / advisories/27102
Third Party Advisory
secunia.com / advisories/27377
Third Party Advisory
secunia.com / advisories/28318
Third Party Advisory
securityreason.com / securityalert/3102
ExploitThird Party Advisory
secweb.se / en/advisories/php-mysql-safe-mode-bypass-vulnerability
ExploitThird Party Advisory
exchange.xforce.ibmcloud.com / vulnerabilities/36384
Third Party AdvisoryVDB Entry
exchange.xforce.ibmcloud.com / vulnerabilities/39402
Third Party AdvisoryVDB Entry
issues.rpath.com / browse/RPL-1693
Broken Link
issues.rpath.com / browse/RPL-1702
Broken Link
exploit-db.com / exploits/4392
Third Party AdvisoryVDB Entry
gentoo.org / security/en/glsa/glsa-200710-02.xml
Third Party Advisory
php.net / ChangeLog-4.php
Vendor Advisory
php.net / ChangeLog-5.php
Vendor Advisory
php.net / releases/4_4_8.php
Vendor Advisory
php.net / releases/5_2_4.php
Vendor Advisory
trustix.org / errata/2007/0026
Broken Link
vupen.com / english/advisories/2007/3023
Permissions RequiredThird Party Advisory
vupen.com / english/advisories/2008/0059
Permissions RequiredThird Party Advisory