Double-Free Vulnerability in PHP mail() Function on Windows

Double-Free Vulnerability in PHP mail() Function on Windows

CVE-2019-11049 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In PHP versions 7.3.x below 7.3.13 and 7.4.0 on Windows, when supplying custom headers to mail() function, due to mistake introduced in commit 78f4b4a2dcf92ddbccea1bb95f8390a18ac3342e, if the header is supplied in lowercase, this can result in double-freeing certain memory locations.

Learn more about our Web Application Penetration Testing UK.