A use-after-free vulnerability in PHP's timezone cache can lead to remote code execution in non-thread-safe builds. This occurs when diagnostics during module startup cause the timezone cache to be freed while still referenced, allowing an unauthenticated attacker to crash PHP workers or potentially execute arbitrary code. The issue affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13.
A use-after-free vulnerability in the PostgreSQL plperl procedural language allows an attacker with object creation privileges to execute arbitrary code with the database server's operating system user privileges. This occurs via reentrant calls to the return_next() function. Versions prior to PostgreSQL 14.25, 15.20, 16.16, 17.12, and 18.7 are affected.
A use-after-free vulnerability exists in PHP session handling during interrupted session shutdowns. This flaw occurs when a fatal error in an application callback during session variable destruction causes a stale pointer to remain after request memory is freed. An attacker able to trigger this condition may cause worker crashes or memory corruption. No code execution has been demonstrated. The issue affects PHP versions 8.3.0 up to but not including 8.3.37, 8.4.0 up to but not including 8.4.28, and 8.5.0 up to but not including 8.5.13.
A SQL injection vulnerability exists in PostgreSQL's pg_dump utility in versions 18.0.0 up to but not including 18.7.0. The flaw allows an object creator to execute arbitrary SQL commands as the user restoring the dump by exploiting a child-local not-null constraint name that requires quoting on an inherited column. Versions prior to 18.0.0 are not affected. The issue is fixed in PostgreSQL 18.7.0.
A use-after-free vulnerability in PHP's handling of magic method backtraces can lead to remote code execution or denial of service. This occurs when PHP collects arguments for __call() or __callStatic() methods during a backtrace and reads stale memory references if a fatal error happens simultaneously. The issue affects PHP versions 8.5.0 through 8.5.12 and is fixed in 8.5.13. The vulnerability requires specific PHP configuration settings and attacker control over request data to exploit.
A heap-based buffer overflow vulnerability exists in PostgreSQL's ts_rank_cd() function. This flaw may allow a database user to execute arbitrary code with the privileges of the operating system user running the database. The issue is triggered by an invalid tsvector containing duplicate positions. Versions prior to PostgreSQL 14.25, 15.20, 16.16, 17.12, and 18.7 are affected. A patch is available in these fixed versions.
A vulnerability in PHP 8.5 versions before 8.5.13 causes incorrect URI serialization for oversized input. The Uri\Rfc3986\Uri class mishandles the output-size limit when converting a URI to a string, potentially returning truncated or invalid strings instead of errors for URIs around 2 GiB in size. This can lead to incorrect validation or routing decisions and memory exhaustion if attacker-controlled large URIs are processed.
A vulnerability in PostgreSQL allows security-restricted operations to create types in the temporary schema (pg_temp) that can later be used by the session to execute arbitrary SQL as the operation's caller. This issue affects versions prior to 14.25, 15.20, 16.16, 17.12, and 18.7. The vulnerability requires that the victim session runs a query with an unqualified type name, which is not common in autovacuum or similar operations.
A cross-site scripting (XSS) vulnerability exists in the PHP-FPM status endpoint due to unescaped user and script fields in the full status output. This allows an unauthenticated remote attacker to inject markup via the HTTP Basic authentication username or script filename, which is then reflected in the HTML status page and executed in the user's browser. The vulnerability affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13. Malformed XML or JSON output can also disrupt monitoring tools.
A heap-based buffer overflow vulnerability exists in the PostgreSQL tsvector_delete() function. This flaw allows a database user to execute arbitrary code with the privileges of the operating system user running the database. The issue arises when processing a tsvector whose lexeme data uses a nonstandard but valid ordering that requires additional alignment padding. Versions prior to PostgreSQL 14.25, 15.20, 16.16, 17.12, and 18.7 are affected. A patch is available in these fixed versions.
A use-after-free vulnerability in PHP-FPM's epoll event backend can lead to local privilege escalation. This occurs when catch_workers_output is enabled, causing the PHP-FPM master process to use freed memory after closing a worker's output pipe. An attacker with the ability to execute PHP code in an FPM worker could crash the master or execute code with its privileges, often root. The vulnerability affects multiple PHP versions and has been fixed in recent releases.
A vulnerability in PostgreSQL's pg_restore utility allows arbitrary code execution due to improper input validation of non-plain archive formats. This flaw enables an attacker to execute code as the operating system user running pg_restore by supplying a crafted archive. The issue affects multiple PostgreSQL versions prior to their respective fixed releases.
A vulnerability in PHP-FPM allows an unauthenticated remote attacker to perform HTTP request smuggling by exploiting unread HTTP request bodies. This occurs when PHP-FPM does not discard leftover request data if the application opens php://input but does not read it fully. Under certain backend connection reuse configurations, this can lead to attacker-controlled PHP code execution. The issue affects multiple PHP versions prior to 8.2.36, 8.3.37, 8.4.28, and 8.5.13 and has been fixed in these versions.
A vulnerability in PostgreSQL versions 18.0.0 through 18.6.x allows a database owner to execute arbitrary SQL code as the vacuumdb user via the vacuumdb --missing-stats-only command. This occurs due to an untrusted search path that enables shadowing of operators used in the catalog query. The issue is fixed in PostgreSQL 18.7.0.
A use-after-free vulnerability exists in PHP versions 8.5.0 through 8.5.12 due to repopulation of the last_fatal_error_backtrace global after request shutdown. This occurs when a fatal error is raised during restoration of modified INI settings, causing memory corruption and potential worker crashes. The flaw may allow remote code execution under certain configuration conditions. The issue is fixed in PHP 8.5.13.
A vulnerability in PostgreSQL's MERGE command can cause an AFTER trigger to process the wrong new row when using partitioned table MERGE operations that perform an INSERT before an UPDATE. This affects major versions 15 through 18, specifically minor versions before 15.20, 16.16, 17.12, and 18.7. Versions prior to 15 are not affected.
A vulnerability in PHP's Phar extension allows an attacker to bypass OpenSSL signature verification by downgrading the signature algorithm. This enables modified Phar archives to pass verification and potentially execute attacker-controlled PHP code. The issue affects multiple PHP versions prior to their respective fixed releases.
A missing authorization vulnerability in PostgreSQL's DROP OWNED command allows a role to remove itself from restrictive row-level security policies on tables it does not own. This enables the role to read or modify rows that the policies were intended to restrict. The issue affects PostgreSQL versions prior to 14.25, 15.20, 16.16, 17.12, and 18.7.
A vulnerability in PHP affects how HTTPS and FTPS URLs with mixed-case schemes are handled. The HTTP and FTP stream wrappers in PHP recognize URL schemes case-insensitively but only enable TLS if the scheme contains a lowercase 's' at a fixed position. URLs like HTTPS:// or FTPS:// are treated as unencrypted HTTP or FTP, exposing data in plaintext. This can lead to exposure of sensitive data such as credentials, request bodies, and transferred files. The issue affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13.
A use-after-free vulnerability in PostgreSQL's COPY FROM error reporting can allow a database user to disclose portions of server memory. This occurs when a longer input row follows an ignored or nullified conversion error. The issue affects PostgreSQL major versions 17 and 18, specifically versions before 17.12.0 and 18.7.0. The file_fdw extension also reaches the same vulnerable code path. Versions prior to 17.0.0 are not affected. A fix is available in PostgreSQL 17.12.0 and 18.7.0.