# 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 the ISO-2022-CN-EXT character set, which may be used to crash an application or overwrite a neighbouring variable.

- Page: https://www.vulneraibility.com/cve/CVE-2024-2961
- CVSS: 7.3
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 88.33% (percentile 99.8)
- Public exploit code: 1 Metasploit module · 17 GitHub proofs of concept (first 2024-04-24)
- CISA SSVC: exploitation poc, automatable no, technical impact partial (assessed 2025-10-30)
- Weakness: CWE-787
- Published: 2024-04-17

## Affected versions

- The GNU C Library glibc: affected >= 2.1.93 and < 2.40

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004
- [other] https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P3I4KYS6EU6S7QZ47WFNTPVAHFIUQNEL/
- [other] https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YAMJQI3Y6BHWV3CUTYBXOZONCUJNOB2Z/
- [other] https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BTJFBGHDYG5PEIFD5WSSSKSFZ2AZWC5N/
- [other] http://www.openwall.com/lists/oss-security/2024/04/24/2
- [other] http://www.openwall.com/lists/oss-security/2024/04/17/9
- [other] http://www.openwall.com/lists/oss-security/2024/04/18/4
- [other] https://lists.debian.org/debian-lts-announce/2024/05/msg00001.html
- [other] http://www.openwall.com/lists/oss-security/2024/05/27/2
- [other] http://www.openwall.com/lists/oss-security/2024/05/27/6
- [other] http://www.openwall.com/lists/oss-security/2024/05/27/1
- [other] http://www.openwall.com/lists/oss-security/2024/05/27/4
- [other] http://www.openwall.com/lists/oss-security/2024/05/27/5
- [other] http://www.openwall.com/lists/oss-security/2024/05/27/3
- [other] https://security.netapp.com/advisory/ntap-20240531-0002/
- [other] http://www.openwall.com/lists/oss-security/2024/07/22/5
- [exploit] https://www.ambionics.io/blog/iconv-cve-2024-2961-p1
- [other] https://www.ambionics.io/blog/iconv-cve-2024-2961-p2
- [other] https://www.ambionics.io/blog/iconv-cve-2024-2961-p3
- [other] https://cert-portal.siemens.com/productcert/html/ssa-082556.html

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
