Where
AND
-Infinity
0
Severity
2.9
EPSS
0.11%
Null Pointer Dereference
AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:M/U:Amber

Fixed (Broken Apache map value NULL check). (CVE-2026-7262)

1 / 5
Source: PHP
First published (updated )
Severity
2.1
EPSS
0.05%
Null Pointer Dereference
AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:X/U:Amber

Fixed (Null pointer dereference in phpmbcheckencoding() via mberegsearchinit()). (CVE-2026-7259)

1 / 5
Source: PHP
First published (updated )
Severity
2.9
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Fixed CVE-2025-67899 (uriparser through 0.9.9 allows unbounded recursion and stack consumption).

1 / 3
Source: PHP
First published (updated )
Severity
1

In PHP versions:8.1. before 8.1.33, 8.2. before 8.2.29, 8.3. before 8.3.23, 8.4. before 8.4.10 some functions like fsockopen() lack validation that the hostname supplied does not contain null characters. This may lead to other functions like parseurl() treat the hostname in different way, thus opening way to security problems if the user code implements access checks before access using such functions.

First published (updated )
Severity
1

In PHP versions 8.1. before 8.1.30, 8.2. before 8.2.24, 8.3. before 8.3.12, when using PHP-FPM SAPI and it is configured to catch workers output through catchworkersoutput = yes, it may be possible to pollute the final log or remove up to 4 characters from the log messages by manipulating log message content. Additionally, if PHP-FPM is configured to use syslog output, it may be possible to further remove log data using the same vulnerability.

First published (updated )
Severity
3.3
EPSS
0.04%
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Fixed bug (Logs from childrens may be altered). (CVE-2024-9026)

1 / 5
Source: PHP
First published (updated )
Severity
1

CVE-2023-0567[0]: PHP: Passwordverify() always return true with some hash

[0] https://security-tracker.debian.org/tracker/CVE-2023-0567 https://www.cve.org/CVERecord?id=CVE-2023-0567 https://github.com/php/php-src/security/advisories/GHSA-7fj2-8x79-rjf4

First published (updated )
Severity
1

In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.

https://bugs.php.net/bug.php?id=81726

First published (updated )
Severity
3.6
AV:L/AC:L/Au:N/C:N/I:P/A:P

The PEARREST class in REST.php in PEAR in PHP through 5.6.0 allows local users to write to arbitrary files via a symlink attack on a (1) rest.cachefile or (2) rest.cacheid file in /tmp/pear/cache/, related to the retrieveCacheFirst and useLocalCache functions.

First published (updated )
Severity
2.6
Infoleak
AV:N/AC:H/Au:N/C:P/I:N/A:N

Stefan Esser discovered a type confusion issue affecting phpinfo(). Setting certain variables before running phpinfo() could allow a local attacker to leak memory from an arbitrary location. This could be an issue remotely in shared hosting environments if PHP code can be injected. The following post demonstrates reading an SSL private key in an environment using PHP 5.3, modphp, and modssl:

https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html

References: https://bugs.php.net/bug.php?id=67498 http://git.php.net/?p=php-src.git;a=commitdiff;h=3804c0d00fa6e629173fb1c8c61f8f88d5fe39b9

1 / 2
Source: Red Hat
First published (updated )
Severity
3.3
AV:L/AC:M/Au:N/C:N/I:P/A:P

acinclude.m4, as used in the configure script in PHP 5.5.13 and earlier, allows local users to overwrite arbitrary files via a symlink attack on the /tmp/phpglibccheck file.

1 / 2
First published (updated )
Severity
1

On http://git.php.net/?p=php-src.git;a=blob;f=ext/soap/phpsdl.c;h=0ac4c2ed7a9bf87bb454db58ae3d969eef36f244;hb=HEAD#l3224

We see that php wdsl extension is reading predictible filename from a cache directory. The name is based on a configurable directory name, a prefix, and a md5, md5 derived for the file that would be cached ( or rather the url ).

So far, so good. However, default configuration is to use /tmp : http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-dir

so someone could connect to a shared php server ( not uncommon ), and if some php code is using this feature ( ie, using wsdl ), with cache enabled by default ,it could just pre-create the file in /tmp to have it used instead of the one intended to be used ( ie, a cache injection issue ). After a quick look, there is no check of owner or permission in getsdlfromcache.

I am not able to say if WSDL injection is a serious issue or not.

Fedora do have PrivateTmp in systemd file, that mitigate this issue ( provided someone do not use php to make the attack ). RHEL < 7 do not have it however.

So far, upstream was not notified, except our php maintainer for a quick sanity check. I assume this affect all php version since a few years.

First published (updated )
Severity
2.6
AV:N/AC:H/Au:N/C:N/I:N/A:P

pdosqlparser.re in the PDO extension in PHP before 5.3.14 and 5.4.x before 5.4.4 does not properly determine the end of the query string during parsing of prepared statements, which allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted parameter value.

First published (updated )
Severity
1

Common Vulnerabilities and Exposures assigned an identifier CVE-2012-0831 to the following vulnerability:

Name: CVE-2012-0831 URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0831 Assigned: 20120119 Reference: http://svn.php.net/viewvc?view=revision&revision=323016 Reference: https://launchpadlibrarian.net/92454212/php55.3.2-1ubuntu4.13.diff.gz Reference: UBUNTU:USN-1358-1 Reference: http://www.ubuntu.com/usn/USN-1358-1 Reference: http://www.securityfocus.com/bid/51954

PHP before 5.3.10 does not properly perform a temporary change to the magicquotesgpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to main/phpvariables.c, sapi/cgi/cgimain.c, and sapi/fpm/fpm/fpmmain.c.

First published (updated )
Severity
1
Null Pointer Dereference

Common Vulnerabilities and Exposures assigned an identifier CVE-2011-4153 to the following vulnerability:

Name: CVE-2011-4153 URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4153 Assigned: 20111021 Reference: http://archives.neohapsis.com/archives/bugtraq/2012-01/0092.html Reference: http://www.exploit-db.com/exploits/18370/ Reference: http://cxsecurity.com/research/103

PHP 5.3.8 does not always check the return value of the zendstrndup function, which might allow remote attackers to cause a denial of service (NULL pointer dereference and application crash) via crafted input to an application that performs strndup operations on untrusted string data, as demonstrated by the define function in zendbuiltinfunctions.c, and unspecified functions in ext/soap/phpsdl.c, ext/standard/syslog.c, ext/standard/browscap.c, ext/oci8/oci8.c, ext/comdotnet/comtypeinfo.c, and main/phpopentemporaryfile.c.

First published (updated )
Severity
1

Common Vulnerabilities and Exposures assigned an identifier CVE-2011-1469 to the following vulnerability:

Unspecified vulnerability in the Streams component in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (application crash) by accessing an ftp:// URL during use of an HTTP proxy with the FTP wrapper.

References: [1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1469 [2] http://bugs.php.net/bug.php?id=54092 [3] http://www.php.net/ChangeLog-5.php

Upstream patch: [4] http://svn.php.net/viewvc/?view=revision&amp;revision=308734

First published (updated )
Severity
1
Integer Overflow

Common Vulnerabilities and Exposures assigned an identifier CVE-2011-1466 to the following vulnerability:

Integer overflow in the SdnToJulian function in the Calendar extension in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (application crash) via a large integer in the first argument to the calfromjd function.

References: [1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1466 [2] http://bugs.php.net/bug.php?id=53574 [3] http://www.php.net/ChangeLog-5.php

Upstream patch: [4] http://svn.php.net/viewvc/?view=revision&amp;revision=306475

Public PoC (from [2]): ====================== <?php for(;;) { $x = rand(0, 2147483640); echo "$x\n"; $dummy = calfromjd($x,0); $dummy = calfromjd($x,1); } ?>

First published (updated )
Severity
1

It was reported that ZipArchive() would segfault when opening an empty archive with the FLUNCHANGED flag set [1]. This is corrected in upstream PHP 5.3.6 [2],[3].

[1] http://bugs.php.net/bug.php?id=53885 [2] http://www.php.net/ChangeLog-5.php#5.3.6 [3] http://svn.php.net/viewvc/?view=revision&amp;revision=307867

First published (updated )
Severity
1
Input Validation, Integer Overflow

An insufficient input validation flaws was discovered in the PHP's Exif extension that allows extracting Exif data from image files: http://thread.gmane.org/gmane.comp.security.oss.general/4198

An integer overflow causes PHP to not validate offsets read from the file properly, causing it to read behind the end of the buffer. This leads to PHP interpreter crash when reading specially crafted Exif data.

Before the code over-reading the buffer is reached, PHP needs to allocate a large amount of memory (based on the components / length value read from the file). This attempt triggers the integer overflow check in safeemalloc on 32bit platforms and requires the memorylimit for the script to be set to -1 (i.e. no limit is enforced by PHP) on 64bit platforms.

Upstream commits, which include reproducers: http://svn.php.net/viewvc?view=revision&revision=308316 http://svn.php.net/viewvc?view=revision&revision=308317

The follow-up commit replaces the use of hard-coded numeric constant with INT32MAX: http://svn.php.net/viewvc?view=revision&revision=308362

This fix should first appear in upstream version 5.3.6.

First published (updated )
Severity
1
Null Pointer Dereference

Common Vulnerabilities and Exposures assigned an identifier CVE-2010-3709 to the following vulnerability:

Name: CVE-2010-3709 URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3709 Assigned: 20101001 Reference: SREASONRES:20101105 PHP 5.3.3/5.2.14 ZipArchive::getArchiveComment NULL Pointer Deference Reference: URL: http://securityreason.com/achievementsecurityalert/90 Reference: EXPLOIT-DB:15431 Reference: URL: http://www.exploit-db.com/exploits/15431 Reference: CONFIRM: http://svn.php.net/viewvc/php/php-src/branches/PHP52/ext/zip/phpzip.c?view=log Reference: CONFIRM: http://svn.php.net/viewvc/php/php-src/branches/PHP53/ext/zip/phpzip.c?view=log Reference: MANDRIVA:MDVSA-2010:218 Reference: URL: http://www.mandriva.com/security/advisories?name=MDVSA-2010:218

The ZipArchive::getArchiveComment function in PHP 5.2.x through 5.2.14 and 5.3.x through 5.3.3 allows context-dependent attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted ZIP archive.

First published (updated )
Severity
1

Common Vulnerabilities and Exposures assigned an identifier CVE-2010-3710 to the following vulnerability:

Name: CVE-2010-3710 URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3710 Assigned: 20101001 Reference: CONFIRM: http://bugs.php.net/bug.php?id=52929

Stack consumption vulnerability in the filtervar function in PHP 5.2.x through 5.2.14 and 5.3.x through 5.3.3, when FILTERVALIDATEEMAIL mode is used, allows remote attackers to cause a denial of service (memory consumption and application crash) via a long e-mail address string.

First published (updated )
Severity
1

The upstream PHP 5.2.14 and 5.3.3 releases corrected an information disclosure flaw where the varexport() function would disclose data if a fatal error occurred due to recursion, memorylimit, or execution time. The buffer is never cleared and is flushed to the user, regardless of the configured displayerrors setting, because it is considered part of the output. This could lead to a disclosure of possibly sensitive information.

The name CVE-2010-2531 has been assigned to this issue.

An example to test:

% cat test.php #!/usr/bin/php <?php @$obj->p =& $obj; varexport($obj, true); ?> % php test.php PHP Fatal error: Nesting level too deep - recursive dependency? in test.php on line 4 stdClass::setstate(array( 'p' => stdClass::setstate(array( 'p' => stdClass::setstate(array( 'p' => stdClass::setstate(array( % cat test2.php #!/usr/bin/php <?php $a[] =& $a; varexport($a, true); ?> % php test2.php PHP Fatal error: Nesting level too deep - recursive dependency? in test.php on line 4 array ( 0 => array ( 0 => array ( 0 => array ( 0 => array (

The upstream changes prevent any output from displaying, so should only display the "PHP Fatal error".

The upstream fix:

http://svn.php.net/viewvc?view=revision&revision=301143

First published (updated )
Severity
1

Common Vulnerabilities and Exposures assigned an identifier CVE-2010-1917 to the following vulnerability:

Stack consumption vulnerability in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to cause a denial of service (PHP crash) via a crafted first argument to the fnmatch function, as demonstrated using a long string.

References: [1] http://www.php-security.org/2010/05/11/mops-2010-021-php-fnmatch-stack-exhaustion-vulnerability/index.html [2] http://xforce.iss.net/xforce/xfdb/58585

First published (updated )
Severity
1

Common Vulnerabilities and Exposures assigned an identifier CVE-2010-1128 to the following vulnerability:

The Linear Congruential Generator (LCG) in PHP before 5.2.13 does not provide the expected entropy, which makes it easier for context-dependent attackers to guess values that were intended to be unpredictable, as demonstrated by session cookies generated by using the uniqid function.

References: http://www.php.net/releases/5213.php http://www.php.net/ChangeLog-5.php#5.2.13 http://www.securityfocus.com/bid/38430 http://secunia.com/advisories/38708 http://www.vupen.com/english/advisories/2010/0479

First published (updated )
Severity
1

While investigating CVE-2009-3293 (bug #524217) fixed in PHP 5.2.11, it was discovered that gdGetColors() (in libgd/gdgd.c) does not properly check values read from the input GD file, making it possible to set im->colorsTotal to a value greater than gdMaxColors. GD code assumes that colorsTotal is always less than or equal to gdMaxColors, as it is used as an upper bound when accessing arrays with gdMaxColors size. Higher colorsTotal value can lead to buffer over-reads or over-writes on multiple places.

Issue was reported and fixed upstream: http://svn.php.net/viewvc?view=revision&revision=289557

Fix should get include in the future PHP and GD versions.

Note: GD image format is not meant for general purpose use and should not be used to distribute images. Its purpose is to allow fast loading by applications using libGD: http://www.libgd.org/GdFileFormats

This affects gd in Red Hat Enterprise Linux 4 and 5, version in Red Hat Enterprise Linux 3 is not affected.

It also affects all current PHP versions (Red Hat Enterprise Linux 3, 4 and 5, Fedora), as they include embedded copy of gd 2.x.

First published (updated )
Severity
1

A method to bypass SSL certificate name vs. host name verification via NUL ('\0') character embedded in X509 certificate's CommonName or subjectAltName was presented at Black Hat USA 2009:

http://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike

This issue was originally reported for Firefox / NSS, but it affects PHP's phpopensslapplyverificationpolicy() too.

References: ----------- http://www.php.net/ChangeLog-5.php

Upstream patch: --------------- http://svn.php.net/viewvc?view=revision&revision=288329

First published (updated )
Severity
1

Multiple missing sanity checks for proper file form were found in php, when processing Exchangeable Image File Format (EXIF) image files. A remote attacker could provide a specially-crafted EXIF image file, leading to php application, using the EXIF extension, crash, once processed.

References: ----------- http://www.php.net/ChangeLog-5.php

Upstream patch: --------------- http://svn.php.net/viewvc?view=revision&revision=287371

First published (updated )
Severity
1

PHP 5.2.9 upstream release notes mention following security fix:

Fixed a segfault when malformed string is passed to jsondecode(). (Scott)

http://www.php.net/releases/529.php

Upstream patch: http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSONparser.c?r1=1.1.2.14&r2=1.1.2.15

JSON extension was only introduced in PHP 5.2.0, earlier versions of php (such as those shipped in Red Hat Enterprise Linux 2.1, 3, 4, and 5) are not affected by this problem.

First published (updated )
Severity
1
XSS

Common Vulnerabilities and Exposures assigned an identifier CVE-2008-5814 to the following vulnerability:

Cross-site scripting (XSS) vulnerability in PHP, possibly 5.2.7 and earlier, when displayerrors is enabled, allows remote attackers to inject arbitrary web script or HTML via unspecified vectors. NOTE: because of the lack of details, it is unclear whether this is related to CVE-2006-0208.

References: http://jvndb.jvn.jp/en/contents/2008/JVNDB-2008-000084.html http://jvn.jp/en/jp/JVN50327700/index.html

First published (updated )
Severity
2.1
AV:L/AC:L/Au:N/C:N/I:P/A:N

PHP 4.4.4, 5.1.6, and other versions, when running on Apache, allows local users to modify behavior of other sites hosted on the same web server by modifying the mbstring.funcoverload setting within .htaccess, which causes this setting to be applied to other virtual hosts on the same server.

1 / 2
First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203