Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-11049

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-11049
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:04 UTC · Revision 1

Source evidence

CVE-2019-11049

core-osv · Original source

Published 23 Dec 2019, 03:15 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.

osv:CVE-2019-11049
Complete source record
{
  "id": "349a46a94c7f537a7c0374b397b216f79c70b77093bb8c34e4e750774557202b",
  "url": "https://osv.dev/vulnerability/CVE-2019-11049",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-11049",
    "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 result in double-freeing certain memory locations.",
    "evidence": "osv:CVE-2019-11049",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2019-11049",
      "aliases": [
        "CVE-2019-11049"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "52ace952a1b65ca80fc2617f11c2fa6dd03f51bd"
                },
                {
                  "last_affected": "a1457cf8b8b82516bf9561eb43972b63074fa9ae"
                },
                {
                  "introduced": "3c7824e16ec4c3cee417262445d2c2b66531c10f"
                },
                {
                  "last_affected": "3c7824e16ec4c3cee417262445d2c2b66531c10f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.3.0"
                      },
                      {
                        "last_affected": "7.3.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.4.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.4.0"
                      },
                      {
                        "last_affected": "7.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.4.0",
            "php-7.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-11049.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:34.985191602Z",
      "provider": "osv",
      "references": [
        "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/",
        "https://seclists.org/bugtraq/2020/Feb/27",
        "https://security.netapp.com/advisory/ntap-20200103-0002/",
        "https://www.debian.org/security/2020/dsa-4626",
        "https://www.tenable.com/security/tns-2021-14",
        "https://bugs.php.net/bug.php?id=78943"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:tenable:security_center:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "tenable:security_center",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "5.19.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "30"
                  },
                  {
                    "last_affected": "30"
                  },
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-11049",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433651,
  "published_at": "2019-12-23T03:15:11.897+00:00"
}