Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2007-4840

5.0 · MEDIUM
Published Sep 12, 2007 php CWE-20 EPSS 3.15% (87th pctl)

Overview

CVE-2007-4840 is a medium-severity vulnerability affecting php php. It was published on September 12, 2007 and has a CVSS 2.0 base score of 5.0 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 5.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the out_charset parameter to the iconv function; or a long string in the charset parameter to the (2) iconv_mime_decode_headers, (3) iconv_mime_decode, or (4) iconv_strlen function. 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.

Remediation

Check the references section for vendor advisories and patches from php. Update php to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
php php 0 Affected

Frequently Asked Questions

What is CVE-2007-4840?

CVE-2007-4840 is a medium-severity vulnerability affecting php php. It was published on September 12, 2007 and has a CVSS 2.0 base score of 5.0 (MEDIUM).

How severe is CVE-2007-4840?

This vulnerability has a CVSS 2.0 base score of 5.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2007-4840?

Check the references section for vendor advisories and patches from php. Update php to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2007-4840?

CyberStrike's AI-powered security agents can automatically detect CVE-2007-4840 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.