---
id: CVE-2019-11049
title: >-
  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 res…
summary: >-
  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 res…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'
cwe:
  - CWE-415
  - CWE-415
vendor: php
product: php
affected:
  - 'php >= 7.3.0, <= 7.3.13'
  - php = 7.4.0
  - fedora = 30
  - fedora = 31
  - debian_linux = 10.0
  - security_center < 5.19.0
patched:
  - security_center 5.19.0
published: '2019-12-23'
updated: '2026-08-17'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2019-11049'
references:
  - url: 'https://bugs.php.net/bug.php?id=78943'
    label: security@php.net
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
    label: security@php.net
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
    label: security@php.net
  - url: 'https://seclists.org/bugtraq/2020/Feb/27'
    label: security@php.net
  - url: 'https://security.netapp.com/advisory/ntap-20200103-0002/'
    label: security@php.net
  - url: 'https://www.debian.org/security/2020/dsa-4626'
    label: security@php.net
  - url: 'https://www.tenable.com/security/tns-2021-14'
    label: security@php.net
  - url: 'https://bugs.php.net/bug.php?id=78943'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://seclists.org/bugtraq/2020/Feb/27'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20200103-0002/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.debian.org/security/2020/dsa-4626'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.tenable.com/security/tns-2021-14'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.04218
epssPercentile: 0.90547
ingestedAt: '2026-08-17T14:55:58.910Z'
---

## Overview

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

- `php >= 7.3.0, <= 7.3.13`
- `php = 7.4.0`
- `fedora = 30`
- `fedora = 31`
- `debian_linux = 10.0`
- `security_center < 5.19.0`

## Remediation

Upgrade past the affected range:

- `security_center 5.19.0`
