Skip to main content
Public proof of conceptFix availableAwaiting NVD analysis

CVE-2024-2961

A public proof of concept exists; no exploitation attested.

  • Published2024-04-17
  • WeaknessCWE-787

Am I 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
  1. 2024-04-1717:27CVE publishedCNA
  2. 2024-04-1718:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published
Gnu glibc
BranchAffectedFixed in
2.x≥ 2.1.93, < 2.402.40
Netapp active iq unified manager
BranchAffectedFixed in
—all versionsno fix published

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 affected
    Affected
    • ≥ 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

  • CVE-2024-2961 Red Hat Product Security8,334 products fixed · 9 known affected

    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

  • ICSA-25-162-05 CISA5 known affected

    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 Siemens ProductCERT5 known affected

    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

  • RHSA-2024:8235 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.14.39 security update

  • RHSA-2024:7939 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.13.52 security update

  • RHSA-2024:7594 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.15.36 security update

13 more advisories

Full record on NVD

Fix

  1. 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…
  2. 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…
  3. 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…
  4. 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…
  5. 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…
  6. 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
Metasploit modules
1 moduleexploit/linux/http/magento_xxe_to_glibc_buf_overflowrank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2024-2961 actively exploited?

A proof-of-concept exploit exists for CVE-2024-2961, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-2961?

CVE-2024-2961 has a CVSS v3 base score of 7.3 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H.

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

Sources for this record