CWE
20
Advisory Published
Updated

CVE-2004-1019: Input Validation

First published: Wed Dec 22 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP=4.3.9
PHP=3.0
PHP=3.0.5
PHP=3.0.11
PHP=4.2.0
PHP=3.0.1
PHP=3.0.2
PHP=4.1.0
Openpetra=2.1
PHP=4.3.4
PHP=4.0.4
PHP=4.3.0
PHP=4.0.5
PHP=5.0-rc1
PHP=3.0.8
PHP=4.3.6
PHP=3.0.13
PHP=5.0.1
PHP=4.0.7-rc2
PHP=4.3.7
PHP=4.0.7-rc1
PHP=4.2.2
PHP=3.0.7
PHP=4.3.2
PHP=3.0.6
PHP=4.0.3-patch1
PHP=3.0.17
PHP=4.0.7
PHP=4.0.2
PHP=4.3.3
PHP=5.0-rc3
PHP=4.1.1
PHP=3.0.15
PHP=3.0.16
Openpetra=current
PHP=3.0.10
PHP=3.0.4
PHP=4.2.3
PHP=4.0.1-patch1
PHP=4.0
PHP=4.0.1-patch2
PHP=4.0.6
PHP=5.0-rc2
PHP=4.1.2
PHP=4.0.7-rc3
Openpetra=2.2
PHP=4.3.1
PHP=3.0.18
PHP=4.2.1
PHP=4.0.1
PHP=5.0.2
PHP=3.0.12
PHP=4.2
PHP=4.0.3
PHP=3.0.14
PHP=3.0.9
PHP=3.0.3
PHP=5.0.0
PHP=4.3.8
PHP=4.3.5
Trustix Secure Linux=2.0
Ubuntu=4.1
Trustix Secure Linux=2.1
Trustix Secure Linux=2.2
Ubuntu=4.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2004-1019?

    CVE-2004-1019 has a severity rating that can potentially lead to denial of service and execution of arbitrary code, indicating a serious security concern.

  • How do I fix CVE-2004-1019?

    To fix CVE-2004-1019, upgrade to PHP version 4.3.10 or later, or to PHP 5.x version 5.0.3 or later.

  • What types of attacks can CVE-2004-1019 facilitate?

    CVE-2004-1019 can facilitate remote denial of service attacks and arbitrary code execution via malicious unserialize input.

  • What versions of PHP are affected by CVE-2004-1019?

    CVE-2004-1019 affects PHP versions before 4.3.10 and all 5.x versions up to and including 5.0.2.

  • How can I prevent exploitation of CVE-2004-1019?

    To prevent exploitation of CVE-2004-1019, avoid using untrusted data with the unserialize function and ensure PHP is upgraded to an unaffected version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203