The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to…
CVE-2024-2961Published 17 Apr 2024, 17:27 UTC
Real-world risk
2.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.3
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from glibc)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| glibcCommon | >= 2.1.93, < 2.40 | 2.40 |
What to do
Update to a fixed version: 2.40.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Metasploit module (link)
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 88.3% chance of exploitation in 30 days (percentile 100), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T4: Weaponized1.000
- 10 × impact 0.4 × prerequisites 0.5 × threat 12.000
- Rounded to one decimal between 0.1 and 102.0
Exploitation and evidence timeline
- 17 Apr 2024 Published
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 2.0 (cvss fallback)
Weakness
CWE-787
References
- https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/P3I4KYS6EU6S7QZ47WFNTPVAHFIUQNEL/x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YAMJQI3Y6BHWV3CUTYBXOZONCUJNOB2Z/x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BTJFBGHDYG5PEIFD5WSSSKSFZ2AZWC5N/x-transferred
- http://www.openwall.com/lists/oss-security/2024/04/24/2x-transferred
- http://www.openwall.com/lists/oss-security/2024/04/17/9x-transferred
- http://www.openwall.com/lists/oss-security/2024/04/18/4x-transferred
- https://lists.debian.org/debian-lts-announce/2024/05/msg00001.htmlx-transferred
- http://www.openwall.com/lists/oss-security/2024/05/27/2x-transferred
- http://www.openwall.com/lists/oss-security/2024/05/27/6x-transferred
- http://www.openwall.com/lists/oss-security/2024/05/27/1x-transferred
- http://www.openwall.com/lists/oss-security/2024/05/27/4x-transferred
- http://www.openwall.com/lists/oss-security/2024/05/27/5x-transferred
- http://www.openwall.com/lists/oss-security/2024/05/27/3x-transferred
- https://security.netapp.com/advisory/ntap-20240531-0002/x-transferred
- http://www.openwall.com/lists/oss-security/2024/07/22/5x-transferred
- https://www.ambionics.io/blog/iconv-cve-2024-2961-p1exploit
- https://www.ambionics.io/blog/iconv-cve-2024-2961-p2
- https://www.ambionics.io/blog/iconv-cve-2024-2961-p3
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- CVE-2024-2961 on CVE.org