PHP Remote Code Execution Vulnerability via Out-of-Memory Handling (CVE-2026-109618)

CVE-2026-109618: PHP, CVSS 9.8

A critical flaw in PHP allows remote attackers to execute arbitrary code by triggering out-of-memory errors. The vulnerability is being actively exploited in the wild, so users should upgrade immediately.

What happened

PHP uses longjmp() to abort processing when an out-of-memory condition occurs. In some execution paths the request memory is left uninitialized before a new allocation is attempted. If the allocation fails, the cleanup routine may read or branch on this invalid memory, creating an opening for remote code execution.

Who is affected

  • php-src: < 8.2.35, fixed in 8.2.35
  • php-src: < 8.3.36, fixed in 8.3.36
  • php-src: < 8.4.27, fixed in 8.4.27
  • php-src: < 8.5.12, fixed in 8.5.12

How serious it is

Any system running a vulnerable PHP version is at risk, regardless of user privileges or interaction. The flaw can be triggered over the network without prior authentication, and attackers can exploit it by crafting requests that cause out-of-memory conditions, such as specially crafted multipart uploads.

CVSS 9.8, critical, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. CISA lists it as exploited in the wild since 26 Oct 2026.

How to fix it

Upgrade PHP to version 8.2.35, 8.3.36, 8.4.27, or 8.5.12, which contain the fix for this issue. Apply the vendor advisory for detailed mitigation steps.

Check your version

php -v

References

This article was written automatically from NVD and GitHub advisory data and translated by machine. Check the vendor advisory before you act.

CVE-2026-109618: PHP, CVSS 9.8

Một lỗ hổng nghiêm trọng trong PHP cho phép kẻ tấn công từ xa thực thi mã tùy ý bằng cách gây ra lỗi hết bộ nhớ. Lỗ hổng này đang bị khai thác trong thực tế, vì vậy người dùng nên nâng cấp ngay lập tức.

Điều gì đã xảy ra

PHP sử dụng longjmp() để hủy tiến trình khi xảy ra tình trạng hết bộ nhớ. Trong một số đường chạy, bộ nhớ của yêu cầu được để lại chưa khởi tạo trước khi cố gắng cấp phát mới. Nếu việc cấp phát thất bại, hàm dọn dẹp có thể đọc hoặc nhánh dựa trên bộ nhớ không hợp lệ này, tạo ra lỗ hổng cho việc thực thi mã từ xa.

Ai bị ảnh hưởng

  • php-src: < 8.2.35, fixed in 8.2.35
  • php-src: < 8.3.36, fixed in 8.3.36
  • php-src: < 8.4.27, fixed in 8.4.27
  • php-src: < 8.5.12, fixed in 8.5.12

Mức độ nghiêm trọng

Bất kỳ hệ thống nào chạy phiên bản PHP có lỗ hổng đều có nguy cơ, bất kể quyền người dùng hay tương tác. Lỗi có thể được kích hoạt qua mạng mà không cần xác thực trước, và kẻ tấn công có thể khai thác bằng cách tạo ra các yêu cầu gây ra tình trạng hết bộ nhớ, như các tải lên multipart được tạo đặc biệt.

CVSS 9.8, mức độ nghiêm trọng, vectơ CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. CISA liệt kê rằng lỗ hổng này đã bị khai thác trong thực tế kể từ ngày 26 tháng 10 năm 2026.

Cách khắc phục

Nâng cấp PHP lên phiên bản 8.2.35, 8.3.36, 8.4.27 hoặc 8.5.12, những phiên bản này đã chứa bản sửa cho vấn đề này. Áp dụng lời khuyên của nhà cung cấp để biết các bước giảm thiểu chi tiết.

Kiểm tra phiên bản của bạn

php -v

Tham chiếu

Bài viết này được tạo tự động từ dữ liệu NVD và lời khuyên của GitHub và được dịch bằng máy. Hãy kiểm tra lời khuyên của nhà cung cấp trước khi thực hiện.

CVE-2026-109618: PHP, CVSS 9.8

Ein kritischer Fehler in PHP ermöglicht Angreifern aus der Ferne, beliebigen Code auszuführen, indem sie Out-of-Memory-Fehler auslösen. Die Schwachstelle wird aktiv in der Wildnis ausgenutzt, daher sollten Benutzer sofort ein Upgrade durchführen.

Was passiert ist

PHP benutzt longjmp(), um die Verarbeitung abzubrechen, wenn ein Out-of-Memory-Zustand eintritt. In einigen Ausführungspfaden bleibt der Anforderungspeicher unbehandelt, bevor ein neuer Speicherbereich angefordert wird. Wenn die Zuweisung fehlschlägt, kann die Aufräumroutine diesen ungültigen Speicher lesen oder darauf verzweigen, wodurch eine Möglichkeit zur Remote-Code-Ausführung entsteht.

Wer ist betroffen

  • php-src: < 8.2.35, fixed in 8.2.35
  • php-src: < 8.3.36, fixed in 8.3.36
  • php-src: < 8.4.27, fixed in 8.4.27
  • php-src: < 8.5.12, fixed in 8.5.12

Wie ernst ist das

Jedes System, das eine verwundbare PHP-Version ausführt, ist gefährdet, unabhängig von Benutzerrechten oder Interaktion. Der Fehler kann über das Netzwerk ausgelöst werden, ohne dass vorherige Authentifizierung nötig ist, und Angreifer können ihn ausnutzen, indem sie Anfragen erstellen, die Out-of-Memory-Bedingungen erzeugen, zum Beispiel speziell präparierte Multipart-Uploads.

CVSS 9.8, kritisch, Vektor CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. CISA listet es seit dem 26. Okt. 2026 als in der Wildnis ausgenutzt auf.

Wie man es behebt

Aktualisieren Sie PHP auf die Version 8.2.35, 8.3.36, 8.4.27 oder 8.5.12, die den Fix für dieses Problem enthalten. Befolgen Sie das Vendor-Advisory für detaillierte Gegenmaßnahmen.

Version prüfen

php -v

Referenzen

Dieser Artikel wurde automatisch aus NVD- und GitHub-Advisory-Daten erstellt und maschinell übersetzt. Prüfen Sie das Vendor-Advisory, bevor Sie Maßnahmen ergreifen.

0 nhận xét:

Đăng nhận xét