{"id":"CVE-2007-1884","state":"PUBLISHED","title":"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 arbitr","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.","publishedAt":"2007-04-06T01:00:00.000Z","updatedAt":"2024-08-07T13:13:41.826Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://exchange.xforce.ibmcloud.com/vulnerabilities/33755","http://www.vupen.com/english/advisories/2007/1991","http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","http://www.osvdb.org/33955","http://www.php.net/releases/5_2_1.php","http://www.securityfocus.com/bid/23219","http://www.osvdb.org/34767","http://www.vupen.com/english/advisories/2007/2374","http://secunia.com/advisories/25423","http://www.php-security.org/MOPB/MOPB-38-2007.html","http://secunia.com/advisories/25850"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:25.828Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/1xxx/CVE-2007-1884.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-1884","state":"PUBLISHED","datePublished":"2007-04-06T01:00:00.000Z","dateUpdated":"2024-08-07T13:13:41.826Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2007-04-05T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33755","name":"php-printf-format-string(33755)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.vupen.com/english/advisories/2007/1991","name":"ADV-2007-1991","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","name":"SSRT071423","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","name":"HPSBTU02232","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.osvdb.org/33955","name":"33955","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.php.net/releases/5_2_1.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/23219","name":"23219","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.osvdb.org/34767","name":"34767","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","name":"SSRT071429","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.vupen.com/english/advisories/2007/2374","name":"ADV-2007-2374","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/25423","name":"25423","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.php-security.org/MOPB/MOPB-38-2007.html","tags":["x_refsource_MISC"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","name":"HPSBMA02215","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://secunia.com/advisories/25850","name":"25850","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-07-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-03-30T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-1884","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"php-printf-format-string(33755)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33755"},{"name":"ADV-2007-1991","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/1991"},{"name":"SSRT071423","refsource":"HP","url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506"},{"name":"HPSBTU02232","refsource":"HP","url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137"},{"name":"33955","refsource":"OSVDB","url":"http://www.osvdb.org/33955"},{"name":"http://www.php.net/releases/5_2_1.php","refsource":"CONFIRM","url":"http://www.php.net/releases/5_2_1.php"},{"name":"23219","refsource":"BID","url":"http://www.securityfocus.com/bid/23219"},{"name":"34767","refsource":"OSVDB","url":"http://www.osvdb.org/34767"},{"name":"SSRT071429","refsource":"HP","url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137"},{"name":"ADV-2007-2374","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/2374"},{"name":"25423","refsource":"SECUNIA","url":"http://secunia.com/advisories/25423"},{"name":"http://www.php-security.org/MOPB/MOPB-38-2007.html","refsource":"MISC","url":"http://www.php-security.org/MOPB/MOPB-38-2007.html"},{"name":"HPSBMA02215","refsource":"HP","url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506"},{"name":"25850","refsource":"SECUNIA","url":"http://secunia.com/advisories/25850"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33755","name":"php-printf-format-string(33755)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/1991","name":"ADV-2007-1991","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","name":"SSRT071423","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","name":"HPSBTU02232","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.osvdb.org/33955","name":"33955","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.php.net/releases/5_2_1.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/23219","name":"23219","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.osvdb.org/34767","name":"34767","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","name":"SSRT071429","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/2374","name":"ADV-2007-2374","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://secunia.com/advisories/25423","name":"25423","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.php-security.org/MOPB/MOPB-38-2007.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","name":"HPSBMA02215","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://secunia.com/advisories/25850","name":"25850","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T13:13:41.826Z"}}]}}}