7.5
CWE
119 399
Advisory Published
Updated

CVE-2007-4661: Buffer Overflow

First published: Tue Sep 04 2007(Updated: )

The chunk_split function in string.c in PHP 5.2.3 does not properly calculate the needed buffer size due to precision loss when performing integer arithmetic with floating point numbers, which has unknown attack vectors and impact, possibly resulting in a heap-based buffer overflow. NOTE: this is due to an incomplete fix for CVE-2007-2872.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP=5.2.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-4661?

    CVE-2007-4661 is considered to have an unknown severity level due to the lack of defined attack vectors and impact.

  • How do I fix CVE-2007-4661?

    To fix CVE-2007-4661, you should upgrade PHP to version 5.2.4 or later.

  • What versions of PHP are affected by CVE-2007-4661?

    CVE-2007-4661 specifically affects PHP version 5.2.3.

  • Can CVE-2007-4661 lead to a buffer overflow?

    Yes, CVE-2007-4661 has the potential to result in a heap-based buffer overflow.

  • What function is implicated in CVE-2007-4661?

    The chunk_split function in string.c is implicated in CVE-2007-4661.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203