CVE Vulnerabilities

CVE-2018-19935

NULL Pointer Dereference

Published: Dec 07, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
5.9 LOW
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
PhpPhp5.6.0 (including)5.6.39 (excluding)
PhpPhp7.0.0 (including)7.0.33 (excluding)
PhpPhp7.1.0 (including)7.1.26 (excluding)
PhpPhp7.2.0 (including)7.2.14 (excluding)
Php-imapUbuntuesm-infra-legacy/trusty*
Php-imapUbuntutrusty*
Php-imapUbuntutrusty/esm*
Php7.0Ubuntuesm-infra/xenial*
Php7.0Ubuntuupstream*
Php7.0Ubuntuxenial*
Php7.2Ubuntubionic*
Php7.2Ubuntucosmic*
Php7.2Ubuntudevel*
Php7.2Ubuntuesm-infra/bionic*
Php7.2Ubuntuupstream*
Php7.3Ubuntuupstream*

Potential Mitigations

References