CVE-2025-24013 CodeIgniter validation of header name and value
Attackers can send malformed headers to disrupt application functionality or trigger DoS via WAF blocking, affecting CodeIgniter users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-24013?
CVE-2025-24013 is a medium-severity denial of service vulnerability in CodeIgniter4, published on 20 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
CodeIgniter is a PHP full-stack web framework. Prior to 4.5.8, CodeIgniter lacked proper header validation for its name and value. The potential attacker can construct deliberately malformed headers with Header class. This could disrupt application functionality, potentially causing errors or generating invalid HTTP requests. In some cases, these malformed requests might lead to a DoS scenario if a remote service’s web application firewall interprets them as malicious and blocks further communication with the application. This vulnerability is fixed in 4.5.8.
Weakness: CWE-436
Which versions are affected by CVE-2025-24013?
2 open source packages ship an affected version, including codeigniter4/framework. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
codeigniter4/framework Packagist | All versions | 4.5.8 |
codeigniter4/framework Packagist | All versions | 4.5.8 |
Products include Codeigniter Codeigniter.
How do I fix CVE-2025-24013?
Upgrade codeigniter4/framework to 4.5.8 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-24013 being exploited?
There is no known exploitation of CVE-2025-24013 in the wild and no public exploit code.
Other vulnerabilities in CodeIgniter4
Sources
Also known as GHSA-x5mq-jjr3-vmx6.