VYPR
High severity7.5NVD Advisory· Published Jul 10, 2017· Updated May 13, 2026

CVE-2017-11144

CVE-2017-11144

Description

PHP's openssl_seal() function crashes due to unvalidated return value of OpenSSL's EVP_SealInit, passing a negative key length to memcpy.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

PHP's openssl_seal() function crashes due to unvalidated return value of OpenSSL's EVP_SealInit, passing a negative key length to memcpy.

Vulnerability

In PHP versions before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, the openssl_seal() function in ext/openssl/openssl.c fails to check the return value of the underlying OpenSSL EVP_SealInit() call. When a crafted or invalid PEM certificate is supplied, EVP_SealInit() can produce a negative value in the envelope key length array (eksl[0]). This negative value is then passed unchecked to memcpy() in zif_openssl_seal(), leading to a crash of the PHP interpreter due to an invalid memory copy operation [1][2][4].

Exploitation

An attacker needs to supply a specially crafted PEM certificate or key that causes EVP_SealInit() to return a negative key length. No authentication is required; the attack can be triggered by calling openssl_seal() with a malicious certificate. The bug is reachable via any PHP application that processes user-supplied PEM data in an openssl_seal() call. The race window is not relevant; the crash occurs deterministically when the malformed input is processed [4].

Impact

Successful exploitation results in a denial of service (crash) of the PHP interpreter. The primary impact is on availability (CIA: A). While arbitrary code execution is not documented, the crash is reliable and can be used to disrupt services relying on PHP's openssl extension [1][2].

Mitigation

PHP versions 5.6.31, 7.0.21, and 7.1.7 (released July 2017) include the fix, which adds a proper check of the return value of EVP_SealInit() before using the key length [1][2]. Users running unpatched versions must upgrade immediately. Red Hat issued an advisory for rh-php70-php (7.0.27) as part of RHSA-2018:1296 [3]. No workaround exists; disabling the openssl extension is not recommended for production. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

39

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

12

News mentions

0

No linked articles in our index yet.