CWE
20
Advisory Published
Updated

CVE-2007-4783: Input Validation

First published: Mon Sep 10 2007(Updated: )

The iconv_substr function in PHP 5.2.4 and earlier allows context-dependent attackers to cause (1) a denial of service (application crash) via a long string in the charset parameter, probably also requiring a long string in the str parameter; or (2) a denial of service (temporary application hang) via a long string in the str parameter. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP<=5.2.4

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-4783?

    CVE-2007-4783 has a moderate severity level due to its potential to cause a denial of service.

  • How do I fix CVE-2007-4783?

    To fix CVE-2007-4783, upgrade PHP to version 5.2.5 or later, which addresses the vulnerability.

  • What types of attacks are possible with CVE-2007-4783?

    CVE-2007-4783 can be exploited to cause application crashes or temporary hangs through the use of long strings in the charset and str parameters.

  • Which versions of PHP are affected by CVE-2007-4783?

    CVE-2007-4783 affects PHP versions up to and including 5.2.4.

  • Is the CVE-2007-4783 vulnerability a remote or local attack vector?

    CVE-2007-4783 is primarily a local attack vector, but it can also be exploited by context-dependent attackers remotely.

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