CVE Catalog

CVE-2015-4605

High
Published: Translated: NVD NIST

Summary

The mcopy function in softmagic.c in the Fileinfo component in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 does not properly restrict a certain offset value, allowing remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted string.

Risk Assessment

This vulnerability may lead to application crashes, affecting service availability, and could allow remote code execution, posing a serious security threat to the system.

Recommendation

It is recommended to update PHP to the latest version to mitigate this vulnerability and to monitor systems for potential attack attempts.

Other vulnerabilities in PHP Fileinfo component

See all
Original NVD description (English source)

The mcopy function in softmagic.c in file 5.x, as used in the Fileinfo component in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8, does not properly restrict a certain offset value, which allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted string that is mishandled by a "Python script text executable" rule.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS