CVE-2004-1063

CRITICAL

PHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir restrictions and execute commands outside of the...

Affects 2 products across 2 vendors.

BCS7.64
CVSS 2.010.0
EPSS4.2%
Percentile90th
PatchPatched
CVSS Vector — Plain English Remotely exploitable over the network, low complexity.
◆ SAGE Intelligence — CITED Relevance Research Team

This vulnerability was disclosed in 2005. A critical vulnerability affects Canonical systems (CVE-2004-1063). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

BSID: BS-2005-GLOBAL-008275-C • Model: rule-based-v1 • Confidence: MEDIUM

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2004-1063?
This vulnerability was disclosed in 2005. A critical vulnerability affects Canonical systems (CVE-2004-1063). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2004-1063?
CVE-2004-1063 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 4.2%.
Is CVE-2004-1063 actively exploited?
No confirmed active exploitation of CVE-2004-1063 as of 2026-05-30.
How do I remediate CVE-2004-1063?
Priority: MEDIUM. Advisory: http://www.php.net/release_4_3_10.php PSIRT: [email protected]
What systems are affected by CVE-2004-1063?
CVE-2004-1063 affects: Canonical, Php.
Vulnerability Details
CVE IDCVE-2004-1063
BSIDBS-2005-GLOBAL-008275-C BreachSpider Global ID
CVSS VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Published2005-01-10
Last Modified2026-04-16
ICS Relevance0%
SourceNVD
Official Description

PHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir restrictions and execute commands outside of the intended safe_mode_exec_dir via shell metacharacters in the current directory name. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

Vulnerability details: PHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir restrictions and execute commands outside of the intended safe_mode_exec_dir via shell metacharacters in the current directory name. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion. CVSS vector: AV:N/AC:L/Au:N/C:C/I:C/A:C.

Exploitation Likelihood: LOW

Affected Products
VendorProductFixed Version
Canonical Ubuntu Linux
Php Php
Remediation
View Vendor Advisory →

Remediation Priority: MEDIUM

Vendor PSIRT: [email protected]
Threat Intelligence
● Threat Intelligence Validated: August 2026 | Threat Age: 7875 Days
CISA KEVNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
SAGE Enrichment Record — provenance & audit hash
Modelrule-based-v1
ConfidenceMEDIUM
Enriched At2026-05-24
SHA-512 Audit Hash86d51a4e8717436ea93c1c8cc71f3ea5a06a28e5407f529fd3cf4f80a947dbe943cbe1d439595d4757b68c16f74bf27ca05bc215f1ab722dba96d28c64ae4a8a
Related CVEs affecting Canonical
CVE-2004-1018 10.0 Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypa... CVE-2014-0457 10.0 Unspecified vulnerability in Oracle Java SE 5.0u61, SE 6u71, 7u51, and 8; JRo... CVE-2007-0063 10.0 Integer underflow in the DHCP server in EMC VMware Workstation before 5.5.5 B... CVE-2008-2663 10.0 Multiple integer overflows in the rb_ary_store function in Ruby 1.8.4 and ear... CVE-2008-4062 10.0 Multiple unspecified vulnerabilities in Mozilla Firefox before 2.0.0.17 and 3...
View all Canonical CVEs →

Critical Severity - Know Your Exposure

A CVSS 10.0 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.

Check Your Assets Free →