CVE-2010-2950 json
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 sensi…
published 2010-09-28 16 y ago modified 2026-06-16 4 mo ago also EUVD-2010-2954
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.7%
- EPSS 5.7% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php53 RHEL 5 5.3.3-13.el5_8
- php53-gd RHEL 5 5.3.3-13.el5_8
- php53-cli RHEL 5 5.3.3-13.el5_8
- php53-dba RHEL 5 5.3.3-13.el5_8
- php53-pdo RHEL 5 5.3.3-13.el5_8
- php53-xml RHEL 5 5.3.3-13.el5_8
- php53-imap RHEL 5 5.3.3-13.el5_8
- php53-intl RHEL 5 5.3.3-13.el5_8
red hat advisories RHSA-2012:1047RHSA-2012:1046
- php7 openSUSE Tumbleweed 7.0.14-1.4
- php5 openSUSE Tumbleweed 5.6.28-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2010-2950 updated cvss 5.8
php: Format string flaw in phar extension via phar_stream_flush() (MOPS-2010-024)
-
Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-13.el5_8, php53-gd 5.3.3-13.el5_8, php53-cli 5.3.3-13.el5_8, php53-dba 5.3.3-13.el5_8, php53-pdo 5.3.3-13.el5_8, php53-xml 5.3.3-13.el5_8, +14 morefixed: vendor fix RHSA-2012:1047
-
Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-14.el6_3, php-gd 5.3.3-14.el6_3, php-cli 5.3.3-14.el6_3, php-dba 5.3.3-14.el6_3, php-pdo 5.3.3-14.el6_3, php-xml 5.3.3-14.el6_3, +19 more Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-14.el6_3, php-cli 5.3.3-14.el6_3, php-common 5.3.3-14.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-14.el6_3, php-gd 5.3.3-14.el6_3, php-dba 5.3.3-14.el6_3, php-pdo 5.3.3-14.el6_3, php-xml 5.3.3-14.el6_3, php-zts 5.3.3-14.el6_3, +17 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-14.el6_3, php-gd 5.3.3-14.el6_3, php-cli 5.3.3-14.el6_3, php-pdo 5.3.3-14.el6_3, php-xml 5.3.3-14.el6_3, php-ldap 5.3.3-14.el6_3, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-14.el6_3, php-dba 5.3.3-14.el6_3, php-zts 5.3.3-14.el6_3, php-imap 5.3.3-14.el6_3, php-intl 5.3.3-14.el6_3, php-snmp 5.3.3-14.el6_3, +8 more Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-14.el6_3, php-gd 5.3.3-14.el6_3, php-cli 5.3.3-14.el6_3, php-pdo 5.3.3-14.el6_3, php-xml 5.3.3-14.el6_3, php-ldap 5.3.3-14.el6_3, +6 morefixed: vendor fix RHSA-2012:1046
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-14.el6_3, php-dba 5.3.3-14.el6_3, php-zts 5.3.3-14.el6_3, php-imap 5.3.3-14.el6_3, php-intl 5.3.3-14.el6_3, php-snmp 5.3.3-14.el6_3, +8 more -
Red Hat RHEL Desktop Workstation (v. 5 client) php53 5.3.3-13.el5_8, php53-gd 5.3.3-13.el5_8, php53-cli 5.3.3-13.el5_8, php53-dba 5.3.3-13.el5_8, php53-pdo 5.3.3-13.el5_8, php53-xml 5.3.3-13.el5_8, +14 morefixed: vendor fix RHSA-2012:1047
-
Red Hat Enterprise Linux 5 phpnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.69% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-134 Use of Externally-Controlled Format String
- Technology feeds
References
-
lists.opensuse.org
/opensuse-security-announce/2010-09/msg00006.html
vendor-advisory, exploit
-
marc.info
/?l=bugtraq&m=130331363227777&w=2
vendor-advisory
-
lists.apple.com
/archives/security-announce/2011/Mar/msg00006.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2010:254
vendor-advisory
- php-security.org /2010/05/14/mops-2010-024-php-phar_stream_flush-format-string-vulnerability/index.html
- php.net /releases/5_3_4.php
- php.net /ChangeLog-5.php
- security-tracker.debian.org /tracker/CVE-2010-2950
- php.net /archive/2010.php#id2010-12-10-1
- bugzilla.redhat.com /show_bug.cgi?id=598537
- svn.php.net /viewvc?view=revision&revision=302565
- support.apple.com /kb/HT4581
Sources
- CVE List CVE-2010-2950
- NVD CVE-2010-2950
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.