Infinite loop in CodeIgniter4 - CVE-2024-29904

 

Infinite loop in CodeIgniter4 - CVE-2024-29904

Published: March 29, 2024 / Updated: May 23, 2026


Vulnerability identifier: #VU132170
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-29904
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: CodeIgniter
Affected software:
CodeIgniter4

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to loop with unreachable exit condition in the Language class when processing invalid values passed to the lang() function or Language class. A remote attacker can supply invalid input to consume a large amount of memory on the server and cause a denial of service.


How to mitigate CVE-2024-29904

Install security update from vendor's website.

Sources