NULL Pointer Dereference Affecting php-imap package, versions <0:5.3.3-14.el6_3


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
3.97% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS6-PHPIMAP-2059236
  • published26 Jul 2021
  • disclosed10 Jan 2012

Introduced: 10 Jan 2012

CVE-2011-4153  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Centos:6 php-imap to version 0:5.3.3-14.el6_3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-imap package and not the php-imap package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

PHP 5.3.8 does not always check the return value of the zend_strndup function, which might allow remote attackers to cause a denial of service (NULL pointer dereference and application crash) via crafted input to an application that performs strndup operations on untrusted string data, as demonstrated by the define function in zend_builtin_functions.c, and unspecified functions in ext/soap/php_sdl.c, ext/standard/syslog.c, ext/standard/browscap.c, ext/oci8/oci8.c, ext/com_dotnet/com_typeinfo.c, and main/php_open_temporary_file.c.

CVSS Scores

version 3.1