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.
The product calls free() twice on the same memory address.
Link | Tags |
---|---|
https://bugs.php.net/bug.php?id=78943 | mailing list patch vendor advisory |
https://security.netapp.com/advisory/ntap-20200103-0002/ | third party advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/ | vendor advisory |
https://seclists.org/bugtraq/2020/Feb/27 | third party advisory mailing list |
https://www.debian.org/security/2020/dsa-4626 | third party advisory vendor advisory |
https://www.tenable.com/security/tns-2021-14 | third party advisory |