CVE-2004-1019: The deserialization code in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to cause a denial of service and execute…
Noroxi assessment
Priority: Plan (action score 42/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 7.9% (FIRST EPSS); higher than 94.8% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: php (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent; php-debuginfo (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent; php-devel (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent.
Add it to your regular patch cycle. Upgrade to php (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent; php-debuginfo (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent; php-devel (Red Hat:enterprise_linux:3::as) 0:4.3.2-19.ent or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The deserialization code in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to cause a denial of service and execute arbitrary code via untrusted data to the unserialize function that may trigger "information disclosure, double-free and negative reference index array underflow" results.
- Published
- Jan 10, 2005
- Updated
- Jun 16, 2026
- EPSS
- 7.9% · 94th percentile
- CWE
- CWE-20
Report tools
Action score
42
Add it to your regular patch cycle.
- CVSS
- 40 / 40 · 10.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
| openpkg | openpkg | cpe:2.3:a:openpkg:openpkg |
| trustix | secure linux | cpe:2.3:o:trustix:secure_linux |
| ubuntu | ubuntu linux | cpe:2.3:o:ubuntu:ubuntu_linux |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php3.0
- php php3.0.1
- php php3.0.10
- php php3.0.11
- php php3.0.12
- php php3.0.13
- php php3.0.14
- php php3.0.15
+12 more rows
- php php3.0.16
- php php3.0.17
- php php3.0.18
- php php3.0.2
- php php3.0.3
- php php3.0.4
- php php3.0.5
- php php3.0.6
- php php3.0.7
- php php3.0.8
- php php3.0.9
- php php4.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Red Hat:enterprise_linux:3::as | php | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-debuginfo | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-devel | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-imap | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-ldap | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-mysql | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-odbc | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:3::as | php-pgsql | before 0:4.3.2-19.ent | 0:4.3.2-19.ent |
| Red Hat:enterprise_linux:4::as | php | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-debuginfo | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-devel | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-domxml | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-gd | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-imap | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-ldap | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-mbstring | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-mysql | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-ncurses | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-odbc | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-pear | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-pgsql | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-snmp | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| Red Hat:enterprise_linux:4::as | php-xmlrpc | before 0:4.3.9-3.2 | 0:4.3.9-3.2 |
| SUSE:Linux Enterprise Server 11 SP2-LTSS | php53 | before 5.3.17-47.1 | 5.3.17-47.1 |
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2004-1392Dec 31, 2004 · PHP 4.0 with cURL functions allows remote attackers to bypass the open_basedir setting and read arbitrary files via a file: URL argument to…23Monitor
- ← EarlierCVE-2004-1018Jan 10, 2005 · Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial of service, or…45Plan
- Later →CVE-2004-1020Jan 10, 2005 · The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may allow remote attackers to read arbitrary…22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| red hat:php | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-debuginfo | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-devel | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-domxml | 0:4.3.9-3.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-gd | 0:4.3.9-3.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-imap | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-ldap | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-mbstring | 0:4.3.9-3.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-mysql | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-ncurses | 0:4.3.9-3.2 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-odbc | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-pgsql | 0:4.3.2-19.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| suse:php53 | 5.3.17-47.1 · SUSE:Linux Enterprise Server 11 SP2-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (15 more)Show less
- lists.opensuse.org/opensuse-updates/2015-02/msg00079.html
- marc.info/?l=bugtraq&m=110314318531298&w=2
- msgs.securepoint.com/cgi-bin/get/bugtraq0412/157.html
- www.hardened-php.net/advisories/012004.txt
- www.mandriva.com/security/advisories?name=MDKSA-2004:151
- www.novell.com/linux/security/advisories/2005_02_php4_mod_php4.html
- www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- www.php.net/release_4_3_10.php
- www.redhat.com/support/errata/RHSA-2004-687.html
- www.redhat.com/support/errata/RHSA-2005-032.html
- www.redhat.com/support/errata/RHSA-2005-816.html
- www.securityfocus.com/advisories/9028
- bugzilla.fedora.us/show_bug.cgi?id=2344
- exchange.xforce.ibmcloud.com/vulnerabilities/18514
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10511
Vendor advisories and official records. Exploit/PoC links are deliberately left out.