PHP 0day: CVE-2026–109618 / CVE-2026–109619 Mitigation
A heap use-after-free in PHP's session.upload_progress handler allows an unauthenticated attacker to achieve remote code execution via a single multipart POST request. The bug is reachable on default PHP configurations and leads to calling system() with an attacker-supplied command.
medium.com
Published on medium.com
PHP
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
This write-up covers a pre-patch heap use-after-free in PHP's session.upload_progress handler, tracked as CVE-2026-109618 and CVE-2026-109619. The affected component is ext/session/session.c, specifically the php_session_rfc1867_callback function. The feature it lives in is the upload progress mechanism: when session.upload_progress.enabled is on, PHP tracks the progress of a multipart upload inside the session so an application can poll it while the file is still arriving.
The important property of this bug is reachability. It is present on stock PHP configurations, with no special settings, no authentication and no unusual application code. Any endpoint that accepts multipart/form-data is a potential entry point, which means WordPress, Laravel, Drupal, custom applications and APIs are all in scope if they accept file uploads. The exploitation path leads from zend_call_function to system(), so the outcome is remote code execution.
Vendor severity is CVSS v4.0: 9.2 (Critical). The coordinated patch was scheduled for 2026-10-21 at 14:00 UTC (7:00 PM PKT).
Setup
The preconditions it states are configuration-level:
session.upload_progress.enabled = On, which is the default.- An endpoint that accepts
multipart/form-data. - No authentication required.
- A PHP 8.x deployment on default settings, until the patch is applied.
Finding it
The report frames the issue as a core bug rather than an application bug. Most PHP 0-days depend on application behaviour: a vulnerable framework, a misconfigured upload endpoint, a specific CMS plugin. This one does not. The vulnerable code sits in PHP core, so every PHP application inherits it.
The specific defect is in how php_session_rfc1867_callback caches pointers. It stores two raw zval * pointers into live HashTables:
zval *post_bytes_processed;zval *current_file_bytes_processed;
These point into the session's internal progress array. On the second update cycle, that array is freed and re-decoded, but the cached pointers are never refreshed. They now point into freed memory. When the request continues writing through them, the write lands in attacker-controllable heap memory. That is the use-after-free.
Exploitation
Step 1: Send a multipart POST
A single multipart POST is enough to trigger the bug. The report does not publish the request itself, only the fact that one multipart POST reaches the handler and starts the update cycles that free the progress array.
Step 2: Reclaim the freed chunk
The PoC reclaims the freed chunk with attacker-shaped data that looks like a zend_internal_function and a zend_fcall_info. Because the stale pointers still point at that memory, the subsequent write through them lands in data the attacker controls.
Step 3: Steer execution to system()
With the fake structures in place, execution is steered to zend_call_function, which then calls system() with an attacker-supplied command. The report describes this as the exploitation path from zend_call_function to system(), giving remote code execution.
Step 4: Observe the failure mode
A successful exploit requires the exact memory offsets for the target PHP build. A failed attempt crashes the PHP-FPM worker. That crash is the detection signal discussed below.
Root cause
The mistake is a caching lifetime error. php_session_rfc1867_callback keeps raw pointers into the session's progress array across update cycles. When the array is freed and re-decoded on the second cycle, the pointers are not refreshed, so they dangle. Writes through them then hit freed memory that an attacker can shape.
The report notes that the multipart parser runs before the session.upload_progress setting is even consulted. The report notes that the multipart parser runs before the session.upload_progress setting is even consulted, which is why blocking multipart requests at the proxy is a separate control from disabling the feature. Default configuration is part of the problem: session.upload_progress.enabled defaults to On for a feature most applications do not need.
Impact
An unauthenticated attacker can achieve remote code execution on a PHP 8.x deployment with default settings, provided it exposes an endpoint that accepts multipart/form-data. The report describes the impact as RCE via system(). Because the bug is in core, the affected surface is every PHP application on the host, not one framework or plugin.
Version exposure as stated in the report:
| Version | Patched | Notes |
|---|---|---|
| PHP 8.5.x | 8.5.11 | Current stable |
| PHP 8.4.x | 8.4.26 | Current stable |
| PHP 8.3.x | 8.3.35 | Current stable |
| PHP 8.2.x | 8.2.34 | Last patch for 8.2 (EOL branch) |
| PHP 8.0 / 8.1 | No fix | EOL, migrate or isolate |
| PHP 7.x | No fix | EOL, migrate or isolate |
| PHP 5.x | No fix | EOL, migrate or isolate |
PHP 5, 6 and 7 will not receive a patch. The only options for those branches are to migrate or to disable the vulnerable feature and isolate the host from the internet.
Fix
The report describes the patch as scheduled for 2026-10-21 at 14:00 UTC, with the mitigation steps below as the stopgap until it lands.
1. Disable session.upload_progress
In php.ini, .user.ini or the virtual host config:
session.upload_progress.enabled = Off
Reload PHP-FPM:
systemctl reload php8.2-fpmsystemctl reload php8.3-fpm
Verify:
php -i | grep "session.upload_progress.enabled"
The report calls this the single most effective stopgap, closing the documented path in under two minutes.
2. Block multipart POSTs to endpoints that do not need uploads
The multipart parser runs before the session.upload_progress setting is consulted, so a proxy or WAF rule adds a second layer. Nginx:
location ~* \.php$ { if ($http_content_type ~* "multipart/form-data") { return 403; }}
Apply this only where uploads are not legitimately expected. ModSecurity:
SecRule REQUEST_HEADERS:Content-Type "@contains multipart/form-data" \ "id:100001,phase:1,deny,status:403,msg:'Multipart blocked'"
3. Rate-limit multipart requests
Even on legitimate upload endpoints, throttle multipart POSTs per IP:
limit_req_zone $binary_remote_addr zone=upload:10m rate=5r/m;location /upload { limit_req zone=upload burst=3 nodelay;}
4. Harden PHP-FPM
Containment does not prevent exploitation, but it limits what an attacker can do afterwards:
; /etc/php/8.2/fpm/pool.d/www.confphp_admin_value[open_basedir] = /var/www/html:/tmpphp_admin_value[disable_functions] = exec,passthru,shell_exec,system,proc_open,popenphp_admin_value[allow_url_fopen] = Off
open_basedir is the highest-value containment control. disable_functions stops the trivial system() call but does not stop a full exploit, because the attacker can call other syscalls directly.
5. Upgrade when the patch drops
apt update && apt upgrade php8.2 php8.2-fpm php8.2-cli
# RHEL / AlmaLinuxdnf update php-fpm php-cli# LiteSpeed lsphp/usr/local/lsws/admin/misc/lsup.sh -f -v 8.2.34
Verify:
php -v
The report stresses not delaying: for a CVSS 9.2 RCE with a public PoC, the window between disclosure and mass exploitation is measured in hours, not days.
Detection
Log sources
| Source | What to look for |
|---|---|
| PHP-FPM error log | SIGSEGV, worker exited on signal 11 |
Kernel log (journalctl -k) |
php-fpm[PID]: segfault at ... in libc.so |
| Web access log | POST + multipart/form-data to .php endpoints not expected to receive uploads |
| WAF | 403s on the multipart block rule, indicating scanning or attack |
| AppArmor / SELinux | DENIED events where php-fpm attempts to read /etc/passwd or spawn a shell |
Failed attempts crash the worker
Because a successful exploit needs the exact memory offsets for the target build, a failed attempt crashes the PHP-FPM worker. Repeated segfaults from a single client IP are an exploitation attempt in progress:
journalctl -u php8.2-fpm -f | grep -i "segfault\|signal 11"
If this fires, block the source IP immediately and preserve logs.
Session file anomalies
The PoC creates session files keyed upload_progress_*. A sudden spike in these files, especially from a single IP, indicates probing:
ls -lt /var/lib/php/sessions/ | grep upload_progress | head
eBPF / Falco rule
Detect post-exploitation command execution from a PHP worker:
- rule: PHP-FPM spawning shell desc: Detects command execution from PHP-FPM worker condition: spawned_process and proc.pname = "php-fpm" and proc.name in ("sh", "bash", "dash") output: "PHP-FPM spawned shell (user=%user.name cmd=%proc.cmdline)" priority: CRITICAL
Variants to test
- Check the setting directly. Run
php -i | grep "session.upload_progress.enabled"on each host and each PHP version in the fleet. - Probe for multipart acceptance on non-upload endpoints. Send a
multipart/form-dataPOST to a.phpendpoint that has no legitimate upload function and watch the PHP-FPM error log. - Watch the session directory during probing. After sending multipart requests, list
/var/lib/php/sessions/forupload_progress_*files. - Test the proxy rule. Send a multipart POST to a
.phppath that should be blocked and confirm a 403 is returned and logged by the WAF rule. - Test containment. On a hardened pool, attempt command execution through a PHP worker and check AppArmor or SELinux logs for
DENIEDevents on reads of/etc/passwdor shell spawning. - Inventory EOL branches. Identify any host still running PHP 5, 6 or 7. These will never receive a fix, so the only valid outcomes are migration or isolation from the internet.
Summary
- Vulnerable: PHP 8.x on default
session.upload_progressconfig. - Impact: unauthenticated RCE.
- Stopgap:
session.upload_progress.enabled = Off. - Patch ETA: 2026-10-21, 14:00 UTC.
- Detection: PHP-FPM segfaults plus anomalous multipart traffic.
- EOL branches: no fix, migrate or isolate.
The mitigation takes minutes. The exploitation window is hours.
What happened, in plain words
A serious flaw has been found in PHP, the software that runs a very large share of the world's websites. The flaw lets an attacker who can reach a website send it a specially crafted request and end up running their own commands on the server. That is called remote code execution, or RCE: the attacker does not need a password, an account or any special access, just the ability to send a request over the internet.
The flaw is tracked under two identifiers, CVE-2026-109618 and CVE-2026-109619. A CVE is a public catalogue number for a known security bug, so people can talk about the same issue unambiguously. The coordinated patch was scheduled for 2026-10-21 at 14:00 UTC (7:00 PM PKT).
The vendor rates it CVSS v4.0: 9.2 (Critical). CVSS is a scoring system for how bad a vulnerability is; 9.2 out of 10 is near the top of the scale.
This article explains what the bug is, who is exposed, what to do right now, and how to notice someone trying to use it. It is written for someone who can use a browser and a computer but has never done security work.
Some background before we start
A few ideas come up again and again below, so here they are from zero.
What PHP is. PHP is a programming language used mostly to build websites. When you open a page, the web server hands the request to PHP, PHP builds the page, and the result is sent back to your browser. WordPress, Laravel and Drupal, three very popular tools for building sites, are all written in PHP. So is a huge amount of custom code.
What a web server and PHP-FPM are. The web server (for example Nginx) is the program that listens for requests from browsers. PHP-FPM is the part that actually runs PHP code. It keeps a pool of worker processes ready; each request is handled by one worker. If a worker crashes, the site may briefly fail for that request, and the crash is written into a log file.
What a request is. Your browser sends a request to a server: a small text message with a method (GET to fetch a page, POST to send data), a path (which page), headers (extra information such as the type of data being sent) and sometimes a body (the data itself).
What multipart/form-data is. When you upload a file through a web form, the browser has to send both ordinary text fields and the file's bytes in one request. The format used for that is called multipart/form-data: the body is split into parts, each with its own little header, separated by a boundary string. Any endpoint (a URL that accepts requests) that accepts file uploads accepts this format.
What a session is. A website needs to remember who you are between requests, because HTTP itself is forgetful. It does this with a session: the server keeps a small store of data on its side, and gives your browser a session identifier (usually in a cookie) so it can find that store again on your next request. Cookies are small pieces of text a site asks your browser to keep and send back.
What session.upload_progress is. PHP has a built-in feature that tracks how far a file upload has got, so a page can show a progress bar while the file is still arriving. When it is switched on, PHP writes the progress of each upload into the user's session, and the page can ask for that progress in a separate request. The setting that controls it is session.upload_progress.enabled, and it is On by default.
What a heap, a pointer and a use-after-free are. A running program keeps its working data in an area of memory called the heap. A pointer is a note of a memory address: "the data you want is over there". When the program no longer needs a piece of data, it frees that memory so it can be reused. A use-after-free happens when the program keeps using a pointer to memory it has already freed. The memory may now hold something else, possibly something an attacker arranged, and the program will happily read or write it as if it were the old data. It is like keeping a key to a hotel room after checkout: the room may now belong to someone else, and the key still opens the door.
What a zval, a HashTable and zend_call_function are. Inside PHP, every value (a number, a string, an array) is stored in a small structure called a zval. A HashTable is PHP's internal key-value store, similar to a dictionary. zend_call_function is an internal PHP routine that calls a function by name. system() is a function that runs an operating system command, for example ls to list files. If an attacker can make PHP call system() with a command of their choosing, they have code execution.
What a WAF is. A web application firewall sits in front of a site and inspects requests, blocking ones that match rules you write. Nginx and ModSecurity are two common places to put such rules.
What EOL means. End of life: the maker of a piece of software has stopped supporting it and will not release security fixes for it any more.
The situation
The bug is a heap use-after-free in PHP's session.upload_progress handler. It is publicly disclosed and the coordinated patch was scheduled for 2026-10-21 at 14:00 UTC.
The crucial point is how easy it is to reach. It works on stock PHP configurations: no special settings, no authentication, no unusual application code. A single multipart POST can trigger it, and the exploitation path leads to zend_call_function → system(), which means remote code execution.
Until the patch lands, every PHP 8.x deployment on default settings is potentially exposed.
What makes this different
Most PHP 0-days need something specific in the application: a vulnerable framework, a misconfigured upload endpoint, a particular CMS plugin. This one does not. The report lists the properties plainly:
- Affected component:
ext/session/session.c, thephp_session_rfc1867_callbackfunction. This is a file inside PHP itself, not in any website's code. - Reachable by: any endpoint that accepts
multipart/form-data. - Required config:
session.upload_progress.enabled = On, which is the default. - Authentication: none.
- Impact: RCE via
system().
The bug lives in PHP core, not in userland (the code people write on top of PHP). That means every PHP application, whether WordPress, Laravel, Drupal, a custom app or an API, is a potential vector if it accepts file uploads. An API is simply a way for one program to talk to another over the web, using the same kind of requests a browser makes.
The vulnerable code
php_session_rfc1867_callback caches two raw zval * pointers into live HashTables:
zval *post_bytes_processed;zval *current_file_bytes_processed;
Line by line, in plain words:
zval *post_bytes_processed;declares a variable that holds the address of azval, the internal structure PHP uses for a value. The name suggests it is meant to point at the count of bytes processed so far in the POST body.zval *current_file_bytes_processed;does the same for the count of bytes processed in the current file.
Both are written on one line here because that is how they appear in the report. The important word is "raw": these are direct memory addresses, not safe references that PHP would update automatically.
These pointers point into the session's internal progress array. On the second update cycle, the array is freed and re-decoded, but the cached pointers are never refreshed. They now point into freed memory. When the request continues writing through them, the write lands in attacker-controllable heap memory.
The proof of concept (PoC, a demonstration program that proves a bug is real) reclaims the freed chunk with attacker-shaped data that looks like a zend_internal_function and a zend_fcall_info. Those are internal PHP structures describing a function and a function call. It then steers execution to zend_call_function, and calls system() with an attacker-supplied command.
Who is affected
| Version | Patched | Notes |
|---|---|---|
| PHP 8.5.x | 8.5.11 | Current stable |
| PHP 8.4.x | 8.4.26 | Current stable |
| PHP 8.3.x | 8.3.35 | Current stable |
| PHP 8.2.x | 8.2.34 | Last patch for 8.2 (EOL branch) |
| PHP 8.0 / 8.1 | No fix | EOL, migrate or isolate |
| PHP 7.x | No fix | EOL, migrate or isolate |
| PHP 5.x | No fix | EOL, migrate or isolate |
If you are running PHP 5, 6 or 7, you will not receive a patch. The only options are to migrate (move the site to a supported PHP version) or to disable the vulnerable feature and isolate the host from the internet.
Immediate mitigation (do this now)
1. Disable session.upload_progress
In php.ini, .user.ini or your virtual host config:
session.upload_progress.enabled = Off
This is a single setting. php.ini is PHP's main configuration file; .user.ini is a per-directory override; the virtual host config is the web server's per-site configuration. Putting this line in any of them switches the upload progress feature off, which removes the code path the bug lives in.
Reload PHP-FPM:
systemctl reload php8.2-fpmsystemctl reload php8.3-fpm
systemctl reloadasks the service manager (systemd) to make a running service re-read its configuration without stopping it.php8.2-fpmandphp8.3-fpmare the names of the PHP-FPM services for PHP 8.2 and 8.3. The two commands are written together on one line in the report; in practice you would run them one after the other, and only for the versions you actually have.
Verify:
php -i | grep "session.upload_progress.enabled"
php -iprints PHP's configuration information.|pipes that output into the next command.grep "session.upload_progress.enabled"keeps only the lines containing that text, so you can see the current value.
This is the single most effective stopgap. It closes the documented path in under two minutes.
2. Block multipart POSTs to endpoints that do not need uploads
The bug lives in the multipart parser, which runs before the session.upload_progress setting is even consulted. That is why a second layer at the proxy or WAF helps. Add a rule:
Nginx:
location ~* \.php$ { if ($http_content_type ~* "multipart/form-data") { return 403; }}
location ~* \.php$matches any URL path ending in.php, case-insensitively.if ($http_content_type ~* "multipart/form-data")checks whether the request's Content-Type header says it is a multipart form, again case-insensitively.return 403answers with HTTP status 403, which means "forbidden", and the request never reaches PHP.
Apply this only where uploads are not legitimately expected, otherwise you break real file uploads.
ModSecurity:
SecRule REQUEST_HEADERS:Content-Type "@contains multipart/form-data" \ "id:100001,phase:1,deny,status:403,msg:'Multipart blocked'"
SecRulestarts a ModSecurity rule.REQUEST_HEADERS:Content-Typeis the part of the request being inspected: the Content-Type header."@contains multipart/form-data"matches if that header contains the textmultipart/form-data.id:100001is a unique number for the rule, so you can find it in logs.phase:1means check it early, when request headers arrive.deny,status:403blocks the request with status 403.msg:'Multipart blocked'is the message written to the log when the rule fires.
3. Rate-limit multipart requests
Even on legitimate upload endpoints, throttle multipart POSTs per IP address:
limit_req_zone $binary_remote_addr zone=upload:10m rate=5r/m;location /upload { limit_req zone=upload burst=3 nodelay;}
limit_req_zonedefines a shared memory zone for rate limiting.$binary_remote_addris the client's IP address in compact form, so each IP is counted separately.zone=upload:10mnames the zoneuploadand gives it 10 megabytes of memory.rate=5r/mallows five requests per minute per IP.location /uploadapplies the limit to the/uploadpath.limit_req zone=uploaduses the zone defined above.burst=3allows a short burst of three extra requests before rejecting.nodelaymeans those burst requests are served immediately rather than queued.
4. Harden PHP-FPM
Even if an attacker achieves RCE, keep the blast radius small:
; /etc/php/8.2/fpm/pool.d/www.confphp_admin_value[open_basedir] = /var/www/html:/tmpphp_admin_value[disable_functions] = exec,passthru,shell_exec,system,proc_open,popenphp_admin_value[allow_url_fopen] = Off
- The first line is a comment naming the file: the pool configuration for PHP 8.2's FPM, which controls one group of worker processes.
php_admin_value[open_basedir] = /var/www/html:/tmprestricts which directories PHP is allowed to touch. Here it may only use/var/www/htmland/tmp. Anything else, such as/etc/passwd(the file listing user accounts on Linux), is off limits.php_admin_value[disable_functions] = exec,passthru,shell_exec,system,proc_open,popenswitches off a list of PHP functions that run operating system commands.systemis the one the exploit uses.php_admin_value[allow_url_fopen] = Offstops PHP from opening files directly from URLs, which removes another way to pull in remote content.
open_basedir is the highest-value containment control. disable_functions stops the trivial system() call but does not stop a full exploit, because the attacker can call other system calls directly.
5. Upgrade when the patch drops
apt update && apt upgrade php8.2 php8.2-fpm php8.2-cli
apt updaterefreshes the list of available packages on Debian and Ubuntu systems.&&means run the next command only if this one succeeded.apt upgrade php8.2 php8.2-fpm php8.2-cliinstalls the newest available versions of the PHP runtime, the FPM service and the command-line tool.
# RHEL / AlmaLinuxdnf update php-fpm php-cli# LiteSpeed lsphp/usr/local/lsws/admin/misc/lsup.sh -f -v 8.2.34
# RHEL / AlmaLinuxis a comment marking the next command for Red Hat-style systems.dnf update php-fpm php-cliupdates the FPM service and command-line tool on those systems.# LiteSpeed lsphpis a comment marking the command for LiteSpeed's PHP build./usr/local/lsws/admin/misc/lsup.sh -f -v 8.2.34runs LiteSpeed's update script, forcing (-f) version8.2.34.
Verify:
php -v
php -v prints the PHP version, so you can confirm the upgrade took effect.
Do not delay. The window between public disclosure and mass exploitation is shrinking. For a CVSS 9.2 RCE with a public PoC, that window is measured in hours, not days.
Detection
Log sources
| Source | What to look for |
|---|---|
| PHP-FPM error log | SIGSEGV, worker exited on signal 11 |
Kernel log (journalctl -k) |
php-fpm[PID]: segfault at ... in libc.so |
| Web access log | POST + multipart/form-data to .php endpoints not expected to receive uploads |
| WAF | 403s on the multipart block rule, indicating scanning or attack |
| AppArmor / SELinux | DENIED events where php-fpm attempts to read /etc/passwd or spawn a shell |
A few words on that table. SIGSEGV and "signal 11" are the operating system's way of saying a program tried to touch memory it should not have, and the program was killed. A segfault is the same thing. The kernel log is the operating system's own log; journalctl -k reads it. AppArmor and SELinux are Linux security modules that can restrict what a program is allowed to do, and they log DENIED when they stop something.
Failed attempts crash the worker
A successful exploit requires the exact memory offsets for the target PHP build. A failed attempt crashes the PHP-FPM worker. That is valuable: repeated segfaults from a single client IP mean an exploitation attempt is in progress.
journalctl -u php8.2-fpm -f | grep -i "segfault\|signal 11"
journalctl -u php8.2-fpmshows the log of the PHP 8.2 FPM service.-ffollows the log, printing new lines as they appear.| grep -i "segfault\|signal 11"keeps only lines containingsegfaultorsignal 11, ignoring case (-i). The\|means "or" in this pattern.
If you see it, block the source IP immediately and preserve the logs.
Session file anomalies
The PoC creates session files keyed upload_progress_*. A sudden spike in these files, especially from a single IP, indicates probing:
ls -lt /var/lib/php/sessions/ | grep upload_progress | head
ls -lt /var/lib/php/sessions/lists the session directory, newest first (-t) with details (-l).| grep upload_progresskeeps only files whose names containupload_progress.| headshows just the first few lines.
eBPF / Falco rule
Detect post-exploitation command execution from a PHP worker:
- rule: PHP-FPM spawning shell desc: Detects command execution from PHP-FPM worker condition: spawned_process and proc.pname = "php-fpm" and proc.name in ("sh", "bash", "dash") output: "PHP-FPM spawned shell (user=%user.name cmd=%proc.cmdline)" priority: CRITICAL
rule: PHP-FPM spawning shellnames the rule.desc:is a human-readable description.condition:is the logic.spawned_processmeans a new process started;proc.pname = "php-fpm"means its parent is PHP-FPM;proc.name in ("sh", "bash", "dash")means the new process is one of the common Linux shells. In other words: PHP-FPM started a shell, which it should never do.output:is the alert text, including the user name and the command line.priority: CRITICALmarks it as urgent.
Falco is a tool that watches what programs do on a Linux host and raises alerts when they match rules like this one. eBPF is the kernel technology it uses to observe those events.
The patch
When the patch drops at 14:00 UTC, upgrade immediately. The commands are the ones in step 5 above. Verify with php -v.
What this means beyond today
The report draws five lessons:
- PHP core bugs reach every PHP application. Unlike framework or CMS vulnerabilities, they cannot be fixed at the application layer.
- Default configurations are not safe configurations.
session.upload_progress.enableddefaults toOnfor a feature most applications do not need. Disabling unused features is a baseline hardening step, not a nice-to-have. - EOL branches are permanent exposure. PHP 5, 6 and 7 will not receive a fix. Organisations still on these branches are exposed indefinitely, and this 0-day will not be the last.
- Containment buys time.
open_basedir,disable_functions, AppArmor profiles and read-only filesystems do not prevent exploitation, but they limit what an attacker can do afterwards. - Detection matters as much as prevention. A crashed worker from a failed exploit attempt is the earliest signal you will get. Monitor for it.
Summary
- Vulnerable: PHP 8.x on default
session.upload_progressconfig. - Impact: unauthenticated RCE.
- Stopgap:
session.upload_progress.enabled = Off. - Patch ETA: 2026-10-21, 14:00 UTC.
- Detection: PHP-FPM segfaults plus anomalous multipart traffic.
- EOL branches: no fix, migrate or isolate.
The mitigation takes minutes. The exploitation window is hours.
Glossary
- 0day (zero-day): a vulnerability that is publicly known before a fix exists.
- 403: an HTTP status code meaning "forbidden"; the server refuses the request.
- API: a way for one program to talk to another over the web, using the same kind of requests a browser makes.
- AppArmor / SELinux: Linux security modules that restrict what programs are allowed to do and log denials.
- Authentication: proving who you are, usually with a username and password.
- Blast radius: how much damage an attacker can do once they get in.
- Cookie: a small piece of text a website asks your browser to keep and send back on later requests.
- CVE: a public catalogue number for a known security vulnerability.
- CVSS: a scoring system for how severe a vulnerability is, from 0 to 10.
- eBPF: a Linux kernel technology for observing what programs do.
- EOL (end of life): a product the maker no longer supports and will not patch.
- Falco: a tool that watches program activity on Linux and raises alerts based on rules.
- HashTable: PHP's internal key-value store, like a dictionary.
- Heap: the area of memory a running program uses for its working data.
- Kernel log: the operating system's own log of low-level events.
- ModSecurity: a web application firewall module that inspects requests against rules.
- multipart/form-data: the format a browser uses to send a form that includes a file upload.
- Nginx: a popular web server and reverse proxy.
- open_basedir: a PHP setting that limits which directories PHP may access.
- PHP: a programming language used to build most of the web.
- PHP-FPM: the service that runs PHP code for a web server, using a pool of worker processes.
- php.ini / .user.ini: PHP's main configuration file and a per-directory override file.
- Pointer: a note of a memory address, telling a program where its data is.
- PoC (proof of concept): a demonstration program that proves a vulnerability is real.
- Rate limiting: restricting how many requests a client may make in a period of time.
- RCE (remote code execution): running your own commands on someone else's server over the network.
- Segfault / SIGSEGV / signal 11: the operating system killing a program because it touched memory it should not have.
- Session: a small store of data the server keeps about you between requests, found via an identifier in your cookie.
- session.upload_progress: a PHP feature that tracks upload progress inside the session; on by default.
- system(): a function that runs an operating system command.
- Use-after-free: using memory after it has been freed, so the program reads or writes whatever now lives there.
- Userland: the code people write on top of a language, as opposed to the language's own core.
- WAF (web application firewall): software in front of a site that blocks requests matching rules.
- Worker: one process in PHP-FPM that handles a request.
- zval: PHP's internal structure for holding a value.
- zend_call_function: an internal PHP routine that calls a function by name.