PT-2024-2991 · Gnu+10 · Gnu C Library+10

Charles Fol

·

Published

2022-03-15

·

Updated

2026-03-10

·

CVE-2024-2961

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
The software that is vulnerable is the GNU C Library (glibc) versions 2.39 and older, specifically the iconv() function when converting strings to the ISO-2022-CN-EXT character set. This vulnerability can be exploited through PHP-based web applications.
The vulnerability is a buffer overflow in the iconv() function, which can be used to crash an application or overwrite a neighboring variable, potentially allowing remote code execution (RCE). The vulnerability is identified as CVE-2024-2961.
There is a public exploit available for this vulnerability, and it has been demonstrated that it can be used to achieve RCE on PHP-based web applications, including Roundcube. The vulnerability can be exploited by sending a specially crafted string to the iconv() function, which can cause a buffer overflow and allow an attacker to execute arbitrary code.
It is recommended that users upgrade their glibc library to a version that is not vulnerable to this exploit. Some Linux distributions, such as Rocky Linux, have already released patches for this vulnerability.
The number of Internet users that can be affected by the exploitation of this vulnerability is not specified, but it is likely that many PHP-based web applications are vulnerable, as glibc is a widely used library.
#CVE-2024-2961 #glibc #iconv #bufferoverflow #RCE #PHP #vulnerability #exploit #Linux #Roundcube #GNUCLibrary

Exploit

Fix

RCE

DoS

Memory Corruption

Weakness Enumeration

Related Identifiers

ALSA-2022_0896
ALSA-2024:2722
ALSA-2024:3269
ALSA-2024:3339
ALSA-2024_2722
ALSA-2024_3269
ALSA-2024_3339
ALSA-2024_3344
ALT-PU-2024-6976
ALT-PU-2024-7271
ALT-PU-2024-7402
ALT-PU-2025-1863
BDU:2024-03171
CESA-2024_2722
CESA-2024_3269
CVE-2024-2961
DLA-3807-1
DSA-5673-1
ELSA-2024-2722
ELSA-2024-3269
ELSA-2024-3339
ELSA-2024-3588
INFSA-2024_3269
INFSA-2024_3339
MGASA-2024-0147
MGASA-2025-0023
OESA-2024-1843
OESA-2024-1844
OESA-2024-1845
OPENSUSE-SU-2024:13877-1
OPENSUSE-SU-2024_1375-1
OPENSUSE-SU-2025:0081-1
OPENSUSE-SU-2025:14688-1
RHSA-2024:2722
RHSA-2024:2799
RHSA-2024:3269
RHSA-2024:3309
RHSA-2024:3312
RHSA-2024:3339
RHSA-2024:3411
RHSA-2024:3423
RHSA-2024:3464
RHSA-2024:3588
RHSA-2024_2722
RHSA-2024_3269
RHSA-2024_3339
RHSA-2024_3588
RLSA-2024:2722
RLSA-2024:3269
RLSA-2024:3339
RLSA-2024_2722
RLSA-2024_3269
RLSA-2024_3339
SUSE-SU-2024:1375-1
SUSE-SU-2024:1675-1
SUSE-SU-2024:1728-1
SUSE-SU-2024:1805-1
SUSE-SU-2024:1977-1
SUSE-SU-2024_1375-1
SUSE-SU-2024_1675-1
SUSE-SU-2024_1728-1
SUSE-SU-2024_1977-1
SUSE-SU-2025:20038-1
USN-6737-1
USN-6737-2
USN-6762-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Gnu C Library
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu