CVE-2010-2531 json
The var_export function in PHP 5.2 before 5.2.14 and 5.3 before 5.3.3 flushes the output buffer to the user when certain fatal errors occur…
published 16y ago modified 4mo ago also EUVD-2010-2535
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.0%
- EPSS 5.0% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
The var_export function in PHP 5.2 before 5.2.14 and 5.3 before 5.3.3 flushes the output buffer to the user when certain fatal errors occur, even if display_errors is off, which allows remote attackers to obtain sensitive information by causing the application to exceed limits for memory, execution time, or recursion.
Patch / fix
- php php 5.2.14, 5.3.3
- php RHEL 4 4.3.9-3.31
- php RHEL 5 5.1.6-27.el5_5.3
- php-gd RHEL 4 4.3.9-3.31
- php-gd RHEL 5 5.1.6-27.el5_5.3
- php-cli RHEL 5 5.1.6-27.el5_5.3
- php-dba RHEL 5 5.1.6-27.el5_5.3
- php-pdo RHEL 5 5.1.6-27.el5_5.3
- php-xml RHEL 5 5.1.6-27.el5_5.3
red hat advisories RHSA-2010:0919
Is CVE-2010-2531 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-2531 updated cvss 4.3
php: information leak vulnerability in var_export()
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-27.el5_5.3, php-gd 5.1.6-27.el5_5.3, php-cli 5.1.6-27.el5_5.3, php-dba 5.1.6-27.el5_5.3, php-pdo 5.1.6-27.el5_5.3, php-xml 5.1.6-27.el5_5.3, +12 more Red Hat Enterprise Linux AS version 4 php 4.3.9-3.31, php-gd 4.3.9-3.31, php-imap 4.3.9-3.31, php-ldap 4.3.9-3.31, php-odbc 4.3.9-3.31, php-pear 4.3.9-3.31, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.31, php-gd 4.3.9-3.31, php-imap 4.3.9-3.31, php-ldap 4.3.9-3.31, php-odbc 4.3.9-3.31, php-pear 4.3.9-3.31, +7 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-27.el5_5.3, php-gd 5.1.6-27.el5_5.3, php-cli 5.1.6-27.el5_5.3, php-dba 5.1.6-27.el5_5.3, php-pdo 5.1.6-27.el5_5.3, php-xml 5.1.6-27.el5_5.3, +12 more Red Hat Enterprise Linux ES version 4 php 4.3.9-3.31, php-gd 4.3.9-3.31, php-imap 4.3.9-3.31, php-ldap 4.3.9-3.31, php-odbc 4.3.9-3.31, php-pear 4.3.9-3.31, +7 more Red Hat Enterprise Linux WS version 4 php 4.3.9-3.31, php-gd 4.3.9-3.31, php-imap 4.3.9-3.31, php-ldap 4.3.9-3.31, php-odbc 4.3.9-3.31, php-pear 4.3.9-3.31, +7 morefixed: vendor fix RHSA-2010:0919
-
Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 morenot 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.00% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
References
-
marc.info
/?l=bugtraq&m=133469208622507&w=2
vendor-advisory, mailing-list, third-party-advisory
-
marc.info
/?l=bugtraq&m=130331363227777&w=2
vendor-advisory, mailing-list, third-party-advisory
-
debian.org
/security/2011/dsa-2266
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2010//Nov/msg00000.html
vendor-advisory, mailing-list, third-party-advisory
-
redhat.com
/support/errata/RHSA-2010-0919.html
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2010//Aug/msg00003.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-09/msg00006.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-10/msg00000.html
vendor-advisory, mailing-list, third-party-advisory
-
svn.php.net
/viewvc/php/php-src/trunk/ext/standard/tests/general_functions/var_export_error2.phpt?view=log&pathrev=301143
vendor-advisory
-
php.net
/archive/2010.php#id2010-07-22-2
vendor-advisory
-
php.net
/archive/2010.php#id2010-07-22-1
vendor-advisory
-
support.apple.com
/kb/HT4435
third-party-advisory
-
openwall.com
/lists/oss-security/2010/07/16/3
mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=617673
issue-tracking, third-party-advisory
-
openwall.com
/lists/oss-security/2010/07/13/1
mailing-list, third-party-advisory
-
support.apple.com
/kb/HT4312
third-party-advisory
-
secunia.com
/advisories/42410
third-party-advisory, broken-link
-
vupen.com
/english/advisories/2010/3081
vdb-entry, permissions-required
Sources
- CVE List CVE-2010-2531
- NVD CVE-2010-2531
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.