Skip to content
Fencer Intel
medium 4.3

CVE-2013-4248 json

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 '…

published 13y ago modified 4mo ago also EUVD-2013-4152

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.3%
EPSS 3.3% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • php RHEL 6 5.3.3-26.el6
  • php-gd RHEL 6 5.3.3-26.el6
  • php-cli RHEL 6 5.3.3-26.el6
  • php-dba RHEL 6 5.3.3-26.el6
  • php-fpm RHEL 6 5.3.3-26.el6
  • php-pdo RHEL 6 5.3.3-26.el6
  • php-xml RHEL 6 5.3.3-26.el6
  • php-zts RHEL 6 5.3.3-26.el6

red hat advisories RHSA-2013:1615RHSA-2013:1307

  • php7 openSUSE Tumbleweed 7.0.14-1.4
  • php5 openSUSE Tumbleweed 5.6.28-1.1
  • php8 openSUSE Tumbleweed 8.0.11-1.1

opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1

Is CVE-2013-4248 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-4248 updated cvss 4.3

php: hostname check bypassing vulnerability in SSL client

  • Red Hat Software Collections php54-php, php54-php-gd, php54-php-cli, php54-php-dba, php54-php-fpm, php54-php-pdo, +18 more
    affected: no fix available
  • Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-21.el5, php53-gd 5.3.3-21.el5, php53-cli 5.3.3-21.el5, php53-dba 5.3.3-21.el5, php53-pdo 5.3.3-21.el5, php53-xml 5.3.3-21.el5, +14 more
    fixed: vendor fix RHSA-2013:1307
  • Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-26.el6, php-gd 5.3.3-26.el6, php-cli 5.3.3-26.el6, php-dba 5.3.3-26.el6, php-fpm 5.3.3-26.el6, php-pdo 5.3.3-26.el6, +20 more
    fixed: vendor fix RHSA-2013:1615
  • Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53 5.3.3-21.el5, php53-gd 5.3.3-21.el5, php53-cli 5.3.3-21.el5, php53-dba 5.3.3-21.el5, php53-pdo 5.3.3-21.el5, php53-xml 5.3.3-21.el5, +14 more
    fixed: vendor fix RHSA-2013:1307
  • Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-26.el6, php-cli 5.3.3-26.el6, php-common 5.3.3-26.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-26.el6, php-gd 5.3.3-26.el6, php-dba 5.3.3-26.el6, php-fpm 5.3.3-26.el6, php-pdo 5.3.3-26.el6, php-xml 5.3.3-26.el6, +18 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-26.el6, php-gd 5.3.3-26.el6, php-cli 5.3.3-26.el6, php-pdo 5.3.3-26.el6, php-xml 5.3.3-26.el6, php-ldap 5.3.3-26.el6, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-26.el6, php-dba 5.3.3-26.el6, php-fpm 5.3.3-26.el6, php-zts 5.3.3-26.el6, php-imap 5.3.3-26.el6, php-intl 5.3.3-26.el6, +9 more Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-26.el6, php-gd 5.3.3-26.el6, php-cli 5.3.3-26.el6, php-pdo 5.3.3-26.el6, php-xml 5.3.3-26.el6, php-ldap 5.3.3-26.el6, +6 more Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-26.el6, php-dba 5.3.3-26.el6, php-fpm 5.3.3-26.el6, php-zts 5.3.3-26.el6, php-imap 5.3.3-26.el6, php-intl 5.3.3-26.el6, +9 more
    fixed: vendor fix RHSA-2013:1615
  • Red Hat Enterprise Linux 5 php Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.33% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-20 Improper Input Validation
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.