Information disclosure in PHP - CVE-2010-2531

 

Information disclosure in PHP - CVE-2010-2531

Published: January 19, 2023 / Updated: June 8, 2025


Vulnerability identifier: #VU110288
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-2531
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

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.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2010-2531

Install update from vendor's website.

PHP - update to 5.3.3
dev-lang/php - update to 5.3.8

External References

Related Security Bulletins