CVE-2024-2961
A public proof of concept exists; no exploitation attested.
- Published2024-04-17
- WeaknessCWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-04-1717:27CVE publishedCNA
- 2024-04-1718:15CVE publishedNVD
Versions per branch
NVD · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.1.93, < 2.40 | 2.40 | NVD · CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
10 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As glibc, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- The GNU C Library glibcother versions: not affectedAffected
- ≥ 2.1.93, < 2.40fixed in 2.40custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-07-22
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- glibcTuxCare:CentOS:8.4all versions · fixed in 2.28-151.el8.4.tuxcare.els4and 94 other packages
- glibcTuxCare:CentOS:6all versions · fixed in 2.12-2.215.el6.tuxcare.els8and 6 other packages
- glibcTuxCare:AlmaLinux:9.2all versions · fixed in 2.34-60.el9_2.7.tuxcare.els1and 218 other packages
- glibcSUSE:Manager Server 4.3all versions · fixed in 2.31-150300.74.1
- glibcSUSE:Manager Proxy 4.3all versions · fixed in 2.31-150300.74.1
- glibcSUSE:Linux Enterprise Server for SAP Applications 15 SP4all versions · fixed in 2.31-150300.74.1
- glibcSUSE:Linux Enterprise Server for SAP Applications 15 SP3all versions · fixed in 2.31-150300.74.1
- glibcSUSE:Linux Enterprise Server 15 SP4-LTSSall versions · fixed in 2.31-150300.74.1
34 more package ranges on OSV.dev
Vendor advisories
glibc: Out of bounds write in iconv may lead to remote code execution
glibc as a component of Red Hat Enterprise Linux 6 · glibc-common as a component of Red Hat Enterprise Linux 6 · glibc-devel as a component of Red Hat Enterprise Linux 6 · +6 more
Siemens SIMATIC S7-1500 CPU family
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-082556: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.5 · +2 more
Red Hat Security Advisory: OpenShift Container Platform 4.14.39 security update
Red Hat Security Advisory: OpenShift Container Platform 4.13.52 security update
Red Hat Security Advisory: OpenShift Container Platform 4.15.36 security update
13 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2024:8235 · 4 productsFor OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.14/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:7939 · 4 productsFor OpenShift Container Platform 4.13 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.13/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:7594 · 4 productsFor OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.15/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:7599 · 4 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.16/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:7590 · 2 productsFor OpenShift Container Platform 4.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.12/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:4126 · 6 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-10-30
- PoC-in-GitHub17 repositories, unverifiedknown since 2026-11-01mattaperkins/FIX-CVE-2024-2961rvzsec/CVE-2024-2961ambionics/cnext-exploitsabsolutedesignltd/iconvfixexfil0/test_iconv
- Metasploit modules
- 1 moduleexploit/linux/http/magento_xxe_to_glibc_buf_overflowrank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- NVDCVE recordread 2026-11-04
- CISA-ADPSSVC decisionpoc2025-10-30
- CISA-ADPCVSS 3.17.32026-11-04
- CNAweakness (CWE)CWE-7872024-07-22
- FIRST EPSSEPSS score88.3 %read 2026-11-20
- PoC-in-GitHubproof of concept17known since 2026-11-01
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- CGA-c3p2-p7jr-84rhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vq69-65h8-98w7same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-27902same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-22q4-f5r6-3xqwsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-3v8j-2v55-pr7rsame flawMinimOS · LicenseRef-unstated
- MINI-xm63-x92f-g2m6same flawMinimOS · LicenseRef-unstated
- exploit/linux/http/magento_xxe_to_glibc_buf_overflowexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- ALSA-2024:2722advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:3269advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:3339advisory covering several CVEsAlmaLinux · MIT
- DLA-3807-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5673-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0147advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2025-0023advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-1843advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2024-1844advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2024-1845advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13877-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:0081-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:14688-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:2722advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:2799advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3269advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3309advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3312advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3339advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3411advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3423advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3464advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:3588advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2024:2722advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:3269advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2024:3339advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2024:1375-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1675-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1728-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1805-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:1977-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20038-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6737-1advisory covering several CVEsUbuntu
- USN-6737-2advisory covering several CVEsUbuntu
- USN-6762-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- Published
- 2024-04-17
- Last Modified
- 2026-11-04
- NVD status
- Undergoing Analysis
- GitHub Advisory
- GHSA-22q4-f5r6-3xqw
Frequently asked questions
What is CVE-2024-2961?
Is CVE-2024-2961 actively exploited?
What is the CVSS score for CVE-2024-2961?
Running glibc? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-22q4-f5r6-3xqw
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0