Back to CVE records
Medium 6.8Published Apr 5, 2007

CVE-2007-1884Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) ce…

Updated under an hour ago ()

Does this affect you?

It affects php. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the php_formatted_print function because of 64 to 32 bit truncation, and bypass a check for the maximum allowable value; and (2) a width and precision of -1, which make it possible for the php_sprintf_appendstring function to place an internal buffer at an arbitrary memory location.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
6.8 MEDIUM (v2.0, NVD)AV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Jun 16, 2026
First seen by InfoSec Signals
Nov 1, 2026

Affected products

Affected products
php php
php:php
4.0; 4.0; 4.0; 4.0; 4.0; 4.0; 4.0; 4.0; and 64 more ranges
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .