Description
The mget 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 maintain a certain pointer relationship, 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.
Remediation
References
Related Vulnerabilities
PrestaShop Improper Privilege Management Vulnerability (CVE-2023-43663)
GlassFish Use of Hard-coded Credentials Vulnerability (CVE-2018-14324)
WebLogic CVE-2020-14638 Vulnerability (CVE-2020-14638)
ATutor Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2019-11446)
XWiki Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2023-37914)