The var_export function in PHP 5.2 before 5.2.14 and 5.3 before 5.3.3 flushes the output…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2010:0919 Released 2010-11-29 · Red Hat rating Moderatephp security update
- Red Hat Enterprise Linux (v. 5 server) php-5.1.6-27.el5_5.3, php-5.1.6-27.el5_5.3.i386, php-5.1.6-27.el5_5.3.ia64 +47
- Red Hat Enterprise Linux AS version 4 php-4.3.9-3.31, php-4.3.9-3.31.i386, php-4.3.9-3.31.ia64 +47
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php-5.1.6-27.el5_5.3, php-5.1.6-27.el5_5.3.i386, php-bcmath-5.1.6-27.el5_5.3 +35
- Red Hat Enterprise Linux Desktop version 4 php-4.3.9-3.31, php-4.3.9-3.31.i386, php-devel-4.3.9-3.31 +25
- Red Hat Enterprise Linux ES version 4 php-4.3.9-3.31, php-4.3.9-3.31.i386, php-4.3.9-3.31.ia64 +39
- Red Hat Enterprise Linux WS version 4 php-4.3.9-3.31, php-4.3.9-3.31.i386, php-4.3.9-3.31.ia64 +39
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2010:0919 |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2010-2531
- 2026-10-03 Alias added: GHSA-cpj2-grx5-hpg2
References
Advisory 16
- http://support.apple.com/kb/HT4435
- HPSBOV02763
- HPSBMA02662
- [oss-security] 20100716 Re: Re: CVE request, php var_export
- http://svn.php.net/viewvc/php/php-src/trunk/ext/standard/tests/general_functions/var_export_error2.phpt?view=log&pathrev=301143
- https://bugzilla.redhat.com/show_bug.cgi?id=617673
- DSA-2266
- APPLE-SA-2010-11-10-1
- RHSA-2010:0919
- APPLE-SA-2010-08-24-1
- [oss-security] 20100713 CVE request, php var_export
- http://www.php.net/archive/2010.php#id2010-07-22-2
- http://support.apple.com/kb/HT4312
- SUSE-SR:2010:017
- http://www.php.net/archive/2010.php#id2010-07-22-1
- SUSE-SR:2010:018
Other 1
Sources
- CVE-2010-2531 · CVE Program
- CVE-2010-2531 · NVD
- FIRST EPSS
- GHSA-cpj2-grx5-hpg2 · GitHub Advisory Database · CC BY 4.0
- CVE-2010-2531 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences