#PHP Security

CVE-2026-109618: Critical Memory Corruption Vulnerability in PHP

CVE-2026-109618 is a critical vulnerability that can lead to remote code execution in PHP systems.

CVE-2026-109618: Critical Memory Corruption Vulnerability in PHP

Introduction

CVE-2026-109618 is a critical vulnerability affecting PHP that can lead to remote code execution (RCE). This vulnerability arises from improper handling of out-of-memory (OOM) errors during request processing.

What happened?

PHP uses longjmp() to handle out-of-memory errors, exiting the current context and aborting request handling. However, some contexts may not properly account for this scenario, leaving request memory in an uninitialized state before performing a new allocation. The subsequent request cleanup procedure may read or branch on this uninitialized memory, which can be exploited to execute code remotely.

How does the vulnerability work?

The vulnerability occurs when multiple OOM strategies are triggered, leading to a condition that can be exploited for remote code execution. The improper initialization of memory may allow an attacker to manipulate the system's behavior, compromising application security.

What is the real impact?

The impact of this vulnerability is critical, as it allows an unauthenticated attacker to execute arbitrary code on the affected server. This can lead to significant security compromises, including unauthorized access to sensitive data, complete control of the server, and potential propagation of attacks to other systems on the network.

Which versions are affected?

  • php ≥ 7.3.0 < 8.2.35
  • php ≥ 8.3.0 < 8.3.36
  • php ≥ 8.4.0 < 8.4.27
  • php ≥ 8.5.0 < 8.5.12
  • ruggedcom ape1808 firmware
  • pan-os ≥ 10.2.0 < 10.2.7

How to fix

  1. Update PHP to the latest available version that is not affected by the vulnerability.
  2. Check for updates for any related firmware or software that uses PHP.
  3. Consult the vendor's advisory for information on fixed versions and specific recommendations.

Mitigation while you update

While updates cannot be applied immediately, it is recommended to:

  • Limit access to the server and restrict PHP script execution to only those that are necessary.
  • Monitor server logs for suspicious activities.
  • Implement firewalls and other security measures to protect the server from unauthorized access.

Conclusion

CVE-2026-109618 represents a significant threat to systems using PHP. It is crucial for system administrators and developers to take immediate action to remediate this vulnerability and protect their environments.

// Fontes

  1. NVD — CVE-2026-109618 nvd.nist.gov ↗
  2. CVE.org — CVE-2026-109618 cve.org ↗
  3. CISA — Known Exploited Vulnerabilities cisa.gov ↗
  4. GitHub (vendor advisory) github.com ↗
  5. SecLists seclists.org ↗
  6. Openwall openwall.com ↗
  7. Openwall openwall.com ↗
  8. GitHub github.com ↗
  9. arcticwolf.com arcticwolf.com ↗

// ++ — related