🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.debian
Article #9

Buggy PHP2Shell Update

#9
From: Computer Nerd Kev
Date: Thu, 22 Oct 2026 21:45
37 lines
2054 bytes
A warning that since applying Debian 12 (Bookworm) and 13 (Trixie)
package updates to fix the PHP2Shell vulnerability (updated to PHP
8.2.35 and 8.4.27 respectively), PHP can't load modules anymore:

Here from the web server log on the Debian 12 system (actually
Devuan):

PHP Warning:  PHP Startup: Unable to load dynamic library
 'mbstring.so' (tried: /usr/lib/php/20220829/mbstring.so
 (/usr/lib/php/20220829/mbstring.so: undefined symbol:
 _safe_femalloc), /usr/lib/php/20220829/mbstring.so.so
 (/usr/lib/php/20220829/mbstring.so.so: cannot open shared object
 file: No such file or directory)) in Unknown on line 0

(repeated for 15 other modules)

Similar in Debian 13 (so much for running a backup server with a
different OS version so the same bugs won't happen in both places
at once):

PHP Warning:  PHP Startup: Unable to load dynamic library
 'mbstring.so' (tried: /usr/lib/php/20240924/mbstring.so
 (/usr/lib/php/20240924/mbstring.so: undefined symbol:
 _safe_femalloc), /usr/lib/php/20240924/mbstring.so.so
 (/usr/lib/php/20240924/mbstring.so.so: cannot open shared object
 file: No such file or directory)) in Unknown on line 0

I found a bug report for this with Debian 12 (PHP 8.2.35):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151659

Unfortunately so far no work-around is suggested, except to
downgrade back to the vulnerable version.

-- 
__          __
#_ < |\| |< _#
Technical Details
Message-ID: <6ada8401@news.ausics.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6ada8401@news.ausics.net>
From: not@telling.you.invalid (Computer Nerd Kev)
Subject: Buggy PHP2Shell Update
Newsgroups: alt.os.linux.debian
Keywords: PHP,bugs
User-Agent: tin/2.6.5-20251224 ("Glenury") (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 23 Oct 2026 07:45:37 +1000
Organization: Ausics - https://newsgroups.ausics.net
Lines: 37
X-Complaints: abuse@ausics.net
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail