RCE in Php

CVE-2006-4812

Integer overflow in PHP 5 up to 5.1.6 and 4 before 4.3.0 allows remote attackers to execute arbitrary code via an argument to the unserialize PHP function with a large value for the number of array elements, which triggers the overflow in the Zend Engine ecalloc function (Zend/zend_alloc.c).

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.154 (96.4th percentile) — read the EPSS interpretation.

Affected products

  • Php — versions 4.0, 4.0.1, 4.0.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2006-4812?
CVE-2006-4812 is a vulnerability in Php, classified under Code Injection. Published 2006-10-10.
Is CVE-2006-4812 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.