NES for PHP 7 Release Notes: PHP 7.2
Comprehensive release notes and changelog for NES for PHP 7 Release Notes: PHP 7.2, including security patches, bug fixes, and feature updates across all supported versions.
PHP 7.2
7.2.4 (NES) - November 4, 2026
Packages: https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.4/ (see Installation)
Container Images: registry.nes.herodevs.com/nes/php-nes:7.2.34-nes-7.2.4-<variant>-<base> (see Container Images)
Windows: https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.4/php-v7.2.34-nes-7.2.4.windows.x64.ts.zip (Windows Server 2022, x64; see Windows)
Windows (32-bit): https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.4/php-v7.2.34-nes-7.2.4.windows.x86.ts.zip (Windows Server 2022, x86, 32-bit; needs the Visual C++ Redistributable for Visual Studio 2015-2026 (x86), version 14.51.36247 or later; see Windows)
Based on PHP 7.2.34.
This release fixes no new CVE; it includes every security patch from earlier releases.
Upgrade notes
- Ubuntu 18.04: this release adds PHP 7.2 packages for Ubuntu 18.04 (amd64
and arm64), in the archives
php-v7.2.34-nes-7.2.4.ubuntu1804.amd64.repo.tar.xzandphp-v7.2.34-nes-7.2.4.ubuntu1804.arm64.repo.tar.xz, at the version7.2.34+nes7.2.4-1~ubuntu18.04. They have Ubuntu's package names (php7.2-cli,php7.2-fpmand the rest) and upgrade Ubuntu 18.04's own PHP 7.2.24 packages in place. - Ubuntu 18.04: upgrade with
sudo apt-get --with-new-pkgs upgrade. The NESphp-commonbrings packages that Ubuntu 18.04's olderphp-commondid not have, and a plainapt-get upgradeinstalls no new packages, so it keeps the PHP packages back. The upgrade installs the new packages and removes none. A PHP-FPM pool configuration you edited (www.conf) upgrades without a configuration file prompt. - Ubuntu 18.04: the NES
php-commonkeeps theBreakslist of Ubuntu 18.04's ownphp-common, so the PECL extension packages from Ubuntu's archive (php-apcu,php-redis,php-memcached,php-imagick,php-igbinary,php-msgpackand the others) stay installed through the upgrade and keep loading. Unlike on Debian 13 and Ubuntu 26.04, nothing has to be removed or rebuilt. - Ubuntu 18.04:
ZipArchive::setEncryptionName(),ZipArchive::setEncryptionIndex()and the constantsZipArchive::EM_NONE,EM_AES_128,EM_AES_192andEM_AES_256do not exist, andZipArchive::statName()andstatIndex()return noencryption_method, because Ubuntu 18.04's libzip 1.1.2 cannot encrypt archives (it has nozip_file_set_encryption()). Reading and writing archives without encryption works as on the other platforms. - Ubuntu 18.04:
php7.2-enchantis built, because Ubuntu 18.04 still has enchant 1. The other Debian and Ubuntu platforms have only enchant 2, which PHP 7.2 cannot use. - Ubuntu 18.04: NES for PHP fixes PHP, not Ubuntu 18.04's own libraries. Ubuntu's standard support for 18.04 ended in May 2023: OpenSSL 1.1.1, libxml2 2.9.4, libzip 1.1.2, libpq 10, curl and the other system libraries get security fixes only through Ubuntu Pro (ESM). Fixes to PHP's own code, including the extensions that use these libraries, are in these packages.
- Ubuntu 18.04 and PostgreSQL: Ubuntu 18.04's libpq 10 does not reject
invalid multibyte input in
PQescapeLiteral()andPQescapeIdentifier(). PostgreSQL added that check for CVE-2025-1094 (in 13.19, 14.16, 15.11, 16.7 and 17.3) after PostgreSQL 10's end of life. PHP's fix for CVE-2025-1735 reports the error libpq returns, but this libpq returns none, so on Ubuntu 18.04pg_escape_literal(),pg_escape_identifier(),pg_insert(),pg_update()andPDO::quote()on a PostgreSQL connection escape such input instead of failing. CVE-2025-1094's hardening is absent unless libpq comes from Ubuntu Pro (ESM) with that fix. Input that is valid in the client encoding is escaped as before, and the other platforms' libpq rejects the invalid input. - mysqli and PDO_MySQL can now log in with
caching_sha2_password, the default authentication plugin of MySQL 8.0 and the only modern one on MySQL 8.4 and 9.x. PHP 7.2 failed with error 2054 against accounts that use it. The Windows zip also gainssha256_password. This brings the part of the CVE-2025-1218 fix that bounds the reads ofcaching_sha2_password's packets, code that PHP 7.2 did not have before. - Binary mysqlnd plugins (extensions built against mysqlnd's headers, outside
these packages) must be rebuilt with this release's development package
(
php7.2-dev,php-develor, on Amazon Linux 2023,php7.2-devel): the authentication plugin structure and the payload decoder factory changed. Code that only uses mysqli or PDO_MySQL is not affected. - Use TLS for
caching_sha2_passwordlogins over TCP, or pin the server's RSA public key (mysqlnd.sha256_server_public_key,MYSQLI_SERVER_PUBLIC_KEY,PDO::MYSQL_ATTR_SERVER_PUBLIC_KEY). Without either, a full login encrypts the password with a public key fetched from the server over the same unencrypted connection, and a man in the middle can swap that key. - mysqli:
mysqli_set_charset('utf8mb3')andMYSQLI_SET_CHARSET_NAMEwithutf8mb3, the name MySQL 8.0.28 and later report for the 3-byteutf8, now work asutf8does. They failed with error 2019. - The CVE-2026-7258 fix now also covers PHP 7.2 code that the first fix did
not reach:
strripos()with a one-byte needle,stripos()andstrripos()with an integer needle,str_ireplace()with a one-byte search, the allowed tags ofstrip_tags(),sprintf()'s format check,ezmlm_hash(),PDO::CASE_LOWERcolumn names, pdo_firebird parameter names, phpdbg's output, and the-doption of the CLI, CGI, FPM and phpdbg. Each passes the C library's character functions an unsigned value. On Linux this is hardening. With the Windows zip's C runtime, a byte of 0x80 or more could make these calls read outside the character tables. XSLTProcessor::importStylesheet()during a transformation by the same processor, and a second transformation on the same processor during one (from aphp:functioncallback, or a destructor it triggers), now throw anError. Before, they freed memory the running transformation still used.- Casting an object that has a numeric property name to an array (
(array), bug 79477) now copies the values of its declared properties. Before, a write to the array changed the object, and the array read freed memory once the object was gone. default_mimetypeanddefault_charsetrefuse a value with a CR, LF or NUL byte (bug 81518), which would split theContent-Typeheader.ldap_exop()with two arguments sends no request data. Before, it could send uninitialised memory to the LDAP server.- This release also carries 51 security fixes that have no CVE id, most of
them for bugs PHP fixed only in later versions; the
XSLTProcessor, array cast,default_mimetypeandldap_exop()fixes above are among them. They fix use-after-free, double-free, overflow and out-of-bounds bugs in the engine, SPL,serialize(),str_repeat(),substr_replace(),str_replace(),implode(),array_merge_recursive(),htmlspecialchars(),preg_replace(), streams and stream filters, output buffering,open_basedir,memory_limit, phar, dom, libxml, xmlreader, xsl, mbstring, mysqlnd, curl, filter, ftp, ldap, openssl, pcntl, sysvmsg and fileinfo. On Windows they also fix the COM extension and shared memory: a segmentshmop_open()creates with key 0 (IPC_PRIVATE) is now private to it, and a large or negative key no longer attaches the wrong segment. - RHEL 10 and the Alpine images follow in a later release.
7.2.3 (NES) - October 30, 2026
Packages: https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.3/ (see Installation)
Container Images: registry.nes.herodevs.com/nes/php-nes:7.2.34-nes-7.2.3-<variant>-<base> (see Container Images)
Windows: https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.3/php-v7.2.34-nes-7.2.3.windows.x64.ts.zip (Windows Server 2022, x64; see Windows)
Windows (32-bit): https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.3/php-v7.2.34-nes-7.2.3.windows.x86.ts.zip (Windows Server 2022, x86, 32-bit; needs the Visual C++ Redistributable for Visual Studio 2015-2026 (x86), version 14.51.36247 or later; see Windows)
Based on PHP 7.2.34.
This release adds no new security patches; it includes every security patch from earlier releases.
Upgrade notes
- Amazon Linux 2023: this release adds PHP 7.2 packages for Amazon Linux 2023
(x86_64 and aarch64), as a plain dnf repository with no module stream. They
are named by PHP version, as Amazon Linux 2023's own PHP packages are:
php7.2,php7.2-cli,php7.2-fpmand so on. A host runs one PHP version at a time, so they conflict with Amazon Linux 2023'sphp8.xpackages and with itsphp-pear(php7.2-pearreplaces it), anddnf upgradenever moves a host from one PHP version to another. To move a host from Amazon Linux 2023's PHP 8, install thephp7.2counterpart of everyphp8.xpackage it has in onednf install --allowerasing(see the Amazon Linux 2023 section of the Installation page for the commands). - Amazon Linux 2023: the
imap,interbase,pdo_firebird,pdo_dblibandrecodeextensions are not built. Amazon Linux 2023 has no libraries for imap, Firebird and recode, and its own PHP packages leave outpdo_dblib. Password hashing has Argon2i (PASSWORD_ARGON2I, from Amazon Linux 2023's libargon2). PHP 7.2 has no Argon2id, soPASSWORD_ARGON2IDdoes not exist. - Amazon Linux 2023: NES for PHP fixes PHP and the libraries it carries its own
copy of (PCRE and Oniguruma), not Amazon Linux 2023's own packages. libgd,
libzip, SQLite, OpenSSL and the other system libraries come with Amazon Linux
2023's updates. Fixes to PHP's own code, including its
gdandzipextensions, are in these packages. yield froma generator that was aborted, for example one that threw an exception, now throws anError("Generator passed to yield from was aborted without proper return and is unable to continue"), as PHP 8.0 does; before, the expression evaluated tonull. This comes with the fix for a use-after-free in generators that are delegated to by more than oneyield from.- Extensions built outside these packages that use the engine's generator
internals (generator-aware profilers, tracers and debuggers) must be rebuilt
with this release's development package (
php7.2-dev,php-develor, on Amazon Linux 2023,php7.2-devel): built against other PHP 7.2 headers, they can return the wrong generator or crash. The extensions in these packages and images are already built against it. - Debian 13 and Ubuntu 26.04: PHP 7.2 uses its bundled, NES-patched PCRE on
these distributions, which no longer ship
libpcre3. PECL extensions built againstlibpcre3, such as a downstreamphp7.2-apcu, do not load with it, sophp7.2-commonbreaksphp7.2-apcuandapt upgradeholds the upgrade back: upgrade withapt full-upgrade php7.2-apcu-, which removes it, then rebuild APCu withpecl install apcu(withphp7.2-devandphp-pear) and enable it. - Windows: this release adds a 32-bit zip of PHP for Windows, the thread-safe
x86 build, beside the x64 one:
php-v7.2.34-nes-7.2.3.windows.x86.ts.zip, the x64 zip's name withx86forx64. It is the same release, built with the same libraries and tested the same way on Windows Server 2022, with the same fixes for the Windows-only vulnerabilities. It needs Microsoft's Visual C++ Redistributable for Visual Studio 2015-2026 (x86), version 14.51.36247 or later, which the zip does not include. Extensions built for 32-bit PHP 7.2 (API20170718,TS,VC15) keep loading, andphp -vshowsx86. The steps on the Windows page apply with the x86 zip's name. stream_get_meta_data()reports the protocol of a TLS 1.3 connection asTLSv1.3incrypto["protocol"], where it reportedUNKNOWN, and the session metadata a stream context captures (capture_session_meta) says the same. Code that reads the protocol to refuse old versions no longer seesUNKNOWNon a TLS 1.3 connection. Negotiation does not change: with OpenSSL 1.1.1 or later, PHP 7.2 already negotiates TLS 1.3 ontls://andssl://streams, and it has notlsv1.3://transport.- On 64-bit builds the table of an array has at most 2^30 (1,073,741,824)
slots, where it had 2^31. A request for 2^30 slots or more, and growth past
2^30, is a fatal error. Functions that check the size they will need first
refuse it in their own way:
array_merge()andarray_merge_recursive()throw anErrorfor a total of 2^30 elements or more (as before), andrange()gives a warning and returnsfalse, where it used to try a table of 2^31 slots. - mysqlnd: when the server answers a prepared statement with its column
definitions and then an error, such as a lock wait timeout or a deadlock,
mysqli_stmt::store_result()returned true and the error was lost. It now returns false, with the server's error inerrnoanderror, and pdo_mysql reports the error too. - RHEL 10 and the Alpine images follow in a later release.
7.2.2 (NES) - October 27, 2026
Packages: https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.2/ (see Installation)
Container Images: registry.nes.herodevs.com/nes/php-nes:7.2.34-nes-7.2.2-<variant>-<base> (see Container Images)
Windows: https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.2/php-v7.2.34-nes-7.2.2.windows.x64.ts.zip (Windows Server 2022, x64; see Windows)
Based on PHP 7.2.34.
This release patches the following CVEs:
- CVE-2021-21706
ZipArchive::extractTo()could extract an entry outside of the destination directory on Windows:php_zip_make_relative_path()kept a drive letter or UNC prefix in an entry name such asC:/evilinstead of stripping it (bug 81420). - (Medium) - CVE-2024-4577 Argument injection: with Apache and php-cgi on Windows with code page 932, 936 or 950, the "best fit" conversion turned some bytes of a query string into
-, so options such as-d allow_url_include=1reached php-cgi and ran arbitrary code. - (Critical) - CVE-2024-8926 Bypass of the CVE-2024-4577 fix with some non-default Windows code page configurations. - (High)
- CVE-2026-17545 On Windows, a path component such as
CON,NUL,AUX,COM1orLPT1opens that device instead of a file, so an attacker-chosen file name could make PHP block on or write to a device (denial of service). - (Medium)
Upgrade notes
- Amazon Linux 2: this release adds PHP 7.2 packages for Amazon Linux 2
(x86_64 and aarch64). They replace the packages of the
php7.2amazon-linux-extras topic under the same names, andyum updatemoves a host to them (see the Amazon Linux 2 page for the commands). NES for PHP fixes PHP and the libraries it carries its own copy of, not Amazon Linux 2's own packages. - Windows: this release adds a zip of PHP for Windows, the thread-safe x64
build (see the Windows line above for the file and the supported Windows
version). It runs PHP from the command line, from IIS through FastCGI and
from Apache (
php7apache2_4.dll); extensions built for PHP 7.2 (API20170718,TS,VC15) keep loading. It needs Microsoft's Visual C++ Redistributable for Visual Studio 2015-2026 (x64), which the zip does not include.SHASUMS256.txt, signed with the release key, lists the zip; the programs are not Authenticode-signed. The Windows page has the download, verification and installation steps. - Windows: the zip carries the fixes for the Windows-only vulnerabilities CVE-2024-4577 and CVE-2024-8926 (php-cgi argument injection), CVE-2026-17545 (device names in paths) and CVE-2021-21706 (ZipArchive path traversal on Windows). Every release's zip is tested against CVE-2024-4577 and CVE-2024-8926 before it ships, with the default code page and with the Japanese code page 932 that CVE-2024-4577 needs.
- Windows: the zip bundles OpenSSL 3.5.9 (the legacy provider is in
extras\ssl), where other PHP 7.2 zips have OpenSSL 1.1.1. The enchant extension is not in the zip, because PHP 7.2'senchantneeds libenchant 1.x. The zip has a CycloneDX SBOM atextras\sbom.cdx.json. - Containers: this release adds UBI 8 and UBI 9 images (cli, fpm and apache;
amd64 and arm64), built from the release's signed RHEL 8 and RHEL 9 packages,
next to the Debian 12 ones. Their tags end in
-ubi8and-ubi9. - Debian 13, Ubuntu 26.04, RHEL 10, Amazon Linux 2023 and the Alpine images follow in a later release.
7.2.1 (NES) - October 27, 2026
Packages: https://registry.nes.herodevs.com/bin/nes/php/v7.2.34-nes-7.2.1/ (see Installation)
Container Images: registry.nes.herodevs.com/nes/php-nes:7.2.34-nes-7.2.1-<variant>-<base> (see Container Images)
Based on PHP 7.2.34.
This release patches the following CVEs:
- CVE-2026-109618 An out-of-memory error (
memory_limit), or an allocation or string size overflow, jumped ("bailed out") out of code that could have left request memory half-initialised, and the request shutdown then worked on that memory: heap corruption, rated as remote code execution. - (Critical) - CVE-2026-109619 Global state that points into request memory (error and exception handlers and their stacks, request variables, SAPI request information) was not always reset at the end of a request, so a later request in the same process could read or act on freed memory. - (Critical)
- CVE-2020-7071
FILTER_VALIDATE_URLaccepted URLs whose userinfo contains characters RFC 3986 forbids, so a URL that passed validation could be resolved byparse_url()or a client to a different host than the application checked (bug 77423). - (Medium) - CVE-2021-21702 SoapClient dereferenced NULL when a WSDL's XML schema had an attribute or element without the namespace or name it expected, so a hostile or spoofed WSDL crashed the process (bug 80672). - (Medium)
- CVE-2021-21705
FILTER_VALIDATE_URLaccepted URLs whose password contained characters such as a backslash or a second@(https://example.com:\@test.com/), which clients then sent to a different host than the application checked: server-side request forgery (bug 81122). - (Medium) - CVE-2021-21704 pdo_firebird trusted lengths and strings in a Firebird server's replies: a stack buffer overflow in
firebird_info_cb()(bug 76448) and out-of-bounds reads infirebird_handle_doer(),firebird_stmt_execute()andfirebird_fetch_blob()(bugs 76449, 76450 and 76452), so a hostile server, or one an attacker can impersonate, could crash the client or worse. - (Medium) - CVE-2021-21703 php-fpm's root master process trusted indexes and pointers kept in the shared-memory scoreboard, which every worker can write, so a worker running attacker code could make the master read and write out of bounds and escalate to root (bug 81026). - (High)
- CVE-2021-21707 The XML functions passed a file path containing an escaped NUL byte (
%00) to libxml2, which unescaped it and used the part before it (DOMDocument::load(),simplexml_load_file(),XMLReader::open()and others), so a path validated as a whole loaded another file (bug 79971). - (Medium) - CVE-2022-31625 When a parameter of
pg_query_params()orpg_send_execute()could not be converted to a string, the function freed an array of parameter strings it had not fully initialised: freeing uninitialised pointers, rated as remote code execution where an attacker controls the parameters (bug 81720). - (High) - CVE-2022-31626 mysqlnd sized the buffer for its change-authentication packet by the authentication data alone, without the packet header, so a long password overflowed the heap; an attacker who can make a script connect with a password they choose (database administration tools) can trigger it (bug 81719). - (High)
- CVE-2022-31629 Request variable names that PHP's name mangling turned into
__Host-or__Secure-(for example..Host-) reached$_COOKIEunder the prefixed name, so a sibling subdomain or plain HTTP could set a cookie the application trusts as secure (bug 81727). - (Medium) - CVE-2022-31628 The phar stream wrapper decompressed a gzip phar again for as long as the result was compressed, so a gzip "quine" made it loop forever: denial of service (bug 81726). - (Low)
- CVE-2022-37454 The XKCP SHA-3 code (Keccak sponge) that ext/hash bundles could overflow a buffer for inputs near 4 GiB, as
partialBlock + byteIOIndexwraps (hash('sha3-*'),hash_update()). - (Critical) - CVE-2022-31631
PDO::quote()on an SQLite connection passed2 * length + 3tosqlite3_snprintf(), whose size is anint; for a string of 2 GiB or more the size wrapped and the result could be unquoted or truncated, which can lead to SQL injection (bug 81740). - (Critical) - CVE-2023-0567
crypt()andpassword_verify()accepted a bcrypt hash whose salt is cut short by$, so any password could validate against such a hash, and a two-byte$2hash madecrypt()read past it. - (High) - CVE-2023-0568 Resolving a path of
MAXPATHLEN - 1bytes and appending a slash wrote one byte past the buffer (open_basedir checks,DOMDocument::loadXML()andXMLReader::XML()with a resolved path or working directory), which can crash PHP. - (High) - CVE-2023-0662 An unauthenticated attacker could send a multipart form body with a very large number of parts to consume CPU and flood the logs with a warning per extra file. - (High)
- CVE-2023-3247 The client nonce of SOAP HTTP Digest authentication was 31 random bits, and a failure of the random source was not checked, so uninitialised stack memory could be sent to the server; the small nonce also made it easier for a malicious server to precompute responses. - (Low)
- CVE-2023-3824 Reading a directory of a phar archive copied an entry name into the
MAXPATHLENdirent buffer and wrote its terminator past it: a name ofMAXPATHLEN - 1bytes or more caused a stack buffer overflow, andreaddir()could return a name without its terminator. - (Critical) - CVE-2023-3823 The XML parsers inherited libxml2's process-wide parser defaults, so if another library in the process had enabled external entity loading, PHP loaded external entities and could disclose local files. - (High)
- CVE-2024-2756 Incomplete CVE-2022-31629 fix: cookie names with an unmatched
[, such as.[Host-testor_[Secure-test, were mangled into__Host-test/__Secure-testafter the check that rejects them, so a network or same-site attacker could set an ordinary cookie that the application takes for a__Host-or__Secure-cookie. - (Medium) - CVE-2024-3096 A bcrypt password starting with a NUL byte was hashed as the empty string, so
password_verify()accepted an empty password for that hash (the fix commit names the draft id GHSA-q6x7-frmf-grcw). - (Medium) - CVE-2024-5458
FILTER_VALIDATE_URLreturned success as soon as the host was a bracketed IPv6 address and skipped the userinfo check, so URLs with invalid userinfo were accepted and could be parsed differently later. - (Medium) - CVE-2024-8925 A multipart boundary longer than the read buffer was not recognised when it was split across reads, so part of a body could be merged into another field or dropped, letting an attacker who controls part of the data hide other fields. - (Low)
- CVE-2024-8927
cgi.force_redirectacceptedHTTP_REDIRECT_STATUS, which a client sets with aRedirect-Status:request header, so a request straight to php-cgi passed the check; in some configurations this allows arbitrary file inclusion. - (High) - CVE-2024-11236 On 32-bit systems the quoted length of a very long string overflowed in the dblib and Firebird quoters, so
PDO::quote()wrote past its buffer. - (Critical) - CVE-2024-11234 With an HTTP proxy in the stream context and
request_fulluri, a request URI containing CR/LF from user input could add headers or whole requests sent through the proxy (request smuggling, requests to resources the proxy can reach). - (Medium) - CVE-2024-8932 On 32-bit systems the length of the escaped string could overflow for an input of about 1.4 GB, so
ldap_escape()wrote past its buffer. - (Critical) - CVE-2024-11233 A chunk ending in
=\rmade theconvert.quoted-printable-decodefilter read one byte past its input buffer, which can crash or disclose a byte of memory. - (Medium) - GHSA-4w77-75f9-2c8w Heap use-after-free: in the CLI built-in web server, a request without
Content-Typekept the previous request's content type pointer, freed with that request, andsapi_read_post_data()read it. - (Low) - CVE-2025-14178
array_merge()summed the sizes of its arguments in 32 bits and sized the result array from the sum, so a very large merge overflowed the allocation and wrote past the end of the heap block. - (Medium) - CVE-2026-6722 The SOAP
apache:Mapdecoder stored values in its reference map (SOAP_GLOBAL(ref_map)) without holding a reference to them, so a later lookup in the same message used a value freed in between (use-after-free). - (Critical) - CVE-2026-7261
SoapServer::handle()freed the session-persisted server object when a SOAP header raised a fault or an exception withSOAP_PERSISTENCE_SESSIONon, while the session still held it, and a later request used the freed object (use-after-free). - (Medium) - CVE-2026-7262 The SOAP
apache:Mapdecoder checked the wrong node for NULL, so a map item with a missing<value>element dereferenced a NULL pointer and crashed the process. - (Low) - CVE-2026-7568
metaphone()indexed its input with a signedintoffset while the string length is asize_t, so a very long string overflowed the signed integer and read out of bounds. - (Medium) - CVE-2026-6735 The PHP-FPM status page printed request URIs and script names without escaping in its HTML and XML output, so a crafted request gave cross-site scripting against whoever opens the status page. - (High)
- CVE-2026-14355
openssl_encrypt()sized its output buffer for a block cipher, too small for the AES key wrap with padding modes (AES-*-WRAP-PAD), so a call wrote past the end of the heap block. - (Medium) - CVE-2026-9672 The GIF LZW decoder of the bundled libgd (
LWZReadByte_(),ReadImage()) read uninitialised stack memory and went out of bounds on a crafted GIF with a repeated clear code. - CVE-2026-17543
pg_convert()quoted escaped strings so that a backslash broke out of anE'...'literal, giving SQL injection through values a script believes are escaped. - (High) - CVE-2026-7260
phar_get_link_source()followed the symbolic links of a tar archive recursively without a bound, so a phar with circular symlinks overflowed the stack and crashed the process. - (Medium) - CVE-2026-91765 The SOAP XML parsing and decoding code (
cleanup_xml_node(),master_to_zval_int()) recursed with the nesting depth of the document, or of itshrefreferences, so a deeply nested message overflowed the stack and crashed the process. - (High) - CVE-2025-1217 The HTTP stream wrapper (
fopen(),file_get_contents()onhttp://) mis-parsed a response header folded onto a continuation line, so a malicious server could make the client take part of a header as another. - (Medium) - CVE-2025-1734 The HTTP stream wrapper accepted response header lines without a colon (and lines with other malformed shapes) as headers, so a malicious server could smuggle a header past the wrapper's checks. - (Medium)
- CVE-2025-1736 The check of user-supplied request headers (the
headerstream context option) let a header whose name was followed by CR LF inside the value start a new header, so a script that passed untrusted input as a header value could inject request headers. - (Medium) - CVE-2025-1861 The HTTP stream wrapper kept a redirect's
Locationheader in a buffer of 1024 bytes and truncated a longer one, so a malicious server could make the client follow a different URL than the one it sent. - (Medium) - CVE-2026-93682 The HTTP stream wrapper read before the start of a redirect's
Locationheader value when that value was empty, an over-read of the response buffer. - (Medium) - CVE-2026-91766 The HTTP stream wrapper kept the
Authorizationheader (and credentials in the URL, a cookie) when it followed a redirect to another origin, handing them to a server the script never meant to trust. - (Medium) - CVE-2025-1220
fsockopen(),stream_socket_client()and the stream transports took the part of a host name before a NUL byte as the host and the rest as ignored, so a name such aslocalhost\0.example.comconnected to localhost after a check against the longer name. - (Low) - GHSA-www2-q4fc-65wf
gethostbyname(),gethostbynamel(),gethostbyaddr(),dns_get_record(),checkdnsrr(),getmxrr(),getservbyname(),getprotobyname(),inet_pton()andip2long()took the part of their argument before a NUL byte, so a name with a NUL byte resolved as a shorter one. - CVE-2025-6491 SOAP gave libxml2 an over-long XML name for a
SoapVarorSoapParamnode (a very large namespace prefix or element name); libxml2 then did not set the node's name andserialize_response_call2()compared a NULL name, a NULL pointer dereference. - (Medium) - CVE-2025-14181
get_http_body()ofSoapClientkept the body size of a chunked HTTP response in anintand checked the sum of two chunk sizes for overflow with signed arithmetic, which the compiler may remove: a malicious SOAP server could make the client reallocate a buffer too small for the data it then read into it (heap buffer overflow). - (Medium) - GHSA-wg4p-4hqh-c3g9 With
XML_OPTION_SKIP_TAGSTARTset,xml_parse_into_struct()passedtag_name + skipto the info table before checking that the tag name was longer than the skip, an out-of-bounds read of the tag name. - CVE-2024-8929 mysqlnd trusted lengths in packets from the MySQL server: a malicious server could make the client read past a packet (the OK packet, the result set header, field metadata, LOCAL INFILE and authentication plugin messages, binary and text rows) and return the heap bytes it read to the script. - (Medium)
- CVE-2025-1218 More packet over-reads in the mysqlnd wire protocol, in the fields read from the greeting, OK, EOF, authentication switch, change-user, result set header and prepared statement packets. - (Low)
- CVE-2025-1735
pg_escape_string(),pg_insert(),pg_update(),pg_convert()and the PDO_PgSQL quoter ignored the error PQescapeStringConn reports (for example for bytes invalid in the connection's encoding) and used the half-escaped string in a query, which can leave a value or name improperly escaped. - (Medium) - CVE-2017-9120
mysqli_real_escape_string()allocated2 * lengthbytes without checking the multiplication, which wraps for a string of more than 2 GiB on a 32-bit build and then wrote past the allocation. - CVE-2026-6103
phar_parse_tarfile()read a tar entry's octal size into 32 bits without checking it, and skipped the data blocks of regular files only, so an oversized size or the data of another entry type was then parsed as further tar headers: a crafted archive could make PHP see entries that other tools do not (archive entry injection, e.g. past a scanner). - (Medium) - CVE-2026-91767
php_openssl_matches_wildcard_name()checked only the suffix's length, so a certificate wildcard name whose literal parts together were longer than the peer name made the length passed tomemchr()wrap and read far past the name (heap out-of-bounds read). - (Medium) - CVE-2026-91769 Peer verification fell back to the certificate's Common Name whenever no subjectAltName matched, so a certificate whose SAN names another host but whose CN holds the expected name was accepted (RFC 6125 forbids the fallback once a DNS, SRV or URI identity is present). - (Medium)
- CVE-2026-91768 The FastCGI client check compared IPv6 addresses on 12 of 16 bytes, so an allowed address matched a whole /96 prefix and other hosts in it could talk FastCGI to the pool (run scripts with arbitrary parameters). - (Medium)
- GHSA-ch8v-r6jh-4vvr
php_filter_encode_url()initialised 255 of the 256 entries of its "must encode" table, so whether byte 0xFF was percent-encoded byFILTER_SANITIZE_ENCODEDdepended on stack contents. - (Low) - CVE-2026-92842 The
convert.base64-encodeandconvert.quoted-printable-*filters copied aline-break-charsoption withpestrdup(), which stops at a NUL, but kept its full length, so the filter read past its copy and put heap bytes into its output (information disclosure). - (Medium) - CVE-2026-7258 Many functions (
urldecode()among them) passed a signedcharto the ctype.h functions; for bytes >= 0x80 the argument was negative, and C libraries whose tables do not cover negative values read out of bounds. - (Medium) - CVE-2017-9118
preg_replace()andpreg_replace_callback()grew their result with an overflow-checked size to whichzend_string_alloc()then added the string header, so a result length just under SIZE_MAX wrapped and the copy that followed wrote past the buffer. - CVE-2017-11164 The bundled PCRE 8.41 was missing the fixes of 8.43 (CVE-2019-20838, a subject over-read in the JIT when UTF is off and
\Xor\Rhas more than one fixed quantifier) and 8.44 (CVE-2020-14155, an integer overflow of the callout number in a pattern); upgraded to 8.45, the last PCRE1 release. - CVE-2019-16163 The bundled Oniguruma 6.3.0 misses the 6.9.2-6.9.4 fixes for five advisories.
- CVE-2019-16168 The bundled SQLite 3.28.0 (April 2019) misses the fixes of every release since, among them the 42 advisories listed for this entry (memory corruption and denial of service in the parser, the query planner, window functions, FTS3 and FTS5, virtual tables and the CLI shell); upgraded to the 3.54.1 amalgamation. - (Medium)
- GHSA-m3wq-j48p-jxwh The bundled libzip indexes entry names with a fixed hash, so an archive can put every entry name into one bucket and make each lookup walk the whole chain (hash flooding, GHSA-m3wq-j48p-jxwh, fixed in libzip 1.12).
- CVE-2021-40812 The bundled libgd's BMP and WebP writers ignored the result of
gdPutBuf(), so a short write was not reported, and the BMP writer's error path freed the caller's context instead of its own temporary one. - (Medium) - CVE-2024-2408 The Marvin attack: RSA decryption with PKCS#1 v1.5 padding (
OPENSSL_PKCS1_PADDING, the default) leaks through timing whether the padding was valid, so an attacker who can submit many ciphertexts and time the answers can decrypt a ciphertext or forge a signature. - (Medium)