Out-of-Bounds Affecting php package, versions <0:5.1.6-23.5.el5_3


Severity

Recommended
critical

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
48.29% (98th 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 IDSNYK-RHEL10-PHP-9840914
  • published28 Apr 2025
  • disclosed10 Dec 2013

Introduced: 10 Dec 2013

CVE-2013-6420  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade RHEL:10 php to version 0:5.1.6-23.5.el5_3 or higher.
This issue was patched in RHSA-2013:1824.

NVD Description

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

The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.

CVSS Base Scores

version 3.1