All reports
Medium

php: hostname check bypassing vulnerability in SSL client

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2013-4248

Probability of exploitation in the next 30 days: 3.33%

FIRST EPSS · 2026-11-21

Description

The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.