CVE-2019-11049Published Dec 23, 2019 · Dec 23Updated Oct 24
mail() may release string with refcount==1 twice
PHP Group PHP
Medium6.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| PHP Group PHP Windows |
| No fix yet |
Original description
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.
From the CVE record · php