AI, Development & Tech News

PHP fixes up to 17 security vulnerabilities in versions 8.2 through 8.5

261120 php 8 5 13 security vulnerabilities closed title image
Skip to table of contents
Contents 4 sections
  1. Which bugs do the updates fix?
  2. Until when does your PHP version receive updates?
  3. What this means for you
  4. Sources

The PHP project released the announced security updates on November 19, 2026: PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13. Depending on the version, they fix between 12 and 17 security vulnerabilities; PHP 8.5.13 fixes 17.

The announcement of November 18 still left version numbers and bugs open, as the TutKit report on it describes. According to the project, the critical bugs require a non-standard configuration or an unusual setup, so they do not affect every server. The project nevertheless urgently advises installing the updates quickly.

Which bugs do the updates fix?

In PHP 8.5.13, four entries in the changelog mention remote code execution: an access to already freed memory in the backtraces of magic methods, another one in the time zone cache, and two bugs in session handling. PHP 8.2.36, 8.3.37 and 8.4.28 contain three of these four fixes. The bug in the backtraces affects only PHP 8.5.

Further fixes concern PHP-FPM, Phar, SOAP and the handling of addresses, as the changelog of PHP 8.5.13 shows:

  • PHP-FPM: smuggled HTTP requests, local privilege escalation and cross-site scripting on the status page, in all four versions
  • Phar: The signature check can be bypassed with a weaker algorithm
  • SOAP: an information leak and an access to freed memory
  • HTTPS and FTPS addresses in mixed case can expose data in plain text

Until when does your PHP version receive updates?

For PHP 8.2, security updates end on December 31, 2026, as the page of supported versions shows. On WordPress sites, the versions are distributed as follows according to the PHP statistics of WordPress.org:

PHP versionUpdate since November 19Security updates untilShare of sites
8.28.2.36December 31, 202622.3%
8.38.3.37December 31, 202728.2%
8.48.4.28December 31, 202811.1%
8.58.5.13December 31, 20296.8%
8.1 or oldernoneended31.6%

Thus only 68.4 percent of the recorded sites run on a version for which there is now an update. The remaining 31.6 percent use PHP 8.1 or older. According to its requirements, WordPress itself recommends PHP 8.3 or newer.

What this means for you

First check which PHP version your WordPress site uses: Under "Tools" › "Site Health", the "Info" tab in the "Server" section shows the version number. If it is lower than the number of your version in the table, ask your host whether and when they will install the update.

PHP updates on schedule
From the announcement to the end of security updates for PHP 8.2
  1. November 18, 2026The PHP project announces the security updates
  2. November 19, 2026PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 are released
  3. About four weeks laternext scheduled security update, date open
  4. December 31, 2026Security updates for PHP 8.2 end
The next date follows the project's four-week rhythm; it has not yet named a date
Sources: PHP project

Create a backup before any change. How to do that with WordPress is shown in the lesson Security and Backups in the WordPress course. If you run your own server, install your distribution's new PHP packages as soon as they are available, and restart PHP-FPM or Apache afterwards.

If a site runs on PHP 8.1 or older, the update won't help you. Plan the switch to 8.3 or 8.4 there and test your theme and plugins beforehand on a copy of the site. If your plan doesn't allow this, the comparison of shared hosting, cloud and VPS helps you look for a new provider. With PHP 8.2 you have until the end of December; after that, there will be no more security updates there either.

According to its own statement, the project publishes security updates every four weeks; a fixed calendar entry reminds you to check. For the security vulnerability CVE-2026-115560 in sessions, for which the project recommended an interim solution on October 23, the fix is now available with the updates. If you applied the setting back then, keep it until the server has the update.

The PHP project released the updates on November 19, 2026.

Sources

Comments

Register and comment.

Continue reading

You might also like

View all articles →