Skip to content

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

ProductAffected versionsFixed 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