Nginx (Proxy Manager) CVE-2026-109618 and CVE-2026-109619
Hello everyone,
since the recent news about this new PHP vulnerabilities I would like to know whether this project is affected by it or not.
From cve.org:
PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).
1. Is Nginx Proxy Manager affected directly?
No. Nginx Proxy Manager is built on OpenResty / Nginx and Node.js; it contains zero PHP runtime code inside its container image. NPM itself cannot be exploited by CVE-2026-109618 or CVE-2026-109619.
2. How NPM can help protect your backend PHP applications (WordPress, Nextcloud, etc.)
While NPM is safe, it frequently proxies traffic to upstream PHP backends (PHP-FPM, Apache mod_php, Docker containers).
You can use NPM as an effective edge shield for those upstream PHP services while you patch them:
In the NPM Web UI -> Proxy Host -> Advanced Tab:
Add the following directives to restrict abuse of multipart headers and excessive payload sizes:
# Restrict client payload size to prevent OOM exhaustion on backend PHP workers
client_max_body_size 32m;
# Restrict request line and header buffer allocations
large_client_header_buffers 4 8k;
client_header_buffer_size 1k;
# Enable proxy buffering to prevent slow-header chunking attacks against PHP
proxy_buffering on;
proxy_buffers 8 16k;
proxy_buffer_size 16k;
If an upstream PHP service does NOT need file uploads at all:
You can reject multipart POSTs at the NPM edge before they ever touch PHP:
if ($http_content_type ~* "multipart/form-data") {
return 403;
}
(Note: Do not apply the multipart block to services that require file uploads like Nextcloud or WordPress media library).
3. Upstream PHP Remediation
Remember that the actual vulnerabilities live inside the upstream PHP engine. Make sure to:
- Update upstream PHP runtimes to 8.2.35, 8.3.36, 8.4.27, or 8.5.12.
- For legacy PHP backends (5.6, 7.x, 8.0, 8.1), apply
session.upload_progress.enabled = 0inphp.inior use backports: https://github.com/Anton-Barinov/php2shell-patches
Hi, NPM doesn't include PHP at all, so those vulnerabilities do not apply, please, close this issue in order to not confuse anyone.
Actual CVEs: #5963
Alright, in that case I ll close this as requested. Thank you for all of the fast and helpful replies.