Back
CVE-2007-1884
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…
Medium6.8EPSS 3.2%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 3.2% · top 12% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (12)
- php-printf-format-string(33755) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- ADV-2007-1991 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- SSRT071423 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- HPSBTU02232 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 33955 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- http://www.php.net/releases/5_2_1.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 23219 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 34767 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- ADV-2007-2374 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 25423 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.php-security.org/MOPB/MOPB-38-2007.html (opens in a new tab)x_refsource_MISCx_transferred
- 25850 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-1884)Record last updated .