7.5
CWE
190 NVD-CWE-Other
Advisory Published
Updated

CVE-2005-1042: Integer Overflow

First published: Tue Apr 12 2005(Updated: )

Integer overflow in the exif_process_IFD_TAG function in exif.c in PHP before 4.3.11 may allow remote attackers to execute arbitrary code via an IFD tag that leads to a negative byte count.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
PHP=4.3.9
PHP=4.3.4
PHP=4.3.0
PHP=4.3.6
PHP=4.3.7
PHP=4.3.2
PHP=4.3.3
PHP=4.3.1
PHP=4.3.10
PHP=4.3.8
PHP=4.3.5

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-2005-1042?

    CVE-2005-1042 is categorized as a high-severity vulnerability due to the potential for remote code execution.

  • How do I fix CVE-2005-1042?

    To fix CVE-2005-1042, upgrade your PHP installation to version 4.3.11 or later.

  • Which versions of PHP are affected by CVE-2005-1042?

    CVE-2005-1042 affects multiple versions of PHP prior to 4.3.11, including 4.3.0 through 4.3.10.

  • What type of attack is possible with CVE-2005-1042?

    An attacker can exploit CVE-2005-1042 to execute arbitrary code remotely by crafting a malicious IFD tag.

  • Is CVE-2005-1042 related to file uploads in PHP?

    Yes, CVE-2005-1042 can be exploited during image uploads that include EXIF metadata.

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