Skip to content
OpenAdvisories
Medium · 6.5 CVE-2019-11049 EUVD-2019-2757GHSA-h3jj-5ghg-r32j

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

Published Dec 23, 2019 · Updated Sep 16, 2024 · Assigned by php

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

VendorProductAffectedFixed
PHP Group PHP 7.3.x – < 7.3.13, 7.4.x – < 7.4.1 7.3.13

Advisories 3

References