CVE-2024-8925
PHP vulnerability analysis and mitigation

Overview

CVE-2024-8925 affects PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, and 8.3.* before 8.3.12. The vulnerability involves erroneous parsing of multipart form data contained in HTTP POST requests, which could lead to legitimate data not being processed (PHP Advisory).

Technical details

The vulnerability stems from a bug in the parsing of multipart form data contents, affecting both file and input form data. If a multipart form data payload contains a valid prefix X of the defined boundary B such that 5Kib < |X| < |B| < 8Kib, the logic responsible for parsing and storing the multipart payload fails to correctly extract the contents between two boundaries. The issue lies in the partial match handling in the php_ap_memstr function (PHP Advisory). The vulnerability has been assigned a CVSS v3.1 base score of 5.3 MEDIUM by NVD and 3.1 LOW by PHP Group (NVD).

Impact

The vulnerability violates data integrity by allowing an attacker who can control the request boundary to exclude portions of legitimate data. When exploited, this could lead to malicious attackers being able to control part of the submitted data and exclude portions of other data, potentially leading to erroneous application behavior (PHP Advisory, NVD).

Mitigation and workarounds

The vulnerability has been patched in PHP versions 8.1.30, 8.2.24, and 8.3.12. Users are advised to upgrade to these or later versions to mitigate the vulnerability (PHP Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21857HIGH8.3
  • PHPPHP
  • redaxo/source
NoYesJan 07, 2026
CVE-2025-61676MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2025-61674MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2026-21896MEDIUM5.8
  • PHPPHP
  • getkirby/cms
NoYesJan 08, 2026
CVE-2026-22242MEDIUM4.9
  • PHPPHP
  • coreshop/core-shop
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management