CVE-2019-11049 MEDIUM

CVE-2019-11049: mail() may release string with refcount==1 twice

Vendor Php Group
Product PHP
Weakness CWE-415
Published December 23, 2019
Last update September 16, 2024

CVSS base score

6.5/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 23, 2019 CVE published
September 16, 2024 Record updated