Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2007-3997

published

php safe_mode bypass with MySQL INFILE LOCAL

Title from Red Hat VEX

Published
04 Sep 2007, 18:00:00 UTC
Updated
07 Aug 2024, 14:37:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre

Description

The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

21
  • 26642 http://secunia.com/advisories/26642 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 26822 http://secunia.com/advisories/26822 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 26838 http://secunia.com/advisories/26838 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 27102 http://secunia.com/advisories/27102 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 27377 http://secunia.com/advisories/27377 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 28318 http://secunia.com/advisories/28318 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 3102 http://securityreason.com/securityalert/3102 third-party-advisory, x_refsource_SREASON, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/ x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)
  • GLSA-200710-02 http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.php.net/ChangeLog-4.php x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.php.net/ChangeLog-5.php#5.2.4 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.php.net/releases/4_4_8.php x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.php.net/releases/5_2_4.php x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • 2007-0026 http://www.trustix.org/errata/2007/0026/ vendor-advisory, x_refsource_TRUSTIX, x_transferred Contributors: mitre (cna), CVE (adp)
  • ADV-2007-3023 http://www.vupen.com/english/advisories/2007/3023 vdb-entry, x_refsource_VUPEN, x_transferred Contributors: mitre (cna), CVE (adp)
  • ADV-2008-0059 http://www.vupen.com/english/advisories/2008/0059 vdb-entry, x_refsource_VUPEN, x_transferred Contributors: mitre (cna), CVE (adp)
  • php-local-infile-security-bypass(36384) https://exchange.xforce.ibmcloud.com/vulnerabilities/36384 vdb-entry, x_refsource_XF, x_transferred Contributors: mitre (cna), CVE (adp)
  • php-localinfile-mysql-security-bypass(39402) https://exchange.xforce.ibmcloud.com/vulnerabilities/39402 vdb-entry, x_refsource_XF, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://issues.rpath.com/browse/RPL-1693 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://issues.rpath.com/browse/RPL-1702 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • 4392 https://www.exploit-db.com/exploits/4392 exploit, x_refsource_EXPLOIT-DB, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
a33ce6abaa5abf29ee1e592c6f8c37cdb96c710406c16e8d16deb45a7fa6c5db
Ingested
23 Sep 2026, 07:38:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected