CVE-2024-29904
PHP vulnerability analysis and mitigation

Overview

A vulnerability was discovered in CodeIgniter, a PHP full-stack web framework, specifically affecting its Language class. The vulnerability (CVE-2024-29904) allows attackers to perform Denial of Service (DoS) attacks by consuming a large amount of memory on the server. This security issue was disclosed on March 29, 2024, and affects versions prior to 4.4.7 (GitHub Advisory).

Technical details

The vulnerability is classified with a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The issue is related to CWE-835 (Loop with Unreachable Exit Condition - 'Infinite Loop'). The vulnerability specifically affects the Language class implementation and can be exploited remotely without requiring any privileges or user interaction (GitHub Advisory, NVD).

Impact

When exploited, this vulnerability allows attackers to consume a large amount of memory on the server, potentially leading to denial of service conditions. The attack affects the availability of the system while maintaining no impact on confidentiality or integrity (GitHub Advisory).

Exploitability

The vulnerability can be exploited remotely over the network with low attack complexity. No special privileges or user interaction is required to execute the attack, making it relatively straightforward to exploit (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to CodeIgniter version 4.4.7 or later. For those unable to upgrade immediately, two workarounds are available: disabling Auto Routing to prevent a known attack vector in the framework, and ensuring that no invalid values are passed to the lang() function or Language class (GitHub 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-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 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