Securing Your Stack: Recent PHP and eMudhra Updates on Heroku

Severity: Info
Category: Security
Service: Heroku

This summary is created by Generative AI and may differ from the actual content.

Overview

Two critical PHP remote code execution vulnerabilities (CVE-2026-109618 and CVE-2026-109619) and an eMudhra private key compromise requiring root certificate updates were disclosed. Heroku managed the patching of runtime images and base stacks for users. PHP applications required rebuilds to receive patched runtimes (PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12). Applications bundling their own certificates in Go, Node.js, or Ruby gems required direct dependency updates and rebuilds. The Heroku CLI required updating to v11.12.1 for the patched Node runtime. Dyno containerization and runtime isolation kept non-PHP applications secure from PHP-specific vulnerabilities. Base image patches for ca-certificates required no action for Heroku-22, Heroku-24, and Heroku-26, but applications with bundled certificates still needed updates.

Impact

Critical remote code execution vulnerabilities affecting PHP versions 5.4 through 8.5.11 posed significant security risk. The eMudhra private key compromise required distrust of intermediate certificates across systems. Non-PHP applications remained isolated and secure due to dyno containerization and runtime isolation.

Trigger

Two critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619) stemming from request cleanup and memory handling flaws, and a private key compromise at eMudhra requiring operating systems to distrust intermediate certificates.

Detection

Security disclosures of CVE-2026-109618 and CVE-2026-109619 by the PHP Foundation and the eMudhra private key compromise announcement prompted awareness of the vulnerabilities and required updates.

Resolution

Heroku deployed patched PHP runtimes (8.2.35, 8.3.36, 8.4.27, and 8.5.12) and updated base images with patched ca-certificates. Users were instructed to rebuild PHP applications via standard deployment pipeline. Applications with bundled certificates in Go, Node.js, or Ruby gems required direct dependency updates and rebuilds. Heroku CLI was updated to v11.12.1. PHP 8.1 on Heroku-22 received a backported mitigation (8.1.34) with recommendation to upgrade to fully supported versions. WAF protections were recommended as an additional layer of defense.

Root Cause

Request cleanup and memory handling flaws in PHP versions 5.4 through 8.5.11 created critical remote code execution vulnerabilities. The eMudhra private key compromise required distrust of intermediate certificates. Applications bundling their own certificate stores required separate patching workflows from base image updates.