CVE-2024-2961
The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4 bytes when converting strings to...
- Published
- Apr 17, 2024
- Updated
- Oct 15, 2026
- Assigning CNA
- glibc
- Evidence observed
- Aug 8, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HHigh · next 30 days
- Percentile
- 99.8%
- Model date
- Oct 17, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4 bytes when converting strings to the ISO-2022-CN-EXT character set, which may be used to crash an application or overwrite a neighbouring variable.
Sources
php/CVE-2024-2961
PHP File Read to Remote Code Execution Through GNU C Library Iconv (CVE-2024-2961)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/php:8.3.4-apache(php/CVE-2024-2961/docker-compose.yml:services.web.image)
modules/exploits/linux/http/magento_xxe_to_glibc_buf_overflow.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Unix($.exploit_linux/http/magento_xxe_to_glibc_buf_overflow.platform)
- verification: check_declared($.exploit_linux/http/magento_xxe_to_glibc_buf_overflow.check)
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.