Skip to content

Mat Caniglia

Issue 4

Check the PHP patch by package version and a worker restart

A fixed Ubuntu 24.04 PHP package still reports 8.3.6, so php -v cannot prove your PHP patch landed on the hosts serving traffic.

Why this week

PHP shipped fixes on October 21 for two critical flaws that can allow unauthenticated remote code execution. Amazon Threat Intelligence reports an exploitation attempt dating to October 17, four days before public disclosure, though Sansec now says the public exploits fail against a default PHP installation. Most of the work this week is proving which hosts are really patched.

Five stories

1. PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical remote code execution flaws

On October 21 PHP shipped fixes for CVE-2026-109618 and CVE-2026-109619, which can allow unauthenticated remote code execution on installations serving web requests, including PHP-FPM and mod_php. PHP rates the risk highest for mod_php and says its interim mitigations only reduce exposure on specific attack paths. PHP 8.1 and older get no regular updates, only minimal source backports for 7.4, 8.0 and 8.1, and some LTS vendors ship backported fixes.

What to do: Install your vendor's patched PHP package or update to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, and ask your LTS vendor about 8.1 or older.

Source: PHP, 2026-10-21. php.net

2. Distro PHP fixes can keep the old version string, so php -v cannot confirm the patch

Distro packages backport the fix, so the upstream version string can stay where it was. One r/PHP commenter showed that the fixed Ubuntu 24.04 package still reports 8.3.6, and Ubuntu's advisory confirms those version strings. The same commenter noted that FPM and Apache workers keep the old engine in memory until restarted, which is why I would restart them once the package lands.

What to do: Check each host's full PHP package version against your distro's security tracker, then restart its FPM or Apache workers.

Source: InfoQ, 2026-10-25. infoq.com

3. PingCAP confirms theft of source code and TiDB Cloud customer-related data

PingCAP confirmed unauthorized access to its internal systems and the theft of source code and customer-related data, including user names, email addresses and SQL editor text. The attacker, FulcrumSec, claims 10.6 TB of data and over 40K active console API keypairs, and those claims have not been independently verified. PingCAP says it found no evidence that data stored in TiDB was impacted.

What to do: Replace every active TiDB Cloud management API key and warn your team about targeted phishing.

Source: InfoQ, 2026-10-25. infoq.com

4. Codex 0.164.0 hardens sandbox checks for macOS metadata paths and executable symlinks

OpenAI released Codex 0.164.0 on October 23 with hardened sandbox checks for case-variant metadata paths on macOS and for replaceable symlinks used to locate executables. The release notes do not describe an exploit or assign a CVE, so I read this as hardening. A machine still on an older build keeps the older checks.

What to do: Check which Codex version your developer laptops and CI runners use, and move them to 0.164.0.

Source: GitHub, 2026-10-23. github.com

5. AI SDK 7.0.153 fixes Responses API structured output that failed on multiple JSON messages

Vercel's ai package 7.0.153, released October 24, fixes non-streaming Responses API structured output that failed when multiple assistant messages contained JSON. OpenAI and Azure Responses models can now select the last final_answer while keeping the rest of the generated content. If a service pins an older 7.0 release and parses structured output from those models, this release is the one to take.

What to do: Find services that parse non-streaming structured output from OpenAI or Azure Responses models and move them to ai 7.0.153.

Source: GitHub, 2026-10-24. github.com

This week's checklist

Mon: install patched PHP packages and restart every FPM or Apache worker, mod_php hosts first.

Tue: check each host's full PHP package version against the distro tracker.

Wed: rotate active TiDB Cloud management API keys and brief the team on phishing.

Thu: Codex 0.164.0 on laptops and CI runners.

Fri: ai 7.0.153 for services parsing non-streaming Responses structured output.

My take

8.2 is the PHP branch that reaches end of life on December 31, 2026. Past that date the project stops regular updates, and teams wait on vendor backports, as 8.1 users did this week. An upgrade plan parked in a ticket marked later gets its date set by the next advisory. I would pick the 8.2 upgrade date this week, while the list of hosts you just patched is still accurate.

One question

When your team closes a PHP patch ticket, does anyone check the package version on the host and restart the workers first?

Engineering Leadership, by Mat

Three engineering stories with my read on each, one leadership decision, one number with where it was measured and one question for you.

It goes out every week.