Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-19935

ext/imap/php_imap.c in PHP 5.x and 7.x before 7.3.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the imap_mail function.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-19935
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:27 UTC · Revision 1

Source evidence

CVE-2018-19935

core-osv · Original source

Published 7 Dec 2018, 09:29 UTC

ext/imap/php_imap.c in PHP 5.x and 7.x before 7.3.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the imap_mail function.

osv:CVE-2018-19935
Complete source record
{
  "id": "9d4116647adc017c28cbb44595ef30e625c00c5ec332a298e4e8cf5ddcadac68",
  "url": "https://osv.dev/vulnerability/CVE-2018-19935",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-19935",
    "summary": "ext/imap/php_imap.c in PHP 5.x and 7.x before 7.3.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the imap_mail function.",
    "evidence": "osv:CVE-2018-19935",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-19935",
      "aliases": [
        "CVE-2018-19935"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fc1df8e7a6886e29a6ed5bef3f674ac61164e847"
                },
                {
                  "fixed": "4653a1b260c9d640a292a9548e8def00edc5ca58"
                },
                {
                  "introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
                },
                {
                  "fixed": "bf574c2b67a1f786e36cf679f41b758b973a82c4"
                },
                {
                  "introduced": "0221e9f827632942225586687a33cfd554860d5e"
                },
                {
                  "fixed": "b3ad2be890e86c69cdc661739c74b677b46a53cb"
                },
                {
                  "introduced": "8148cbb78841c8ec0759c0836e7f35dec799d300"
                },
                {
                  "fixed": "643a161a24e662fd2afa9bf3591b105f4881e93e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.6.0"
                      },
                      {
                        "fixed": "5.6.39"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.33"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.0"
                      },
                      {
                        "fixed": "7.1.26"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.2.0"
                      },
                      {
                        "fixed": "7.2.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19935.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:53.550237245Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html",
        "https://security.netapp.com/advisory/ntap-20181221-0003/",
        "https://www.debian.org/security/2018/dsa-4353",
        "https://bugs.php.net/bug.php?id=77020"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-19935",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 437948,
  "published_at": "2018-12-07T09:29:00.29+00:00"
}