CVE-2005-1042: PHP

High severity, CVSS 7.5. EPSS: 4% chance of exploitation in the next 30 days.

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.

Affected products

  • PHP PHP: version 4.3.0 only; version 4.3.1 only; version 4.3.2 only; version 4.3.3 only; version 4.3.4 only; version 4.3.5 only; …

Published 2005-05-02. Last modified 2026-06-16.