Format string error in PHP - CVE-2010-2950

 

Format string error in PHP - CVE-2010-2950

Published: May 4, 2011 / Updated: June 8, 2025


Vulnerability identifier: #VU110286
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-2950
CWE-ID: CWE-134
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Format string vulnerability in stream.c in the phar extension in PHP 5.3.x through 5.3.3 allows context-dependent attackers to obtain sensitive information (memory contents) and possibly execute arbitrary code via a crafted phar:// URI that is not properly handled by the phar_stream_flush function, leading to errors in the php_stream_wrapper_log_error function. NOTE: this vulnerability exists because of an incomplete fix for CVE-2010-2094.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2010-2950

Install update from vendor's website.

PHP - update to 5.3.4
dev-lang/php - update to 5.3.8

External References

Related Security Bulletins