Skip to content
Fencer Intel
medium 4.3

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 Fencer

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-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 more
    fixed: vendor fix RHSA-2010:0919
  • Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more
    not 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

Sources

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.