7.3
HIGH CVSS 3.1
CVE-2024-2961
GNU C Library Iconv Buffer Overflow Vulnerability
Description

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.

INFO

Published Date :

April 17, 2024, 6:15 p.m.

Last Modified :

Feb. 13, 2025, 6:17 p.m.

Remotely Exploit :

No

Source :

3ff69d7a-14f2-4f67-a097-88dee7810d18
Affected Products

The following products are affected by CVE-2024-2961 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gnu glibc
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
To address the GNU C Library iconv buffer overflow, update the affected packages, including glibc, based on vendor-specific guidance.
  • Update affected packages.
  • For Nutanix products, update the AOS or AHV software to the recommended version, ensuring Prism Central is updated first if applicable.
  • For RHEL systems, update the glibc package based on the relevant RHSA guidance.
Public PoC/Exploit Available at Github

CVE-2024-2961 has a 48 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-2961.

URL Resource
http://www.openwall.com/lists/oss-security/2024/04/17/9
http://www.openwall.com/lists/oss-security/2024/04/18/4
http://www.openwall.com/lists/oss-security/2024/04/24/2
http://www.openwall.com/lists/oss-security/2024/05/27/1
http://www.openwall.com/lists/oss-security/2024/05/27/2
http://www.openwall.com/lists/oss-security/2024/05/27/3
http://www.openwall.com/lists/oss-security/2024/05/27/4
http://www.openwall.com/lists/oss-security/2024/05/27/5
http://www.openwall.com/lists/oss-security/2024/05/27/6
http://www.openwall.com/lists/oss-security/2024/07/22/5
https://lists.debian.org/debian-lts-announce/2024/05/msg00001.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/BTJFBGHDYG5PEIFD5WSSSKSFZ2AZWC5N/
https://lists.fedoraproject.org/archives/list/[email protected]/message/P3I4KYS6EU6S7QZ47WFNTPVAHFIUQNEL/
https://lists.fedoraproject.org/archives/list/[email protected]/message/YAMJQI3Y6BHWV3CUTYBXOZONCUJNOB2Z/
https://security.netapp.com/advisory/ntap-20240531-0002/
https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004
http://www.openwall.com/lists/oss-security/2024/04/17/9
http://www.openwall.com/lists/oss-security/2024/04/18/4
http://www.openwall.com/lists/oss-security/2024/04/24/2
http://www.openwall.com/lists/oss-security/2024/05/27/1
http://www.openwall.com/lists/oss-security/2024/05/27/2
http://www.openwall.com/lists/oss-security/2024/05/27/3
http://www.openwall.com/lists/oss-security/2024/05/27/4
http://www.openwall.com/lists/oss-security/2024/05/27/5
http://www.openwall.com/lists/oss-security/2024/05/27/6
http://www.openwall.com/lists/oss-security/2024/07/22/5
https://lists.debian.org/debian-lts-announce/2024/05/msg00001.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/BTJFBGHDYG5PEIFD5WSSSKSFZ2AZWC5N/
https://lists.fedoraproject.org/archives/list/[email protected]/message/P3I4KYS6EU6S7QZ47WFNTPVAHFIUQNEL/
https://lists.fedoraproject.org/archives/list/[email protected]/message/YAMJQI3Y6BHWV3CUTYBXOZONCUJNOB2Z/
https://security.netapp.com/advisory/ntap-20240531-0002/
https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004
https://www.ambionics.io/blog/iconv-cve-2024-2961-p1
https://www.ambionics.io/blog/iconv-cve-2024-2961-p2
https://www.ambionics.io/blog/iconv-cve-2024-2961-p3
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-2961 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-2961 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Exploits for CNEXT (CVE-2024-2961), a buffer overflow in the glibc's iconv()

TypeScript Solidity

Updated: 1 day, 6 hours ago
0 stars 0 fork 0 watcher
Born at : Aug. 21, 2025, 9:24 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 15, 2025, 9:07 a.m. This repo has been linked 310 different CVEs too.

None

Updated: 4 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : July 25, 2025, 7:02 p.m. This repo has been linked 96 different CVEs too.

None

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : June 29, 2025, 6:30 a.m. This repo has been linked 94 different CVEs too.

CVE POC repo 자동 수집기

Python

Updated: 15 hours, 34 minutes ago
0 stars 1 fork 1 watcher
Born at : June 8, 2025, 3:07 p.m. This repo has been linked 125 different CVEs too.

To use, implement the Remote class, which tells the exploit how to send the payload.

Python

Updated: 6 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 20, 2025, 9:41 a.m. This repo has been linked 1 different CVEs too.

None

HTML Python Shell

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 891 different CVEs too.

None

Python

Updated: 6 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 3:31 p.m. This repo has been linked 2 different CVEs too.

CVE-2024-2961 Cnext RCE Exploit with Buddyforms 2.7.7

Python

Updated: 5 months, 3 weeks ago
4 stars 0 fork 0 watcher
Born at : Feb. 4, 2025, 1:34 p.m. This repo has been linked 1 different CVEs too.

Exploit for CVE-2023-26326 in the WordPress BuddyForms plugin, leveraging CVE-2024-2961 for remote code execution. This exploit bypasses PHP 8+ deserialization limitations by chaining vulnerabilities with php://filter.

Python

Updated: 4 months, 2 weeks ago
1 stars 2 fork 2 watcher
Born at : Feb. 2, 2025, 1:35 a.m. This repo has been linked 2 different CVEs too.

Uses CVE-2024-2961 to perform an arbitrary file read

Python

Updated: 6 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 29, 2025, 1:15 p.m. This repo has been linked 1 different CVEs too.

This script demonstrates a proof-of-concept (PoC) for exploiting a file read vulnerability in the iconv library, as detailed in Ambionics Security's blog https://www.ambionics.io/blog/iconv-cve-2024-2961-p1.

Python

Updated: 2 months, 2 weeks ago
5 stars 1 fork 1 watcher
Born at : Jan. 27, 2025, 3:06 a.m. This repo has been linked 1 different CVEs too.

A replacement of `\Magento\Framework\Xml\Security` for Magento 2 with enhanced XML Security.

encoding enhancement magento2 php-fpm security xml xml-security xxe xml-encoding xml-entity cosmic-sting cve-2024-34102

PHP

Updated: 7 months, 1 week ago
0 stars 1 fork 1 watcher
Born at : Dec. 23, 2024, 12:44 p.m. This repo has been linked 2 different CVEs too.

A collection of Vulnerability Research and Reverse Engineering writeups.

Updated: 4 months, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : Dec. 21, 2024, 2:55 p.m. This repo has been linked 49 different CVEs too.

自动搜集每天的漏洞poc和exp信息。

Updated: 6 months, 1 week ago
8 stars 2 fork 2 watcher
Born at : Dec. 11, 2024, 12:32 a.m. This repo has been linked 91 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-2961 vulnerability anywhere in the article.

  • Cybersecurity News
Researchers Uncover XenoRAT’s New Tactics Leveraging Excel XLL Files and Advanced Obfuscation

Hunt researchers have discovered a novel deployment of XenoRAT, an open-source remote access tool (RAT), leveraging Excel XLL files and advanced obfuscation methods. Known for targeting gamers and pos ... Read more

Published Date: Nov 21, 2024 (9 months ago)
  • The Register
Big names among thousands infected by payment-card-stealing CosmicSting crooks

Ray-Ban, National Geographic, Whirlpool, and Segway are among thousands of brands whose web stores were reportedly compromised by criminals exploiting the CosmicSting flaw in hope of stealing shoppers ... Read more

Published Date: Oct 04, 2024 (10 months, 2 weeks ago)
  • BleepingComputer
Over 4,000 Adobe Commerce, Magento shops hacked in CosmicSting attacks

Adobe Commerce and Magento online stores are being targeted in "CosmicSting" attacks at an alarming rate, with threat actors hacking approximately 5% of all stores. The CosmicSting vulnerability (CVE- ... Read more

Published Date: Oct 03, 2024 (10 months, 2 weeks ago)
  • The Hacker News
Alert: Adobe Commerce and Magento Stores Under Attack from CosmicSting Exploit

Vulnerability / Data Breach Cybersecurity researchers have disclosed that 5% of all Adobe Commerce and Magento stores have been hacked by malicious actors by exploiting a security vulnerability dubbed ... Read more

Published Date: Oct 02, 2024 (10 months, 3 weeks ago)
  • seclists.org
Re: "Exploitation Less Likely"

Dailydave mailing list archives From: Dave Aitel via Dailydave <dailydave () lists aitelfoundation org> Date: Tue, 13 Aug 2024 09:22:14 -0400 https://github.com/CloudCrowSec001/CVE-2024-38077-POC/blob ... Read more

Published Date: Aug 13, 2024 (1 year ago)
  • seclists.org
"Exploitation Less Likely"

Dailydave mailing list archives From: Dave Aitel via Dailydave <dailydave () lists aitelfoundation org> Date: Mon, 12 Aug 2024 17:34:51 -0400 DefCon is a study in cacophony, and like many of you I'm s ... Read more

Published Date: Aug 12, 2024 (1 year ago)

The following table lists the changes that have been made to the CVE-2024-2961 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    Feb. 13, 2025

    Action Type Old Value New Value
    Changed Description 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. 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.
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2024/04/17/9
    Added Reference http://www.openwall.com/lists/oss-security/2024/04/18/4
    Added Reference http://www.openwall.com/lists/oss-security/2024/04/24/2
    Added Reference http://www.openwall.com/lists/oss-security/2024/05/27/1
    Added Reference http://www.openwall.com/lists/oss-security/2024/05/27/2
    Added Reference http://www.openwall.com/lists/oss-security/2024/05/27/3
    Added Reference http://www.openwall.com/lists/oss-security/2024/05/27/4
    Added Reference http://www.openwall.com/lists/oss-security/2024/05/27/5
    Added Reference http://www.openwall.com/lists/oss-security/2024/05/27/6
    Added Reference http://www.openwall.com/lists/oss-security/2024/07/22/5
    Added Reference https://lists.debian.org/debian-lts-announce/2024/05/msg00001.html
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/BTJFBGHDYG5PEIFD5WSSSKSFZ2AZWC5N/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/P3I4KYS6EU6S7QZ47WFNTPVAHFIUQNEL/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/YAMJQI3Y6BHWV3CUTYBXOZONCUJNOB2Z/
    Added Reference https://security.netapp.com/advisory/ntap-20240531-0002/
    Added Reference https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004
    Added Reference https://www.ambionics.io/blog/iconv-cve-2024-2961-p1
    Added Reference https://www.ambionics.io/blog/iconv-cve-2024-2961-p2
    Added Reference https://www.ambionics.io/blog/iconv-cve-2024-2961-p3
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    Jul. 22, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/07/22/5 [No types assigned]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 03, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    Jun. 10, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/05/27/4 [No types assigned]
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/05/27/5 [No types assigned]
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/05/27/3 [No types assigned]
    Added Reference GNU C Library https://security.netapp.com/advisory/ntap-20240531-0002/ [No types assigned]
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    Jun. 10, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/05/27/2 [No types assigned]
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/05/27/6 [No types assigned]
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/05/27/1 [No types assigned]
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    May. 04, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library https://lists.debian.org/debian-lts-announce/2024/05/msg00001.html [No types assigned]
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    May. 01, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/04/17/9 [No types assigned]
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/04/18/4 [No types assigned]
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    May. 01, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library http://www.openwall.com/lists/oss-security/2024/04/24/2 [No types assigned]
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    Apr. 20, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library https://lists.fedoraproject.org/archives/list/[email protected]/message/BTJFBGHDYG5PEIFD5WSSSKSFZ2AZWC5N/ [No types assigned]
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    Apr. 20, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library https://lists.fedoraproject.org/archives/list/[email protected]/message/YAMJQI3Y6BHWV3CUTYBXOZONCUJNOB2Z/ [No types assigned]
  • CVE Modified by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    Apr. 19, 2024

    Action Type Old Value New Value
    Added Reference GNU C Library https://lists.fedoraproject.org/archives/list/[email protected]/message/P3I4KYS6EU6S7QZ47WFNTPVAHFIUQNEL/ [No types assigned]
  • CVE Received by 3ff69d7a-14f2-4f67-a097-88dee7810d18

    Apr. 17, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference glibc https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004 [No types assigned]
    Added CWE glibc CWE-787
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact