Visit NES for PHP Home Page
NES for PHP 7 Release Notes: PHP 7.3
Comprehensive release notes and changelog for NES for PHP 7 Release Notes: PHP 7.3, including security patches, bug fixes, and feature updates across all supported versions.
71 Patched Vulnerabilities
VEX Statements
PHP 7.3
7.3.2 (NES) - November 11, 2026
Packages: https://registry.nes.herodevs.com/bin/nes/php/v7.3.33-nes-7.3.2/ (see Installation)
Based on PHP 7.3.33.
This release fixes no new CVE; it includes every security patch from earlier releases.
Upgrade notes
- RHEL 8: this release adds PHP 7.3 packages for RHEL 8 (x86_64 and
aarch64; they serve AlmaLinux 8 and Rocky Linux 8 as well, which the
install tests cover), in the archives
php-v7.3.33-nes-7.3.2.el8.x86_64.repo.tar.xzandphp-v7.3.33-nes-7.3.2.el8.aarch64.repo.tar.xz. The packages have Red Hat's names (php,php-cli,php-fpmand the rest) in thephp:nes-7.3module stream, which replaces Red Hat'sphp:7.3. Extract the archive for your architecture into/opt/nes-php(sudo tar -xJf <archive> -C /opt/nes-php --strip-components=1; its repository file names that directory), copy/opt/nes-php/nes-php.repoto/etc/yum.repos.d/, then rundnf module switch-to php:nes-7.3, which moves a host from Red Hat'sphp:7.3(or another php stream) to these packages; on a host without PHP,dnf module enable php:nes-7.3and install the packages you need. The RPMs' Release is2.nes73.el8(<N>.nes73.el8, unique to the PHP 7.3 line, so it never matches the PHP 7.2 or 7.4 lines' RHEL 8 packages). - RHEL 8: Red Hat's
apcu-panel,php-recode,php-pecl-xdebugandphp-pecl-rrdhave no NES counterpart: remove them before the switch (sudo dnf remove apcu-panel php-recode php-pecl-xdebug php-pecl-rrd). Once the stream is enabled, dnf no longer offers Red Hat's builds of them.php-sodiumneeds EPEL 8'slibsodium: enable EPEL 8 before you install it. No other package needs EPEL. - RHEL 8: as Red Hat's
php:7.3, the stream builds nophp-imap,php-interbase,php-pdo-dblib,php-tidyorphp-pspell, and NES builds nophp-recodeeither.password_hash()has no Argon2 (PASSWORD_ARGON2IandPASSWORD_ARGON2IDare not defined), because RHEL 8 has nolibargon2. The stream carries its ownlibzip1.6.1 (libzip,libzip-devel,libzip-tools, with the fix for GHSA-m3wq-j48p-jxwh), whichphp-pecl-ziplinks.php-pecl-apcuis APCu 5.1.28 andphp-pearis PEAR 1.10.18. - RHEL 8: NES for PHP fixes PHP, its bundled PCRE2, Oniguruma and libgd, and the stream's libzip. PHP uses RHEL 8's OpenSSL (1.1.1), ICU, libxml2, SQLite, curl and the other system libraries, and their fixes come with RHEL 8's own updates.
- mysqlnd (mysqli and PDO MySQL) no longer sends a password in clear text
with the
mysql_clear_passwordauthentication plugin over a connection that is neither TLS nor a Unix socket: a server, or anyone between PHP and the server, could ask for that plugin and read the password. Such a connection now fails with error 2059 ("Authentication plugin 'mysql_clear_password' cannot be loaded"). Connect accounts that use the plugin (PAM or LDAP authentication) over TLS or a Unix socket; any TLS connection is accepted, so verify the server's certificate to keep the password from a man in the middle. To allow the plugin over plain TCP as before, set the environment variableLIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1for the PHP process, the switch libmysqlclient uses: under PHP-FPM,env[LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN] = 1in the pool configuration; for Apache's PHP module, the web server's own environment (SetEnvdoes not reach it). - mysqlnd (mysqli and PDO MySQL) now supports
caching_sha2_password, MySQL 8.0's default authentication plugin and the only modern one on MySQL 8.4 and 9.x. Accounts that use it no longer fail with error 2054 ("The server requested authentication method unknown to the client"). Use TLS for such logins 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, which a man in the middle can replace. Binary mysqlnd plugins (extensions built against mysqlnd's headers) must be rebuilt for this release, because mysqlnd's authentication plugin structure changed; extensions that use mysqli or PDO MySQL from PHP code are not affected. - mysqlnd: the character set name
utf8mb3, which MySQL 8.0.28 and later use for their 3-byteutf8, is now known, somysqli::set_charset('utf8mb3'),MYSQLI_SET_CHARSET_NAMEand PDO MySQL'scharset=utf8mb3no longer fail with error 2019. - mysqlnd:
sha256_passwordandcaching_sha2_passwordlogins that encrypt the password with the server's RSA public key now fail ("could not encrypt the password with the server's public key") when the key is too small for the password or the encryption fails. Before, the client could send the server uninitialised memory in place of the encrypted password. An authentication switch tosha256_passwordwhose scramble is missing or shorter than 20 bytes now fails with error 2027 ("The server sent wrong length for scramble"); before, a malicious server could crash the client. A connection that reconnected without TLS is no longer taken for a TLS connection, so these plugins andmysql_clear_passworddo not send the password in clear text over it. - PHP-FPM: output after
fastcgi_finish_request()is dropped, and the script keeps running, as before. Large or flushed output could reach the web server after the end of the request; now none does. - Apache's PHP module: when a request runs out of
memory_limit, the fatal error is now written to the virtual host'sErrorLog(a file, or a pipe) when PHP'serror_logis not set. Before, it was not logged. This and the next item follow up the mitigation of CVE-2026-109618. - Out of memory: a process that runs out of
memory_limitwhile its stderr is a full pipe nobody reads now exits after logging the error, and the message on stderr may be dropped. Before, the process could hang. An out-of-memory error while a file is compiled (include,eval()) names that file and line. Amemory_limitraised by a script no longer stays raised for the next request in the same process. FILTER_VALIDATE_URLaccepts percent-encoded user information whose first hex digit is a letter (%C3%A9); it rejected it since the fix for CVE-2024-5458.- Request variables: a nested key such as
a[__Host-b]in a cookie, query or form is kept. Only a top-level name that would become a__Host-or__Secure-cookie is dropped, as the fix for CVE-2024-2756 intends. - HTTP stream wrapper: when a 301, 302 or 303 redirect has turned a POST into a GET, a later 307 redirect in the same chain keeps the GET. Before, it sent the POST and its body again.
open_basedir: a value set at run time (ini_set()) that contains a..path component is refused, so a script cannot widenopen_basedir.- SOAP: HTTP Digest authentication now sends the whole 32-character client nonce, completing the fix for CVE-2023-3247; before, only its first 8 characters were sent. A nested call during decoding no longer makes later decoding fail with "Nesting level too deep" (a follow-up to the fix for CVE-2026-91765).
- PHP-FPM's full status page (
?full&html,?full&xml) now also escapes each worker's user and script name, and a field with an invalid UTF-8 byte is shown with a replacement character instead of empty, completing the fix for CVE-2026-6735. A worker that is still starting is listed with the request stage "Creating". pfsockopen(): a host name with a NUL byte no longer reuses the persistent connection to the name before the NUL, completing the fix for CVE-2025-1220.- Functions that pass a byte to the C library's character class functions
(
stripos()andstrripos(),str_ireplace(),lcfirst(),strip_tags(), PDO'sPDO::CASE_LOWERand others) now pass bytes of 0x80 and above as unsigned, completing the fix for CVE-2026-7258. - XSLTProcessor:
importStylesheet(), and a second transformation on the same processor, called during a transformation (from aphp:function()callback, a user stream wrapper or an argument's__toString(), for example) throw anError. ThedoXIncludeandcloneDocumentproperties are no longer converted to int in place: a value keeps its type. - Phar:
rename()onto an existing entry now overwrites it, ascopy()does; before, it crashed. mb_detect_encoding()andmb_detect_order()no longer convert the elements of an encoding array passed to them to strings in place.- The source tarball's built-in time zone database is 2026.6 (IANA tzdata 2026f), up from 2026.5, which gave Cuba the wrong UTC offset from 2026-11-01. The RPMs read the system's time zone data instead: on Amazon Linux 2023 as before, and on RHEL 8 too.
- This release also fixes these flaws, which have no CVE ids:
- Streams: a heap buffer overflow while reading from a stream (found by NES).
- Engine: use-after-frees when an assignment read its result from a
container that the old value's destructor or the garbage collector had
freed; a crash when
yield fromlinks to a delegate that threw; a use-after-free in the garbage collector while a generator with a pendingfinallyis destroyed (GH-24989). The memory manager also checks a large block's page count before it frees or shrinks the block. - opcache: two optimizer errors that left a temporary freed without being written, which could crash (GH-11245, OSS-Fuzz 60735).
unserialize():SplFixedArray::__wakeup(), called from nestedSerializablecode, could make a back-reference resolve to the wrong value or to freed memory.- mysqlnd: the authentication fixes above.
- ODBC and PDO ODBC: a negative "unknown length" from the driver used as a
string length; an over-read of a truncated column value (GH-22667), a
heap overflow on an input/output parameter longer than its declared
length (GH-22666), stale parameter buffers read after they were freed
(GH-22735), request memory freed as persistent with a persistent
connection (bug 80909), a leaked statement when a driver refuses a
scrollable cursor, and a leaked statement when
odbc_prepare()cannot describe a parameter. - XSL: use-after-frees when a
php:function()callback, an argument's__toString(), a user stream wrapper or an error handler reaches back into the processor running a transformation (GH-23730). - Phar: a NULL dereference in
rename()onto an existing entry (GH-13836); use-after-frees inrename()of an entry onto itself (GH-25091) or of an entry with metadata (GH-25090), a double free inPhar::copy()of link and mounted entries (GH-25092) and an over-read on a crafted alias size in a zip-based phar (GH-25089). - JSON: an integer overflow in the scanner's string length.
- FTP: out-of-bounds reads of
ftp://server replies, and a terminator written past the reply line in theftp_*()functions. - libxml: a use-after-free when the external entity loader is replaced while it runs.
- PHP-FPM: an over-read of stack memory into the worker output prefix
with a long pool name (GH-24541), and three crashes in
fpm_get_status(): when another process holds the scoreboard (GH-12705), when a worker's entry is busy, and for a worker that is still starting (GH-18595). - fileinfo: a wrong MIME type and an over-read on a crafted CDF (Office) file's wide strings.
- GD:
imageaffine()left the image's clip rectangle changed when the matrix cannot be inverted. XMLWriter: the destructor of a subclass could use a freed writer. Memory leaks iniptcembed(), the HTTP stream wrapper, the dechunk filter,Locale::filterMatches()and pgsql are fixed. - Source builds only (the RPMs build neither the thread-safe SAPI nor
these extensions): with ZTS, a signal during shutdown no longer writes
into freed memory; pdo_firebird no longer reads past its buffer on a
malformed server answer;
imap_mail_compose()no longer leaks its custom headers; and the bundled libzip (a build without--with-libzip) refuses to index an archive's names when no random hash key is available, instead of using a predictable one.
7.3.1 (NES) - October 28, 2026
Packages: https://registry.nes.herodevs.com/bin/nes/php/v7.3.33-nes-7.3.1/ (see Installation)
Based on PHP 7.3.33.
This release patches the following CVEs:
- 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-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-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-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-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 full PHP-FPM status page (
?full&html,?full&xml) printed each worker's request URI unescaped in its HTML and XML output, and escaped the query string without quote flags, 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(), and through itpg_insert(),pg_update(),pg_select()andpg_delete(), quoted escaped strings asE'...'; withstandard_conforming_stringson (PostgreSQL's default)PQescapeStringConn()leaves backslashes alone, so a value such asx\' OR 1=1 --closed the literal (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-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) - 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
check_has_header()decided whether theheaderstream context option already holds a standard header (Authorization,Host,User-Agent...) and accepted a match that followed a bare LF, although requests separate headers with CRLF. - (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 and the encoder compared a NULL name withstrcmp()inserialize_zval()(a SoapClient serialising theSoapVar), a NULL pointer dereference; the server-sideserialize_response_call2()has the same comparison. - (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-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. - 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). - (Low)
- 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-2019-20454 The bundled PCRE2 10.32 misses fixes of later releases: CVE-2019-20454 (out-of-bounds read when the JIT matches
\X, fixed in 10.34), CVE-2022-1586 and CVE-2022-1587 (JIT out-of-bounds reads in the matching of Unicode property classes and in recursion, fixed in 10.40) and CVE-2026-89156 (the JIT-to-interpreter fallback runs on a subject whose UTF validity was not checked). - (Medium) - CVE-2026-103111 A PCRE2 JIT stack allocation larger than the growth step wrote below the stack (CVE-2026-103111, advisory GHSA-r9hj-j2rw-4q3m, fixed in 10.49). ext/pcre creates a growable JIT stack, so the code is reachable. - (High)
- GHSA-43gg-c3xx-7w7g The AArch64 NEON scanning of JIT-compiled matching read 16 bytes past the end of the subject (out-of-bounds read, denial of service; a standalone PCRE2 advisory with no CVE, fixed in 10.47). - (Low)
- 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)
- 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)
Upgrade notes
- This is the first release of NES for PHP 7.3, for Amazon Linux 2023 (x86_64 and aarch64). There are no container images and no Windows zip for PHP 7.3.
php -vandPHP_VERSIONreport7.3.33-nes, soversion_compare(PHP_VERSION, '7.3.33', '>=')is false.PHP_VERSION_IDstays 70333, and extensions built for PHP 7.3 load as before.- The packages carry Amazon Linux 2023's own naming for a PHP version:
php7.3,php7.3-cli,php7.3-fpm,php7.3-mysqlndand the rest. Each one also provides the plainphp-*name, so packages that requirephp-cliorphp-mysqlndare satisfied. Only one PHP version can be installed at a time: to move a host from Amazon Linux 2023'sphp8.xpackages, install thephp7.3-*packages with--allowerasing(see Installation), which replaces PHP 8. - The packages build the extensions that Amazon Linux 2023's own PHP packages
build.
imap,interbase/pdo_firebird,pdo_dblibandrecodeare not built, because Amazon Linux 2023 does not ship the libraries they need. Argon2 password hashing (PASSWORD_ARGON2I,PASSWORD_ARGON2ID) is available. php7.3-pecl-zipis PHP'szipextension linked against Amazon Linux 2023's libzip.php7.3-pecl-apcuis APCu 5.1.28.php7.3-pearis PEAR 1.10.18; withphp7.3-devel(and a compiler),pecl installworks.- PHP's bundled PCRE2, Oniguruma (mbstring) and libgd are part of the packages, so fixes to them come with NES for PHP releases. SQLite, libzip, libxml2, OpenSSL and the other system libraries are Amazon Linux 2023's, and their fixes come with the operating system's updates.
- A script that runs out of
memory_limitnow ends its process: the fatal error goes to stderr (and toerror_logwhenlog_errorsis on; with php-fpm, to the pool's error log), and no shutdown function runs. php-fpm starts a new worker in its place. Raisememory_limitwhere a script needs more. This is the mitigation of CVE-2026-109618 and CVE-2026-109619. - Session upload progress is off: the shipped php.ini sets
session.upload_progress.enabled = Off, its compiled default isOff, and setting it toOnhas no effect. This mitigates CVE-2026-115560, which needs session upload progress and has no upstream fix yet; the fix will follow in a later release. - Multipart form uploads are limited to
max_multipart_body_partsparts (the fix for CVE-2023-0662). Its default,-1, meansmax_input_varsplusmax_file_uploads; the parts after the limit are not processed, and a warning is logged. Setmax_multipart_body_partsin php.ini if your forms need more. - On 64-bit builds an array cannot have 2^30 (1,073,741,824) or more slots; asking for one is a fatal error.
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
php7.3-devel: built against other PHP 7.3 headers, they can return the wrong generator or crash. The extensions in these packages, APCu included, are already built against it. - TLS peer verification no longer falls back to the certificate's Common Name when the certificate has a DNS, URI or SRV subjectAltName that does not match the peer name (the fix for CVE-2026-91769). The warning then reads "Peer certificate subjectAltName did not match expected name".
- After a redirect to another origin, the HTTP stream wrapper no longer sends
the
AuthorizationandCookieheaders of a stream context'sheaderoption, nor itsProxy-Authorizationheader when no proxy is used (the fix for CVE-2026-91766).