CVE-2024-2961: CWE-787 Out-of-bounds Write in The GNU C Library 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.
AI Analysis
Technical Summary
The vulnerability CVE-2024-2961 involves an out-of-bounds write (CWE-787) in the iconv() function of glibc versions 2.39 and earlier. Specifically, when converting strings to the ISO-2022-CN-EXT character set, iconv() may overflow the output buffer by up to 4 bytes. This buffer overflow can lead to application crashes or memory corruption by overwriting neighboring variables. The CVSS 3.1 base score is 7.3, indicating high severity with local attack vector, low complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability. No known exploits in the wild have been reported. No patch or official fix information is provided in the input data.
Potential Impact
Successful exploitation of this vulnerability can cause application crashes or memory corruption due to buffer overflow in iconv() when processing ISO-2022-CN-EXT encoded strings. This may lead to denial of service or potentially impact confidentiality and integrity of affected applications using glibc for character set conversion.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted input using iconv() with the ISO-2022-CN-EXT character set or apply other application-level mitigations to prevent triggering this condition.
CVE-2024-2961: CWE-787 Out-of-bounds Write in The GNU C Library glibc
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 v3.1
Score 7.3high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2024-2961 involves an out-of-bounds write (CWE-787) in the iconv() function of glibc versions 2.39 and earlier. Specifically, when converting strings to the ISO-2022-CN-EXT character set, iconv() may overflow the output buffer by up to 4 bytes. This buffer overflow can lead to application crashes or memory corruption by overwriting neighboring variables. The CVSS 3.1 base score is 7.3, indicating high severity with local attack vector, low complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability. No known exploits in the wild have been reported. No patch or official fix information is provided in the input data.
Potential Impact
Successful exploitation of this vulnerability can cause application crashes or memory corruption due to buffer overflow in iconv() when processing ISO-2022-CN-EXT encoded strings. This may lead to denial of service or potentially impact confidentiality and integrity of affected applications using glibc for character set conversion.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted input using iconv() with the ISO-2022-CN-EXT character set or apply other application-level mitigations to prevent triggering this condition.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- glibc
- Date Reserved
- 2024-03-26T19:29:31.186Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6902eea9a7d593c9933c3413
Added to database: 10/30/2025, 04:50:49 UTC
Last enriched: 07/15/2026, 11:26:07 UTC
Last updated: 09/10/2026, 19:36:48 UTC
Views: 242
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.