What’s Vulnerable › Vulnerabilities
CVE-2010-2950
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2010-09-28 · updated 2026-06-16
- Weakness: CWE-134
Description
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 products
- PHP: 5.3.0, 5.3.1, 5.3.2, 5.3.3
References
- http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
- http://marc.info/?l=bugtraq&m=130331363227777&w=2
- http://php-security.org/2010/05/14/mops-2010-024-php-phar_stream_flush-format-string-vulnerability/index.html
- http://security-tracker.debian.org/tracker/CVE-2010-2950
- http://support.apple.com/kb/HT4581
- http://svn.php.net/viewvc?view=revision&revision=302565
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:254
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2010.php#id2010-12-10-1
- http://www.php.net/releases/5_3_4.php
- https://bugzilla.redhat.com/show_bug.cgi?id=598537
Get alerted when CVE-2010-2950 or the next vulnerability affects your stack