Skip to main content
Network Thinking Solutions Logo

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 context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the p…

All CVEs
CVE-2007-1884Published 4/6/2007

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 p…

Vendor advisory
CVSS6.8Medium

Overview

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.

Published
4/6/2007
Last modified
6/16/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
php
php
4.0

Verify advisory

Source
php
php
4.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
4.0.0

Verify advisory

Source
php
php
4.0.1

Verify advisory

Source
php
php
4.0.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
4.0.2

Verify advisory

Source
php
php
4.0.3

Verify advisory

Source
php
php
4.0.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
4.0.4

Verify advisory

Source
php
php
4.0.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
4.0.5

Verify advisory

Source
php
php
4.0.6

Verify advisory

Source
php
php
4.0.7

Verify advisory

Source
php
php
4.0.7

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
4.1.0

Verify advisory

Source
php
php
4.1.1

Verify advisory

Source
php
php
4.1.2

Verify advisory

Source
php
php
4.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
4.2.0

Verify advisory

Source
php
php
4.2.1

Verify advisory

Source
php
php
4.2.2

Verify advisory

Source
php
php
4.2.3

Verify advisory

Source
php
php
4.3.0

Verify advisory

Source
php
php
4.3.1

Verify advisory

Source
php
php
4.3.2

Verify advisory

Source
php
php
4.3.3

Verify advisory

Source
php
php
4.3.4

Verify advisory

Source
php
php
4.3.5

Verify advisory

Source
php
php
4.3.6

Verify advisory

Source
php
php
4.3.7

Verify advisory

Source
php
php
4.3.8

Verify advisory

Source
php
php
4.3.9

Verify advisory

Source
php
php
4.3.10

Verify advisory

Source
php
php
4.3.11

Verify advisory

Source
php
php
4.4.0

Verify advisory

Source
php
php
4.4.1

Verify advisory

Source
php
php
4.4.2

Verify advisory

Source
php
php
4.4.3

Verify advisory

Source
php
php
4.4.4

Verify advisory

Source
php
php
5.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.0.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.0.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.0.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.0.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.0.5

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.1.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.1.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.1.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.1.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.1.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.1.5

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.1.6

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
php
php
5.2.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
n/a
n/a
n/a

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.