Back

CRITICAL

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

Published Dec 23, 2019

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

Remediation

Red Hat statement

This issue doesn't affect any PHP version as shipped with Red Hat Enterprise Linux or Red Hat Software Collection versions, as the flawed component is exclusive to Windows.

References (11)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner php
Published Dec 23, 2019
Updated Sep 16, 2024
Reserved Apr 9, 2019
NVD
Status Modified
Modified Aug 17, 2026
Red Hat
Severity Moderate
Public date Dec 10, 2019