CVE-2019-11049

published 23 Dec 2019 · updated 16 Sep 2024

mail() may release string with refcount==1 twice

6.5MediumCVSS 6.5EPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in PHP 7.3.13 and PHP 7.4.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP GroupPHP>=7.3.x <7.3.13, >=7.4.x <7.4.17.3.13, 7.4.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in PHP, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-11049 severity on Zeptric[![CVE-2019-11049](https://zeptric.io/badge/cve/CVE-2019-11049.svg)](https://zeptric.io/cve/CVE-2019-11049)