Bug 1788586 (CVE-2019-11049) - CVE-2019-11049 php: double free when supplying custom headers to mail function
Summary: CVE-2019-11049 php: double free when supplying custom headers to mail function
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-11049
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1788587
TreeView+ depends on / blocked
 
Reported: 2020-01-07 14:54 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-02-16 20:48 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-01-09 19:10:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-01-07 14:54:47 UTC
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.

Reference:
https://bugs.php.net/bug.php?id=78943

Comment 1 Marco Benatto 2020-01-09 19:06:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.