# PHP vulnerability

**URL:** <https://forum.hestiacp.com/t/php-vulnerability/22325>\
**Category:** Community Support\
**Created:** [October 21, 2026, 4:37pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325 "2026-10-21T16:37:03Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [October 22, 2026, 6:22pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/83 "2026-10-22T18:22:51Z")

</div>

Also 20.04 focal has been released

---

<div class="post-metadata">

**Author:** ![kangarie](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/kangarie/32/2617_2.png) [@kangarie](https://forum.hestiacp.com/u/kangarie)\
**Post date:** [October 22, 2026, 9:39pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/84 "2026-10-22T21:39:10Z")

</div>

ref: [USN-8936-1: PHP vulnerabilities | Ubuntu security notices | Ubuntu](https://ubuntu.com/security/notices/USN-8936-1)

for ubuntu 20.04, register for ubuntu pro, it’s free for 5 servers

`nano /etc/apt/preferences.d/phpesm`

`Package: php7.4*`  
`Pin: release o=UbuntuESM`  
`Pin-Priority: 1001`

then `apt update apt upgrade`

finnaly make sure with phpinfo is using `PHP Version 7.4.3-4ubuntu2.29+esm5`

---

<div class="post-metadata">

**Author:** ![greythorn](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/g/ee59a6/32.png) [@greythorn](https://forum.hestiacp.com/u/greythorn)\
**Post date:** [October 23, 2026, 7:18am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/85 "2026-10-23T07:18:29Z")

</div>

For everyone still waiting for arm packages, here is temporary workaround from Ondrej:

Try adding `deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/freexian/ <dist> main` as a temporary measure.

This will be decommissioned once all the arm\* packages have been built.

And for dog sake don’t contact Freexian, these folks are already overwhelmed because of this.

---

<div class="post-metadata">

**Author:** ![LULLABY](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/l/74df32/32.png) [@LULLABY](https://forum.hestiacp.com/u/LULLABY)\
**Post date:** [October 23, 2026, 10:09am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/86 "2026-10-23T10:09:48Z")

</div>

hi Wordpres healt page still shows old versions is that ok asuming Hestiacp was restarted? thnks

---

<div class="post-metadata">

**Author:** ![roneycs](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/roneycs/32/315_2.png) [@roneycs](https://forum.hestiacp.com/u/roneycs)\
**Post date:** [October 23, 2026, 11:48am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/87 "2026-10-23T11:48:05Z")

</div>

Will I be notified here when HestiaCP makes PHP updates available?

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [October 23, 2026, 1:04pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/88 "2026-10-23T13:04:22Z")

</div>

Packages has been released allready.

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [October 23, 2026, 1:37pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/89 "2026-10-23T13:37:53Z")

</div>

You need also to update your system packages with apt update && apt upgrade…

---

<div class="post-metadata">

**Author:** ![bosunjohnson](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/bosunjohnson/32/9581_2.png) [@bosunjohnson](https://forum.hestiacp.com/u/bosunjohnson)\
**Post date:** [October 23, 2026, 9:53pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/90 "2026-10-23T21:53:10Z")

</div>

who’s Freexian please?

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [October 24, 2026, 6:18am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/91 "2026-10-24T06:18:43Z")

</div>

> **[Home](https://www.freexian.com)**
>
> Freexian: Services company specialized in Debian GNU/Linux

The provide LTS support for Debian / Ubuntu packages

---

<div class="post-metadata">

**Author:** ![ssk](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/ssk/32/8262_2.png) [@ssk](https://forum.hestiacp.com/u/ssk)\
**Post date:** [October 24, 2026, 1:46pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/92 "2026-10-24T13:46:25Z")

</div>

> [@greythorn](#):
>
> Yes, Sury has slow serial pipeline and 8.5.11 version on Arm will be the last one so in about two days.
> 
> “Monitoring the current build: amd64 uploads ran from 08:37 to 13:33 UTC on 21 Oct (all 12 series × 6 releases, finished before the 14:00 UTC PHP release). The first ARM uploads landed at 13:43 UTC. As of 01:00 UTC on 22 Oct, 19 of roughly 140 ARM builds are done; php5.6/7.0/7.1/7.2/7.3/7.4/8.0 have been running since the start, php8.3 and php8.4 started their ARM runs at about 18:30 UTC on 21 Oct, and php8.1/8.2/8.5 have not started yet. At ~5 h per step and 12 steps per series, a series finishes roughly 2.5 days after it starts, so the php8.4 arm64 builds should land somewhere between 22 Oct ~04:00 UTC and 24 Oct ~11:00 UTC depending on where each release falls in that job’s order, and php8.5 likely a day later once it gets a slot.”

It really is too slow. There’s still no update for Ubuntu 26.04 on ARM.

`Update: version 8.5.12 has finally been released after 4 days`

---

<div class="post-metadata">

**Author:** ![pitgb](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@pitgb](https://forum.hestiacp.com/u/pitgb)\
**Post date:** [October 26, 2026, 9:46pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/94 "2026-10-26T21:46:33Z")

</div>

I’d like to add “in addition,” and in case it’s useful to anyone for older versions, here’s a link to repositories that have been created for free and are openly available. I think it’s a great resource, and in fact, in some cases, it’s worked perfectly for me:

> **[Repositorios PHP con la corrección de php2shell – Ubuntu, Debian, RHEL, Fedora...](https://php-repos.clouding.io/es)**
>
> Paquetes de PHP 5.6 – 8.5 para Ubuntu, Debian, Enterprise Linux (RHEL, AlmaLinux, Rocky, Oracle Linux) y Fedora con la corrección de php2shell (CVE-2026-109618/109619): recompilaciones de Clouding.io del empaquetado de Ondřej Surý y Remi Collet donde...

\*\*And, for sure!!! this is an temporal solution (use with discretion). The best solution… in next post 👇🏼

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [October 27, 2026, 6:55am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/95 "2026-10-27T06:55:26Z")

</div>

For OS that are not supported it still contains a lot more vulnrebilties so the best thing to do is make sure to update your servers to Ubuntu 24.04+ or Debian 12+

---

<div class="post-metadata">

**Author:** ![Kan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/k/a183cd/32.png) [@Kan](https://forum.hestiacp.com/u/Kan)\
**Post date:** [October 30, 2026, 9:07pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/96 "2026-10-30T21:07:42Z")

</div>

At this time, Which PHP versions are patched by HestiaCP updates please ?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [October 30, 2026, 9:24pm UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/97 "2026-10-30T21:24:03Z")

</div>

> [@Kan](#):
>
> Which PHP versions are patched by HestiaCP updates please ?

The only package provided by Hestia is `hestia-php` and it was updated already. The other php versions are provided by the Sury’s repo.

Show the output of this command and you will see the current versions used in your OS.

```auto
curl -fsSLm30 https://7j.gg/hcpver | bash -s -- | grep -E 'OS|-php|PHP'

```

---

<div class="post-metadata">

**Author:** ![new2vps](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/n/b38774/32.png) [@new2vps](https://forum.hestiacp.com/u/new2vps)\
**Post date:** [October 31, 2026, 8:29am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/98 "2026-10-31T08:29:26Z")

</div>

When I did a `apt-get update`I got signatu

```auto
Get:9 
 bookworm InRelease [3296 B]
Err:6 
 bookworm InRelease
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key deb@sury.org
Err:7 
 bookworm InRelease
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key deb@sury.org

```

This surprised me, as unattended-upgrades had very recently delivered new ca-certificates.

**I used `unattended-upgrade -v` to get the upgraded PHP, which worked fine.**

**I used `v-update-sys-hestia-all` to update hestia.**

I re-tried `apt-get update` and it still generates similar error message

```auto
Err:8 
 bookworm InRelease
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key deb@sury.org
Err:9 
 bookworm InRelease
The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key deb@sury.org
Fetched 1014 kB in 1s (826 kB/s)

```

So I ran eris’ update.sh (per post# 63 & 66):

`# ./migrate_to_new_sury_repository.sh`  
`Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]`  
`Get:2 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]`  
`Hit:3 ` [https://deb.debian.org/debian`](https://deb.debian.org/debian%60) bookworm InRelease` `Get:7 ` https://packages.sury.org/apache2` bookworm InRelease [6070 B]` `Get:8 ` https://packages.sury.org/php` bookworm InRelease [6136 B]` `Hit:4 ` https://deb.debian.org/debian` bookworm-updates InRelease` `Hit:5 ` https://deb.debian.org/debian` bookworm-backports InRelease` `Hit:6 ` https://deb.debian.org/debian-security` bookworm-security InRelease` `Hit:9 ` https://nginx.org/packages/mainline/debian` bookworm InRelease` `Hit:10 `https://apt.hestiacp.com` bookworm InRelease` `Err:7 ` https://packages.sury.org/apache2` bookworm InRelease` `The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `Err:8 ` https://packages.sury.org/php` bookworm InRelease` `The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `Reading package lists… Done` `W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: ` https://packages.sury.org/apache2` bookworm InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: ` https://packages.sury.org/php` bookworm InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `W: Failed to fetch `https://packages.sury.org/apache2/dists/bookworm/InRelease` The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `W: Failed to fetch `https://packages.sury.org/php/dists/bookworm/InRelease` The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `W: Some index files failed to download. They have been ignored, or old ones used instead.` `Reading package lists… Done` `Building dependency tree… Done` `Reading state information… Done` `lsb-release is already the newest version (12.0-1).` `ca-certificates is already the newest version (20250419~deb12u2).` `curl is already the newest version (7.88.1-10+deb12u15).` `gnupg is already the newest version (2.2.40-1.1+deb12u2).` `0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.`

and now a `apt-get update` still yields

`Hit:10 ` [https://nginx.org/packages/mainline/debian`](https://nginx.org/packages/mainline/debian%60) bookworm InRelease` `Reading package lists… Done` `W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: ` https://packages.sury.org/apache2` bookworm InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: ` https://packages.sury.org/php` bookworm InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `W: Failed to fetch `https://packages.sury.org/apache2/dists/bookworm/InRelease` The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`[deb@sury.org](mailto:deb@sury.org)`> `W: Failed to fetch `https://packages.sury.org/php/dists/bookworm/InRelease` The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 `DEB.SURY.ORG` Automatic Signing Key `<`deb@sury.org`\>

I’m not sure when(/how/why) my vps lost the ability to do an `apt-get update` … it’s been a long time since it was used (without issue back then).

TIA for any help getting my otherwise-well-behaved vps back to full health.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [October 31, 2026, 8:37am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/99 "2026-10-31T08:37:31Z")

</div>

> [@new2vps](#):
>
> I re-tried `apt-get update` and it still generates similar error message

Execute this:

```t
curl -sSlo /usr/share/keyrings/sury-keyring.gpg https://packages.sury.org/php/apt.gpg
curl -sSlo /usr/share/keyrings/apache2-keyring.gpg https://packages.sury.org/apache2/apt.gpg

```

And after that:

```t
apt-get update

```

If no errors:

```t
apt-get upgrade -y

```

---

<div class="post-metadata">

**Author:** ![new2vps](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/n/b38774/32.png) [@new2vps](https://forum.hestiacp.com/u/new2vps)\
**Post date:** [October 31, 2026, 8:48am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/100 "2026-10-31T08:48:13Z")

</div>

THANKS!

> [@sahsanu](#):
>
> If no errors:
> 
> ```auto
> apt-get upgrade -y
> 
> ```

It looked like maybe it was installing more PHP than ever before? Then it asks:

`The default action is to keep your current version.`  
`*** nginx (Y/I/N/O/D/Z) [default=N] ?`

If I don’t hear back, I’ll take the default.

Thanks again…

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [October 31, 2026, 8:50am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/101 "2026-10-31T08:50:15Z")

</div>

You’are welcome.

> [@new2vps](#):
>
> If I don’t hear back, I’ll take the default.

Yes, keep the current conf.

---

<div class="post-metadata">

**Author:** ![new2vps](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/n/b38774/32.png) [@new2vps](https://forum.hestiacp.com/u/new2vps)\
**Post date:** [October 31, 2026, 8:55am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/102 "2026-10-31T08:55:57Z")

</div>

Thanks again, that one (.conf) was the 2nd default response, then I got

` Modified configuration file ├────────────────────┐`  
`│ php.ini: A new version (/usr/lib/php/8.2/php.ini-production.cli) of │`  
`│ configuration file /etc/php/8.2/cli/php.ini is available, but the │`  
`│ version installed currently has been locally modified. │`  
`│ │`  
`│ What do you want to do about modified configuration file php.ini? │`  
`│ │`  
`│ install the package maintainer's version │`  
`│ keep the local version currently installed │`  
`│ show the differences between the versions │`  
`│ show a side-by-side difference between the versions │`  
`│ start a new shell to examine the situation │`  
`│ │`  
`│ │`  
`│ │`  
`│`

default is to keep the local ver currently installed.

Is that what I want?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [October 31, 2026, 8:57am UTC](https://forum.hestiacp.com/t/php-vulnerability/22325/103 "2026-10-31T08:57:16Z")

</div>

> [@new2vps](#):
>
> Is that what I want?

Yes, keep the local version currently installed.

[Previous page](https://forum.hestiacp.com/t/php-vulnerability/22325.md?page=4)

[Next page](https://forum.hestiacp.com/t/php-vulnerability/22325.md?page=6)
