Skip to content
NewA calmer, faster ZeroHour

PHP 8.6 tightens session defaults and patches seven critical RCE flaws

Original title: PHP 8.6: Things are gonna get a lot more strict around here

The Register · Securityby Joab Jackson ()4 min read
Part of a story covered by 8 sourcesPHP ships November fixes for session-upload RCEMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Builds 8.5.13, 8.4.28, 8.3.37 and 8.2.36 were released with 8.6 to close those remote code execution bugs.

PHP 8.6, released Thursday, changes session defaults so Strict Mode, HttpOnly and SameSite start in more secure settings. The same coordinated release patched 8.5.13, 8.4.28, 8.3.37, 8.2.36 and 8.6, closing seven critical remote code execution flaws that could crash PHP workers or run code. Copied php.ini files can override the new defaults. Null-byte strings now raise errors instead of being ignored.

Unconfirmed: The article does not name the seven CVEs or say whether attackers exploited them.

Key facts
  • Strict Mode rejects session IDs that PHP itself did not create.
  • Session cookies default to HttpOnly and are withheld on cross-site POST requests.
  • An explicit session.use_strict_mode = 0 line overrides the new default.
  • WordPress, Laravel and Symfony users had to update their PHP instances.
  • Null bytes in strings now throw errors rather than passing silently.
Security assessment · AI, from the article

Impact: Unauthenticated crash of PHP workers or remote code execution

ProductAffectedFixed in
PHP—8.5.13, 8.4.28, 8.3.37, 8.2.36, 8.6
What to do
  1. 1.Install PHP 8.5.13, 8.4.28, 8.3.37, 8.2.36, or 8.6.
  2. 2.Remove overriding session.use_strict_mode = 0 lines in reused php.ini files.
  3. 3.Confirm applications do not disable the new HttpOnly and SameSite session defaults.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

4 min read at theregister.com

Like a parent disciplining a misbehaving child, PHP’s annual update clamps down on loose default behaviors to curb malicious hacker horseplay.

The Register · Security

By Joab Jackson · theregister.com

Read the full article at The Register · Security

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.