← Vulnerability feed

Vulnerability record · CVE-2024-2961 · published 17 April 2024

CVE-2024-2961: glibc iconv() ISO-2022-CN-EXT out-of-bounds write

Gnu · Glibc

The iconv() function in GNU C Library 2.39 and older can overflow the output buffer by up to 4 bytes when converting strings to the ISO-2022-CN-EXT character set. This out-of-bounds write can crash an application or overwrite an adjacent variable, making it a memory-corruption issue in a core system library used by many programs.

7.3 CVSS 3.1 High EPSS 88% · top 0.2% CWE-787 · Out-of-bounds write Undergoing Analysis
7.3CVSS 3.1 base score
88%EPSS exploitation probability, 30 days
NoNot in CISA KEV
13Affected product versions listed by NVD
36References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityCVSS 7.3 and extremely high EPSS (0.8833) indicate a serious memory-corruption flaw in a widely used library, though local vector and lack of KEV listing temper immediate urgency.

What it is

The iconv() function in GNU C Library 2.39 and older can overflow the output buffer by up to 4 bytes when converting strings to the ISO-2022-CN-EXT character set. This out-of-bounds write can crash an application or overwrite an adjacent variable, making it a memory-corruption issue in a core system library used by many programs.

Impact

An attacker can cause a denial of service via crash or potentially corrupt adjacent memory, which may lead to further exploitation depending on the application context. The CVSS vector indicates low confidentiality and integrity impact with high availability impact.

Attack surface

The flaw is reached locally (AV:L) with no privileges (PR:N) and no user interaction (UI:N), meaning an attacker who can supply input to an application that calls iconv() with the ISO-2022-CN-EXT charset can trigger it. The record does not specify a remote vector, so remote reachability depends on how the vulnerable library is exposed by the calling application.

Exploitation

CVE-2024-2961 is not listed in CISA KEV and has no documented ransomware use, but EPSS is very high at 0.8833 (99.762 percentile), indicating a strong likelihood of exploitation activity. References are mailing lists and vendor advisories, with no public exploit tag in the supplied data.

What to do

  • Patch glibc to a version that includes the fix for CVE-2024-2961, and apply vendor updates for NetApp and Debian products listed.
  • If immediate patching is not possible, avoid or restrict use of the ISO-2022-CN-EXT character set in applications that call iconv().
  • Monitor vendor advisories (NetApp, Debian, Fedora) for updated packages and apply them as they become available.
  • Consider runtime mitigations such as memory-safe language rewrites or sandboxing for services that process untrusted input through iconv().

Detection

  • Monitor application crashes or abnormal terminations that correlate with iconv() calls or ISO-2022-CN-EXT conversions.
  • Use memory corruption detection tools (e.g., ASAN, Valgrind) in test or staging environments to identify out-of-bounds writes in iconv().
  • Audit logs for processes that handle untrusted input and invoke iconv() with non-default character sets, especially ISO-2022-CN-EXT.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

13 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.openwall.com/lists/oss-security/2024/04/17/9 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/04/18/4 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/04/24/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/4 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/5 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/6 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/07/22/5 Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2024/05/msg00001.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/BTJFBGHDYG5PEIFD5WSSSKSFZ Broken Link
https://lists.fedoraproject.org/archives/list/[email protected]/message/P3I4KYS6EU6S7QZ47WFNTPVAH Broken Link
https://lists.fedoraproject.org/archives/list/[email protected]/message/YAMJQI3Y6BHWV3CUTYBXOZONC Broken Link
https://security.netapp.com/advisory/ntap-20240531-0002/ Third Party Advisory
https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004 Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/04/17/9 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/04/18/4 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/04/24/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/4 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/5 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/05/27/6 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/07/22/5 Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2024/05/msg00001.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/BTJFBGHDYG5PEIFD5WSSSKSFZ Broken Link
https://lists.fedoraproject.org/archives/list/[email protected]/message/P3I4KYS6EU6S7QZ47WFNTPVAH Broken Link
https://lists.fedoraproject.org/archives/list/[email protected]/message/YAMJQI3Y6BHWV3CUTYBXOZONC Broken Link
https://security.netapp.com/advisory/ntap-20240531-0002/ Third Party Advisory
https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004 Third Party Advisory
https://www.ambionics.io/blog/iconv-cve-2024-2961-p1 Broken Link
https://www.ambionics.io/blog/iconv-cve-2024-2961-p2 Broken Link
https://www.ambionics.io/blog/iconv-cve-2024-2961-p3 Broken Link
https://cert-portal.siemens.com/productcert/html/ssa-082556.html

Track CVE-2024-2961 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2024-2961), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.