Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 12h Vulnerability in GNU m4 software · 16h Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 17h Fragnesia: When a Firewall Becomes the Target · 1d Vulnerability in Chainlit software · 1d Vulnerabilities in GNU Screen software · 1d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 1d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 1d VMware VMSA-0011: When the Hypervisor Becomes the Attack Surface · 2d Vulnerabilities in PrestaHelp phsuperpack module for PrestaShop · 2d Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 12h Vulnerability in GNU m4 software · 16h Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 17h Fragnesia: When a Firewall Becomes the Target · 1d Vulnerability in Chainlit software · 1d Vulnerabilities in GNU Screen software · 1d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 1d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 1d VMware VMSA-0011: When the Hypervisor Becomes the Attack Surface · 2d Vulnerabilities in PrestaHelp phsuperpack module for PrestaShop · 2d
🛡️
ACyber Sentinel فريق تقييم الأمن
← العودة
⚡ تقرير استخباراتي

إصلاحات PHP لـ 7 ثغرات حرجة، بما في ذلك أخطاء قد تسمح بتنفيذ كود عن بُعد

أصدرت مؤسسة PHP تحديثات أمنية لمعالجة عدة ثغرات أمنية حرجة يمكن استغلالها لتحقيق تنفيذ كود عن بُعد على التوزيعات المتأثرة، بما في ذلك CVE-2026-115560.

تأتي إصدار التصحيح بعد إشعار مسبق حيث قام القائمون على المشروع بتنبيه المستخدمين بشأن عدة ثغرات حرجة تؤثر على جميع إصدارات PHP المدعومة تحت ظروف معينة، بما في ذلك التكوين غير الافتراضي أو الإعدادات غير الشائعة.

على مستوى عالٍ، يمكن أن يمهد الاستغلال الناجح للعيوب الطريق لتنفيذ كود عن بُعد، فساد الجلسات، رفض الخدمة، فساد الذاكرة، أو تصعيد الامتيازات المحلية.

قائمة الثغرات هي كما يلي -

CVE-2026-115560 (درجة CVSS: 9.2) - ثغرة في التحقق من صحة المدخلات بشكل غير صحيح قد تؤدي إلى تنفيذ كود عن بُعد، تعديل الملفات، فساد الجلسات، أو رفض الخدمة. (تم إصلاحها في PHP 8.2.36، 8.3.37، 8.4.28، 8.5.13، 8.6.0)

CVE-2026-129182 (درجة CVSS: 9.2) - ثغرة استخدام بعد التحرير قد تؤدي إلى فساد الذاكرة وإمكانية تنفيذ كود عن بُعد بالكامل، كما هو الحال في CVE-2026-109619. (تم إصلاحها في PHP 8.5.13، 8.6.0)

CVE-2026-126714 (درجة CVSS: 9.2) - ثغرة وقت التحقق ووقت الاستخدام (TOCTOU) قد تؤدي إلى تنفيذ كود عشوائي بامتيازات عامل PHP. يتطلب الاستغلال الناجح تأثير المهاجم على بيانات الجلسة، وانقطاع في نقطة مفيدة أثناء الكتابة، وتطبيق مع سلسلة مناسبة من أدوات التحويل. (تم إصلاحها في PHP 8.2.36، 8.3.37، 8.4.28، 8.5.13، 8.6.0)

CVE-2026-129289 (درجة CVSS: 9.2) - ثغرة تفسير غير متسق لطلبات HTTP قد تؤدي إلى تنفيذ كود PHP يتحكم فيه المهاجم كعامل دون تفاعل مستخدم آخر أو تكوين PHP غير افتراضي. يتطلب الاستغلال الناجح واجهة أمامية تمكّن من اتصالات خلفية مستمرة ومسار تطبيق يفتح "php://input" دون قراءته بالكامل، مثل nginx مع fastcgi_keep_conn مفعل، Apache mod_proxy_fcgi مع enablereuse=on، تطبيقات HAProxy FastCGI التي تحتفظ بالاتصالات الخلفية، و LSAPI. (تم إصلاحها في PHP 8.2.36، 8.3.37، 8.4.28، 8.5.13، 8.6.0)

CVE-2026-129474 (درجة CVSS: 9.2) - ثغرة استخدام بعد التحرير قد تؤدي إلى تنفيذ كود عن بُعد على PHP 8.5 وما بعده. يعتمد الاستغلال الناجح على التطبيق ويتطلب السيطرة على كمية كافية من بيانات الطلب للتأثير على تخصيص الذاكرة، واستدعاء طريقة سحرية قابلة للوصول، وخطأ فادح في النقطة ذات الصلة. (تم إصلاحها في PHP 8.5.13، 8.6.0)

CVE-2026-129481 (درجة CVSS: 9.2) - ثغرة استخدام بعد التحرير قد تتسبب في فشل تنظيف جلسة التطبيق وقد تفسد الذاكرة، أو تتسبب في تعطل عامل PHP المعاد استخدامه، أو قد تسمح بتنفيذ كود عن بُعد. (تم إصلاحها في PHP 8.3.37، 8.4.28، 8.5.13، 8.6.0)

CVE-2026-129496 (درجة CVSS: 9.2) - ثغرة استخدام بعد التحرير قد تسمح لمهاجم بعيد غير مصدق بتعطيل عمال PHP أو تنفيذ كود عشوائي بامتيازاتهم على توزيع متأثر. (تم إصلاحها في PHP 8.2.36، 8.3.37، 8.4.28، 8.5.13، 8.6.0)

CVE-2026-129291 (درجة CVSS: 8.8) - ثغرة استخدام بعد التحرير قد تؤدي إلى تصعيد الامتيازات المحلية. يتطلب الاستغلال الناجح تنفيذ كود محلي في عامل FPM، مجموعة متأثرة مع تمكين catch_workers_output، واجهة أحداث epoll، والقدرة على التلاعب بأعمار العمال والاحتفاظ بوصف الأنابيب الموروثة. (تم إصلاحها في PHP 8.2.36، 8.3.37، 8.4.28، 8.5.13، 8.6.0)

وصفت Depthfirst، التي أطلقت على CVE-2026-126714 اسم "phpAfterShell"، بأنها ثغرة حرجة يمكن أن تمكن مهاجمًا بعيدًا من تشغيل كود عشوائي على الخوادم المتأثرة.

قالت Depthfirst: "إذا تم مقاطعة تحديث pwrite()/ftruncate()، قد تترك PHP وراءها ملف جلسة مشوه يتم تحميله لاحقًا بواسطة session_start()، مما يؤدي إلى أداة تحويل عشوائية." "مرتبطًا بأحد اكتشافاتنا الأصلية في PHP للتحويل إلى RCE، يؤدي ذلك مباشرة إلى تنفيذ كود عن بُعد."

بعبارة أخرى، تحول الثغرة كتابة ملف مقطوعة إلى أداة محتملة لتنفيذ كود عن بُعد من خلال التلاعب بكيفية كتابة PHP لبيانات الجلسة إلى القرص، مما يتسبب في تفسير بيانات غير ضارة سابقًا على أنها بيانات كائن قابلة للتنفيذ.

ثم تستغل الحالة غير المتوقعة للجلسة حيث يموت عامل PHP إما أثناء عملية الكتابة، تاركًا ملفًا محدثًا جزئيًا، أو يموت بعد اكتمال الكتابة، ولكن قبل إزالة محتوى الجلسة السابقة. تؤدي كلا السيناريوهين إلى مزيج من حالتي جلسة مختلفتين.

قال الباحث الأمني يوهانغ وو: "اعتمادًا على مكان حدوث الانقطاع، قد يكون جزء من الجلسة الجديدة قد كُتب بالفعل بينما تبقى بايتات من الجلسة السابقة على القرص." "يمكن أن تكون النتيجة ملف جلسة يحتوي على بادئة البيانات المسلسلة الجديدة وذيل البيانات القديمة."

"من خلال اختيار حقول الطول في البادئة الجديدة بعناية، يمكن للمهاجم جعل جهاز فك تشفير الجلسة في PHP يفسر البايتات المتبقية التي كانت سابقًا مجرد جزء من سلسلة عادية كمدخلات جلسة منفصلة وكائنات مسلسلة. لا يحتاج أي شيء إلى أن يتم تحويله أثناء استدعاء تقدم تحميل الجلسة نفسه. يحتاج المهاجم فقط إلى ترك البايتات الصحيحة على القرص وانتظار التطبيق لاستدعاء session_start()، في هذه النقطة تقرأ PHP الجلسة المعدلة وتقوم بتحويل تلك الكائنات."

بمجرد أن يتم دمج بادئة جلسة صالحة واحدة مع ذيل جلسة بديلة، تعالج جلسة لاحقة البيانات الفاسدة كحالة صالحة من جانب الخادم. وهذا بدوره يتسبب في تفسير PHP لها على أنها "جلسة مختلفة وصالحة" وفي النهاية يمكّن تنفيذ كود عن بُعد من خلال ربطها بفساد الذاكرة في فئة أصلية في PHP.

تؤثر هذه الثغرة على أي تطبيق يعمل بإصدار PHP متأثر مع جلسات قائمة على الملفات. إذا لم يكن من الممكن تصحيح الأمر على الفور، يُنصح بإيقاف تشغيل تقدم تحميل الجلسة.

التصحيحات للعيوب متاحة في الإصدارات التالية -

PHP 8.2.36

PHP 8.3.37

PHP 8.4.28

PHP 8.5.13

PHP 8.6.0

الثغرات المرجعية

CVE-2026-129496 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129496 - Timezone cache use-after-free can lead to remote code execution
Timezone cache use-after-free can lead to remote code execution. In non-thread-safe builds, a diagnostic written to a file-based error_log during module startup, for example for an invalid date.timezone value or a session configuration warning, causes the timezone cache to be allocated in startup memory that is freed while a reference to it is kept. A diagnostic raised early in the first request of a worker, such as the max_input_vars warning, then accesses the freed cache. On such a deployment an unauthenticated remote attacker can crash PHP-FPM, Apache mod_php or CGI workers with a crafted request. Arbitrary code execution may be possible and has been demonstrated with known memory addresses. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-129481 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129481 - Use-after-free after interrupted session shutdown
Use-after-free after interrupted session shutdown. The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as stream_close() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache. This issue affects PHP versions 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-129474 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129474 - Use-after-free in magic method backtraces can lead to remote code execution
Use-after-free in magic method backtraces can lead to remote code execution. When collecting the arguments of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may refer to freed memory. If a fatal error such as exceeding memory_limit occurs while an application enters such a call, with fatal_error_backtraces enabled (the default) and zend.exception_ignore_args disabled, a remote attacker who controls enough request data to influence memory allocation may cause memory corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-production enables zend.exception_ignore_args, which prevents this. This issue affects PHP versions 8.5.* before 8.5.13.
CVE-2026-129291 CVSS 8.8 HIGH Awaiting Analysis
CVE-2026-129291 - PHP-FPM epoll use-after-free can lead to local privilege escalation
PHP-FPM epoll use-after-free can lead to local privilege escalation. When catch_workers_output is enabled and the epoll event backend is used, the PHP-FPM master can close a worker's output pipe in fpm_child_close() without removing the associated event, and the delayed cleanup can free the worker record while its epoll registration is still active. A later event is then dispatched through a pointer into freed memory. A local attacker who can execute PHP code in an FPM worker can crash the master or execute code with its privileges, commonly root. catch_workers_output is disabled by default but enabled in the official PHP-FPM Docker images. This issue affects PHP versions from 8.1.20 through 8.1.34, from 8.2.7 before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-129289 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129289 - PHP-FPM request smuggling through an unread HTTP request body
PHP-FPM request smuggling through an unread HTTP request body. PHP does not discard the unread part of an HTTP request body at request shutdown when the application has opened php://input without reading it to the end. When the front end reuses backend connections, which is not the default in nginx or Apache (for example nginx with fastcgi_keep_conn on, or Apache mod_proxy_fcgi with enablereuse=on), PHP-FPM can parse the leftover bytes as a new FastCGI request. An unauthenticated remote attacker can use a single crafted multipart/form-data request to forge a backend request with chosen parameters such as SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE, which can lead to execution of attacker-controlled PHP code. With LSAPI, subsequent requests on the connection can be disrupted. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-129182 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-129182 - Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown
Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown. A fatal error raised while modified INI settings are restored during request shutdown can repopulate the stored fatal error backtrace after the executor has been cleaned up. The request memory is then freed, and a diagnostic emitted before executor initialization in a later request handled by the same PHP-FPM or mod_php worker can access the stale backtrace. The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end. This can cause memory corruption and worker crashes, and may allow remote code execution. This issue affects PHP versions 8.5.* before 8.5.13.
CVE-2026-126714 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-126714 - Partially overwritten session files can lead to remote code execution
Partially overwritten session files can lead to remote code execution. The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-115560 CVSS 9.2 CRITICAL Awaiting Analysis
CVE-2026-115560 - Session serializer mismatch can lead to remote code execution
Session serializer mismatch can lead to remote code execution. Session upload progress, when enabled, can store attacker-controlled data in a session key using the php_binary or php_serialize session serializer. If the same session is later read with the php serializer, because session.serialize_handler is changed at runtime or differs between applications sharing a session store, bytes inside the key can be passed to the unserializer. A remote attacker able to submit a multipart upload can inject objects, which may lead to code execution when the reading application contains a suitable gadget chain, or to session corruption or denial of service. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
CVE-2026-118383 CVSS 10 CRITICAL Analyzed
CVE-2026-118383 - Pre-authentication use-after-free in MongoDB Server replica set primary catch-up
A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.
CVE-2026-109619 CVSS 9.8 CRITICAL Analyzed
CVE-2026-109619 - PHP Stale Internal Request-State Vulnerability - [Actively Exploited]
PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).