Skip to content
Fencer Vulns
medium 5.0

CVE-2006-7243 json

PHP before 5.3.4 accepts the \0 character in a pathname, which might allow context-dependent attackers to bypass intended access restrictio…

published 2011-01-18 15 y ago modified 2026-06-16 4 mo ago also EUVD-2006-7220

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

Summary

PHP before 5.3.4 accepts the \0 character in a pathname, which might allow context-dependent attackers to bypass intended access restrictions by placing a safe file extension after this character, as demonstrated by .php\0.jpg at the end of the argument to the file_exists function.

Patch / fix

  • php RHEL 5 5.1.6-44.el5_10
  • php-gd RHEL 5 5.1.6-44.el5_10
  • php-cli RHEL 5 5.1.6-44.el5_10
  • php-dba RHEL 5 5.1.6-44.el5_10
  • php-pdo RHEL 5 5.1.6-44.el5_10
  • php-xml RHEL 5 5.1.6-44.el5_10
  • php-imap RHEL 5 5.1.6-44.el5_10
  • php-ldap RHEL 5 5.1.6-44.el5_10

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

  • php53 SLES 11 SP2-LTSS 5.3.17-47.1

suse advisories SUSE-SU-2016:1638-1

  • 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

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-2006-7243 updated cvss 4.0

php: paths with NULL character were considered valid

  • Red Hat Enterprise Linux 4 php
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-21.el5, php 5.1.6-44.el5_10, php53-gd 5.3.3-21.el5, php-gd 5.1.6-44.el5_10, php53-cli 5.3.3-21.el5, php53-dba 5.3.3-21.el5, +32 more
    fixed: vendor fix RHSA-2014:0311
  • 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, php 5.1.6-44.el5_10, php53-gd 5.3.3-21.el5, php-gd 5.1.6-44.el5_10, php53-cli 5.3.3-21.el5, php53-dba 5.3.3-21.el5, +32 more
    fixed: vendor fix RHSA-2014:0311
  • 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 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

5.36% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • bugs.php.net http://bugs.php.net/39863 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

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

Classification

Weakness
  • CWE-20 Improper Input Validation
Technology feeds

References

Sources

Fencer Vulns 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.