Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2012-2376: Remote code execution in PHP com_print_typeinfo on Windows

Published May 21, 2012 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v2
EPSS19.8%97th percentile
CISA KEVNoNot listed
In the wildReported3 exploitation records in Mallory
Vendor
PHP Group
IdentifiersCVE-2012-2376CWE-120

CVE-2012-2376 is a buffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows. Crafted arguments trigger incorrect handling of COM object VARIANT types, allowing remote attackers to execute arbitrary code. The vulnerability was exploited in the wild in May 2012.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows arbitrary code execution on the affected Windows system through the vulnerable PHP process. The resulting execution privileges and specific effects on data or service availability are not specified.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by disabling or avoiding use of the vulnerable COM functionality and any application features that invoke com_print_typeinfo or process attacker-controlled COM-related input on Windows PHP deployments. Restrict remote access to affected applications, apply compensating controls such as WAF filtering where feasible, and run PHP with the least privileges possible to limit post-exploitation impact.

Remediation

Patch, then assume compromise.

Upgrade PHP to a version newer than 5.4.3 that includes the fix for CVE-2012-2376. Because the issue affects Windows builds of PHP, remediation should prioritize patching Windows-based PHP deployments that expose functionality invoking the vulnerable COM handling path.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
Candidate exploits are awaiting analysis. View them in Mallory.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PHP GroupPhpapplication
FAQ

Frequently asked questions

Is CVE-2012-2376 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2012-2376?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2012-2376.
Is there a patch for CVE-2012-2376?
Upgrade PHP to a version newer than 5.4.3 that includes the fix for CVE-2012-2376. Because the issue affects Windows builds of PHP, remediation should prioritize patching Windows-based PHP deployments that expose functionality invoking the vulnerable COM handling path.
What products are affected by CVE-2012-2376?
PHP Group Php.
How severe is CVE-2012-2376?
CVE-2012-2376 has a CVSS v2 score of 10.0 (Critical) and an EPSS score of 19.8% (97th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.