CVE-2019-11049Double Free in Group PHP

Severity
9.8CRITICALNVD
CNA6.5
EPSS
2.8%
top 13.87%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 23
Latest updateMay 24

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

CVEListV5php_group/php7.3.x7.3.13+1
NVDphp/php7.3.07.3.13+1

Also affects: Debian Linux 10.0, Fedora 30, 31

Patches

🔴Vulnerability Details

2
GHSA
GHSA-h3jj-5ghg-r32j: In PHP versions 72022-05-24
CVEList
mail() may release string with refcount==1 twice2019-12-23

📋Vendor Advisories

1
Red Hat
php: double free when supplying custom headers to mail function2019-12-10

💬Community

1
Bugzilla
CVE-2019-11049 php: double free when supplying custom headers to mail function2020-01-07
CVE-2019-11049 — Double Free in PHP Group PHP | cvebase