CVE-2011-2202: PHP

Medium severity, CVSS 6.4. EPSS: 19.7% chance of exploitation in the next 30 days.

The rfc1867_post_handler function in main/rfc1867.c in PHP before 5.3.7 does not properly restrict filenames in multipart/form-data POST requests, which allows remote attackers to conduct absolute path traversal attacks, and possibly create or overwrite arbitrary files, via a crafted upload request, related to a "file path injection vulnerability."

Affected products

  • PHP PHP: up to and including 5.3.6; version 1.0 only; version 2.0 only; version 2.0b10 only; version 3.0 only; version 3.0.1 only; …

Published 2011-06-16. Last modified 2026-06-16.