CVE-2026-139938: Facebook HHVM vulnerability
In HHVM prior to 69cfc9f046a3ac4720e9790686c5cc6adc04a3d9, SplDoublyLinkedList implemented Serializable and provided a custom unserialize method which would recursively unserialize and then iterate over provided data. That pattern potentially allowed an attacker with the ability to craft an input to unserialize to achieve code execution in the context of the running application, depending on the available classes / functions in the environment.
Affected Software
Event History
Frequently Asked Questions
What must an attacker be able to do to exploit this issue?
An attacker must be able to supply crafted input that the application passes to HHVM deserialization. Whether this results in code execution depends on the classes and functions available in the running application environment.
Which deployments are most exposed?
Deployments that deserialize attacker-controlled or insufficiently trusted serialized data are exposed. The affected behavior is in HHVM versions prior to commit 69cfc9f046a3ac4720e9790686c5cc6adc04a3d9.
What can be done if updating HHVM is not immediately possible?
Prevent untrusted input from reaching deserialization paths. In particular, do not deserialize serialized values supplied by attackers or from sources that are not sufficiently trusted.