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
Oracle JRE Improper Access Control Vulnerability (CVE-2025-30754)
WordPress Plugin ComicPress Manager 'lang' Parameter Cross-Site Scripting (1.4.9.9)
Plone CMS URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2020-7936)
OpenSSL Improper Input Validation Vulnerability (CVE-2008-5077)
WordPress Plugin Multi Plugin Installer Arbitrary File Disclosure (1.1.0)