CVE-2007-3205: Medium severity PHP PHP vulnerability

Published Jun 13, 2007
·
Updated

The parsestr function in (1) PHP, (2) Hardened-PHP, and (3) Suhosin, when called without a second parameter, might allow remote attackers to overwrite arbitrary variables by specifying variable names and values in the string to be parsed. NOTE: it is not clear whether this is a design limitation of the function or a bug in PHP, although it is likely to be regarded as a bug in Hardened-PHP and Suhosin.

Affected Software

5 affected componentsFixes available
PHP PHP
Hardened-php Project Hardened-php
Hardened-php Project Subhosin
Microsoft cbl2 php 8.1.32-1<8.1.32-1
8.1.32-1
Microsoft cbl2 php 7.4.14-3<7.4.14-3
7.4.14-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.1.32-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.4.14-3

Event History

Jun 13, 2007
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Oct 2, 2025
Data Sourced
via Microsoft·06:10 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·06:10 AM
Affected Software
Updated
via Microsoft·06:10 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2007-3205?

CVE-2007-3205 is considered a medium severity vulnerability due to its potential for allowing arbitrary variable overwrites.

2

How do I fix CVE-2007-3205?

To fix CVE-2007-3205, ensure that the parse_str function is called with a second parameter to prevent variable overwriting.

3

Which versions of PHP are affected by CVE-2007-3205?

CVE-2007-3205 affects various versions of PHP, including Hardened-PHP and Suhosin implementations.

4

Can CVE-2007-3205 be exploited remotely?

Yes, CVE-2007-3205 can be exploited remotely by attackers to manipulate variable values in the server's environment.

5

Is there any recommended software to mitigate CVE-2007-3205?

Upgrading to the latest versions of PHP and using proper coding practices can help mitigate the risks associated with CVE-2007-3205.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203