{"id":"CVE-2026-128016","kind":"vulnerability","aliases":["CVE-2026-128016"],"related":[],"title":"FrankenPHP: worker mode use-after-free leaks memory or crashes the process","description":"FrankenPHP before 1.13.4 contains a use-after-free vulnerability in worker mode that frees internal streams of SplTempFileObject or SplFileObject on php://temp instances surviving across requests. Remote clients can send requests reaching code that uses such persisted objects, causing reads of freed memory that leak garbage data or crash the process.","summary":"FrankenPHP before 1.13.4 frees internal streams of SplTempFileObject or SplFileObject on php://temp objects that survive across requests in worker mode. Remote requests that reach code using those persisted objects read freed memory, leaking garbage data or crashing the process.","severity":"high","cvss":8.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["frankenphp","php","runtime","self-hosted","worker-mode"],"not_affected_if":["non-frankenphp-php","worker-mode-disabled"],"how_to_check":"- Check the installed FrankenPHP version and confirm it is below `1.13.4`\n- Look for worker mode enabled in your FrankenPHP or Caddy configuration\n- Search application code for persisted `SplFileObject` or `SplTempFileObject` instances using `php://temp`","fix":"- Upgrade FrankenPHP to `1.13.4` or later","status":"open","published_at":"2026-11-13T10:18:06+00:00","first_seen_at":"2026-11-13T10:47:30+00:00","triaged_at":"2026-11-13T10:51:04+00:00","updated_at":"2026-11-13T10:51:04+00:00","category":"runtime","confidence":0.7,"triage":{"at":"2026-11-13T10:51:04Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade FrankenPHP to `1.13.4` or later","reach":"internet","title":"FrankenPHP: worker mode use-after-free leaks memory or crashes the process","impact":"medium","summary":"FrankenPHP before 1.13.4 frees internal streams of SplTempFileObject or SplFileObject on php://temp objects that survive across requests in worker mode. Remote requests that reach code using those persisted objects read freed memory, leaking garbage data or crashing the process.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["frankenphp","php","worker-mode","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"no","worst_case":"remote requests leak memory contents or crash the process","analyst_note":"","how_to_check":"- Check the installed FrankenPHP version and confirm it is below `1.13.4`\n- Look for worker mode enabled in your FrankenPHP or Caddy configuration\n- Search application code for persisted `SplFileObject` or `SplTempFileObject` instances using `php://temp`","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["worker-mode-disabled","non-frankenphp-php"],"who_is_affected":"Only FrankenPHP deployments running in worker mode are exposed, where application objects persist across requests. Standard request-per-process setups are not described as affected. Teams not using worker mode can skip it.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000733,"input_tokens":4624,"output_tokens":541,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-128016':16A,19A '-2026':15A,18A '1.13.4':31B,70C 'across':44B,93C 'caus':107C 'client':96C 'code':53B,101C 'contain':71C 'crash':11A,65B,117C 'cve':14A,17A 'data':63B,115C 'frankenphp':1A,20B,29B,68C 'free':7A,32B,76C,82C 'freed':59B,110C 'garbag':62B,114C 'host':25B 'instanc':91C 'intern':33B,83C 'leak':8A,61B,113C 'memori':9A,60B,111C 'mode':3A,28B,48B,80C 'object':41B,57B,106C 'persist':56B,105C 'php':21B 'process':13A,67B,119C 'reach':52B,100C 'read':58B,108C 'remot':49B,95C 'request':45B,50B,94C,99C 'runtim':22B 'self':24B 'self-host':23B 'send':98C 'splfileobject':38B,88C 'spltempfileobject':36B,86C 'stream':34B,84C 'surviv':43B,92C 'temp':40B,90C 'use':5A,54B,74C,103C 'use-after-fre':4A,73C 'vulner':77C 'worker':2A,27B,47B,79C 'worker-mod':26B","nicknames":[],"mitigations":[],"who_affected":"Only FrankenPHP deployments running in worker mode are exposed, where application objects persist across requests. Standard request-per-process setups are not described as affected. Teams not using worker mode can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["frankenphp","high","php","runtime","selfhosted","workermode"],"campaign_type":null,"search_a":"'-128016':16A,19A '-2026':15A,18A 'crash':11A 'cve':14A,17A 'frankenphp':1A 'free':7A 'leak':8A 'memori':9A 'mode':3A 'process':13A 'use':5A 'use-after-fre':4A 'worker':2A","search_b":"'1.13.4':31B 'across':44B 'code':53B 'crash':65B 'data':63B 'frankenphp':20B,29B 'free':32B 'freed':59B 'garbag':62B 'host':25B 'intern':33B 'leak':61B 'memori':60B 'mode':28B,48B 'object':41B,57B 'persist':56B 'php':21B 'process':67B 'reach':52B 'read':58B 'remot':49B 'request':45B,50B 'runtim':22B 'self':24B 'self-host':23B 'splfileobject':38B 'spltempfileobject':36B 'stream':34B 'surviv':43B 'temp':40B 'use':54B 'worker':27B,47B 'worker-mod':26B","search_c":"'1.13.4':70C 'across':93C 'caus':107C 'client':96C 'code':101C 'contain':71C 'crash':117C 'data':115C 'frankenphp':68C 'free':76C,82C 'freed':110C 'garbag':114C 'instanc':91C 'intern':83C 'leak':113C 'memori':111C 'mode':80C 'object':106C 'persist':105C 'process':119C 'reach':100C 'read':108C 'remot':95C 'request':94C,99C 'send':98C 'splfileobject':88C 'spltempfileobject':86C 'stream':84C 'surviv':92C 'temp':90C 'use':74C,103C 'use-after-fre':73C 'vulner':77C 'worker':79C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-10-26T16:53:41+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-128016","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128016","severity":null,"published_at":"2026-11-13T10:18:06+00:00","modified_at":"2026-11-13T10:18:06+00:00","first_seen_at":"2026-11-13T10:47:30+00:00","fetched_at":"2026-11-13T10:47:30+00:00","note":null}],"documents":[{"id":145328,"url":"https://github.com/php/frankenphp/commit/837b76880b33a1a78ae4f27dea85bdcddb6cf70c","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":145329,"url":"https://github.com/php/frankenphp/security/advisories/GHSA-cm3q-jw2q-9rh5","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-10-26T16:53:41+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":145330,"url":"https://www.vulncheck.com/advisories/frankenphp-before-1.13.4-use-after-free-of-spltempfileobject-streams-in-worker-mode","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}