CVE-2019-11049 mail() may release string with refcount==1 twice
CriticalCVSS 9.8
EPSS 4.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 7.3.x, < 7.3.13 | 7.3.13 |
| PHP | >= 7.4.x, < 7.4.1 | 7.4.1 |
| PHP | >= 7.3.0, <= 7.3.13 | No fix listed |
| PHP | = 7.4.0 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| fedoraproject fedora | = 31 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| tenable Security Center | < 5.19.0 | 5.19.0 |
References
- bugs.php.net mailing-list patch vendor-advisory
- security.netapp.com third-party-advisory
- FEDORA-2019-437d94e271 vendor-advisory
- FEDORA-2019-a54a622670 vendor-advisory
- 20200218 [SECURITY] [DSA 4626-1] php7.3 security update mailing-list third-party-advisory
- DSA-4626 third-party-advisory vendor-advisory
- www.tenable.com third-party-advisory