CVE-2010-2950
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
5.693%
chance of exploitation in the next 30 days
higher than 93.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-134: Use of Externally-Controlled Format String
Timeline
- 2010-09-28Published by the CNA17:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | 5.3.0no fix listed5.3.1no fix listed5.3.2no fix listed5.3.3no fix listed | not listednot listednot listednot listed |
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://www.mandriva.com/security/advisories?name=MDVSA-2010:254
- 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.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 more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2010-2950'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2010-2950'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2010-2950'curl 'https://api.contrastcyber.com/cve_products/CVE-2010-2950'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).