DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie5.6.33+dfsg-0+deb8u1fixed
jessie (security)5.6.40+dfsg-0+deb8u8fixed
php7.0 (PTS)stretch7.0.33-0+deb9u3vulnerable
stretch (security)7.0.33-0+deb9u6vulnerable
php7.3 (PTS)buster, buster (security)7.3.11-1~deb10u1vulnerable
bullseye, sid7.3.12-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourcejessie(not affected)


[jessie] - php5 <not-affected> (Vulnerable code introduced later)
Fixed in PHP 7.4.1, 7.3.13
PHP Bug:

Search for package or bug name: Reporting problems