Skip to main content
EPSS 88.3%top 0.24%

CVE-2024-2961: CWE-787 Out-of-bounds Write in The GNU C Library glibc

0
High
VulnerabilityCVE-2024-2961cvecve-2024-2961cwe-787
Published: 04/17/2024 (04/17/2024, 17:27:40 UTC)
Source: CVE Database V5
Vendor/Project: The GNU C Library
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Affected software

debian/glibc
pkg:deb/debian/glibc
Affected versions
<2.40
redhat/glibc
pkg:rpm/redhat/glibc
Affected versions
<2.40

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 11:26:07 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses