CVE-2019-11049
published medium CVSS 3.1 · 6.5mail() may release string with refcount==1 twice
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PHP Group | — | PHP7.3.x to < 7.3.13 · 7.4.x to < 7.4.1 · Platforms: Windows | Affected | Not stated | php |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- php · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PHP Group | PHP | 7.3.x to < 7.3.13 (affected · custom)7.4.x to < 7.4.1 (affected · custom) | php · cna |
Weaknesses
1- CWE-415 CWE-415 Double Free
References
7- https://bugs.php.net/bug.php?id=78943
- FEDORA-2019-437d94e271 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
- FEDORA-2019-a54a622670 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
- 20200218 [SECURITY] [DSA 4626-1] php7.3 security update https://seclists.org/bugtraq/2020/Feb/27
- https://security.netapp.com/advisory/ntap-20200103-0002/
- DSA-4626 https://www.debian.org/security/2020/dsa-4626
- https://www.tenable.com/security/tns-2021-14
Provider assertions
2php · cna
mail() may release string with refcount==1 twice
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7271766ea793ce5dcac4c3ea7f2cab7cd44c3096aa1a96156176149a72061db0
- Ingested
- 23 Sep 2026, 07:45:38 UTC
- Source record
- Official CVE record