CVE-2019-11049: PHP - Use After Free
- Cve: CVE-2019-11049
- Name: PHP - Use After Free
- 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.
- Impact: Attackers can cause memory corruption leading to potential crashes or arbitrary code execution.
- Remediation: Update PHP to version 7.3.13 or later, or 7.4.1 or later on Windows.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to supply custom headers in lowercase when calling mail()
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.04218
- Epss percentile: 0.91238
- Assignee: [email protected]
- Published at: 2019-12-23T03:15:11Z
- Age in days: 2528
- Modified at: 2026-08-17T14:50:49Z
- Patch available: yes
- References total: 7
- Products total: 4
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-11049
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-415 | Double Free |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugs.php.net/bug.php?id=78943 | Mailing List, Patch, Vendor Advisory |
| https://seclists.org/bugtraq/2020/Feb/27 | Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20200103-0002/ | Third Party Advisory |
| https://www.debian.org/security/2020/dsa-4626 | Third Party Advisory |
| https://www.tenable.com/security/tns-2021-14 | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/ | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/ |
Products
Same in every row:
- Sources: nvd
| Product | Affected | Platform bound | Url |
|---|---|---|---|
| php:php | = 7.4.0; >= 7.3.0, <= 7.3.13 | yes | /v1/products/php/php |
| debian:debian_linux | = 10.0 | no | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 31, = 30 | no | /v1/products/fedoraproject/fedora |
| tenable:security_center | < 5.19.0 | no | /v1/products/tenable/security_center |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 6200906
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since