CVE-2024-2961 in the critical feed json
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 convert…
published 2024-04-17 2 y ago modified 2026-11-04 4 d ago also EUVD-2024-27902
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 88.3%
- EPSS 88.3% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 1
- Metasploit
Summary
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.
Patch / fix
- The GNU C Library glibc 2.40
- glibc Debian 12 2.36-9+deb12u6
- glibc Debian 14, Debian 13 2.37-18
debian advisories DEBIAN-CVE-2024-2961
- glibc Ubuntu 20.04 LTS 2.31-0ubuntu9.15
- glibc Ubuntu 22.04 LTS 2.35-0ubuntu3.7
- glibc Ubuntu 24.04 LTS 2.39-0ubuntu8.1
- glibc Ubuntu Pro 16.04 LTS 2.23-0ubuntu11.3+esm6
- glibc Ubuntu Pro 18.04 LTS 2.27-3ubuntu1.6+esm2
- eglibc Ubuntu Pro 14.04 LTS 2.19-0ubuntu6.15+esm3
ubuntu advisories UBUNTU-CVE-2024-2961
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- glibc RHEL 7 2.17-326.el7_9.3
- nscd RHEL 7 2.17-326.el7_9.3
- glibc-utils RHEL 7 2.17-326.el7_9.3
- glibc-common RHEL 7 2.17-326.el7_9.3
- glibc-debuginfo-common RHEL 7 2.17-326.el7_9.3
- glibc RHEL 9 2.34-100.el9_4.2
- nscd RHEL 9 2.34-100.el9_4.2
- libnsl RHEL 9 2.34-100.el9_4.2
red hat advisories RHSA-2024:3588RHSA-2024:3464RHSA-2024:3411RHSA-2024:3423RHSA-2024:3339RHSA-2024:3309
- glibc Linux Micro 6.0 2.38-7.1
- glibc SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 2.22-114.34.1
- glibc SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES 15 SP4-LTSS +17 more 2.31-150300.74.1
- glibc SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS 2.26-150000.13.73.1
- glibc-livepatches SLE Live Patching 15 SP5, SLE Live Patching 15 SP4 0.1-150400.3.3.1
- glibc SLES 11 SP4 LTSS EXTREME CORE 2.11.3-17.110.52.1
suse advisories SUSE-SU-2025:20038-1SUSE-SU-2024:1977-1SUSE-SU-2024:1805-1SUSE-SU-2024:1728-1SUSE-SU-2024:1675-1SUSE-SU-2024:1375-1
- phpMyAdmin Package Hub 15 SP6, openSUSE Leap 15.6 5.2.2-bp156.4.3.1
- phpMyAdmin openSUSE Tumbleweed 5.2.2-1.1
- glibc openSUSE Tumbleweed 2.39-5.1
opensuse advisories openSUSE-SU-2025:0081-1openSUSE-SU-2025:14688-1openSUSE-SU-2024:13877-1
- glibc AlmaLinux 9 2.34-100.el9_4.2
- nscd AlmaLinux 9 2.34-100.el9_4.2
- libnsl AlmaLinux 9 2.34-100.el9_4.2
- nss_db AlmaLinux 9 2.34-100.el9_4.2
- nss_hesiod AlmaLinux 9 2.34-100.el9_4.2
- glibc-utils AlmaLinux 9 2.34-100.el9_4.2
- glibc-common AlmaLinux 9 2.34-100.el9_4.2
- glibc-benchtests AlmaLinux 9 2.34-100.el9_4.2
almalinux advisories ALSA-2024:3339ALSA-2024:3269ALSA-2024:2722
- glibc Rocky Linux 8 2.28-251.el8_10.11
- glibc Rocky Linux 9 2.34-100.el9_4.2
- glibc Rocky Linux 8 2.28-236.el8_9.13
rocky linux advisories RLSA-2024:3269RLSA-2024:3339RLSA-2024:2722
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-2961 updated cvss 8.8
glibc: Out of bounds write in iconv may lead to remote code execution
-
Red Hat Enterprise Linux 6 nscd, glibc, nss_db, glibc-utils, glibc-commonaffected: workaround, no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) nss_hesiod 2.28-236.el8_9.13, glibc-benchtests 2.28-236.el8_9.13fixed: vendor fix RHSA-2024:2722
-
Red Hat CodeReady Linux Builder EUS (v.8.6) nss_hesiod 2.28-189.10.el8_6, glibc-benchtests 2.28-189.10.el8_6fixed: vendor fix RHSA-2024:2799
-
Red Hat CodeReady Linux Builder EUS (v.8.8) nss_hesiod 2.28-225.el8_8.11, glibc-benchtests 2.28-225.el8_8.11fixed: vendor fix RHSA-2024:3312
-
Red Hat CodeReady Linux Builder EUS (v.9.0) nss_db 2.34-28.el9_0.6, nss_hesiod 2.34-28.el9_0.6, glibc-benchtests 2.34-28.el9_0.6fixed: vendor fix RHSA-2024:3423
-
Red Hat CodeReady Linux Builder EUS (v.9.2) nss_db 2.34-60.el9_2.14, nss_hesiod 2.34-60.el9_2.14, glibc-benchtests 2.34-60.el9_2.14fixed: vendor fix RHSA-2024:3411
-
Red Hat Enterprise Linux AppStream (v. 8) glibc-utils 2.28-236.el8_9.13, glibc-utils 2.28-251.el8_10.1, compat-libpthread-nonshared 2.28-236.el8_9.13, compat-libpthread-nonshared 2.28-251.el8_10.1fixed: vendor fix RHSA-2024:3269
-
Red Hat Enterprise Linux AppStream (v. 9) glibc-utils 2.34-100.el9_4.2, glibc-locale-source 2.34-100.el9_4.2fixed: vendor fix RHSA-2024:3339
show 25 moreshow fewer
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) glibc-utils 2.28-101.el8_2.2, glibc-debuginfo-common 2.28-101.el8_2.2, compat-libpthread-nonshared 2.28-101.el8_2.2fixed: vendor fix RHSA-2024:3464
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) glibc-utils 2.28-151.el8_4.2, glibc-debuginfo-common 2.28-151.el8_4.2, compat-libpthread-nonshared 2.28-151.el8_4.2 Red Hat Enterprise Linux AppStream E4S (v.8.4) glibc-utils 2.28-151.el8_4.2, glibc-debuginfo-common 2.28-151.el8_4.2, compat-libpthread-nonshared 2.28-151.el8_4.2fixed: vendor fix RHSA-2024:3309
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) glibc-utils 2.28-189.10.el8_6, compat-libpthread-nonshared 2.28-189.10.el8_6fixed: vendor fix RHSA-2024:2799
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) glibc-utils 2.28-225.el8_8.11, compat-libpthread-nonshared 2.28-225.el8_8.11fixed: vendor fix RHSA-2024:3312
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) glibc-utils 2.34-28.el9_0.6, glibc-locale-source 2.34-28.el9_0.6fixed: vendor fix RHSA-2024:3423
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) glibc-utils 2.34-60.el9_2.14, glibc-locale-source 2.34-60.el9_2.14fixed: vendor fix RHSA-2024:3411
-
Red Hat Enterprise Linux AppStream TUS (v.8.4) glibc-utils 2.28-151.el8_4.2, glibc-debuginfo-common 2.28-151.el8_4.2, compat-libpthread-nonshared 2.28-151.el8_4.2fixed: vendor fix RHSA-2024:3309
-
Red Hat Enterprise Linux BaseOS (v. 8) nscd 2.28-236.el8_9.13, nscd 2.28-251.el8_10.1, glibc 2.28-236.el8_9.13, glibc 2.28-251.el8_10.1, libnsl 2.28-236.el8_9.13, libnsl 2.28-251.el8_10.1, +12 morefixed: vendor fix RHSA-2024:3269
-
Red Hat Enterprise Linux BaseOS (v. 9) nscd 2.34-100.el9_4.2, glibc 2.34-100.el9_4.2, libnsl 2.34-100.el9_4.2, glibc-common 2.34-100.el9_4.2, glibc-gconv-extra 2.34-100.el9_4.2, glibc-all-langpacks 2.34-100.el9_4.2, +1 morefixed: vendor fix RHSA-2024:3339
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) nscd 2.28-101.el8_2.2, glibc 2.28-101.el8_2.2, libnsl 2.28-101.el8_2.2, nss_db 2.28-101.el8_2.2, glibc-common 2.28-101.el8_2.2, glibc-all-langpacks 2.28-101.el8_2.2, +3 morefixed: vendor fix RHSA-2024:3464
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) nscd 2.28-151.el8_4.2, glibc 2.28-151.el8_4.2, libnsl 2.28-151.el8_4.2, nss_db 2.28-151.el8_4.2, glibc-common 2.28-151.el8_4.2, glibc-all-langpacks 2.28-151.el8_4.2, +3 more Red Hat Enterprise Linux BaseOS E4S (v.8.4) nscd 2.28-151.el8_4.2, glibc 2.28-151.el8_4.2, libnsl 2.28-151.el8_4.2, nss_db 2.28-151.el8_4.2, glibc-common 2.28-151.el8_4.2, glibc-all-langpacks 2.28-151.el8_4.2, +3 morefixed: vendor fix RHSA-2024:3309
-
Red Hat Enterprise Linux BaseOS EUS (v.8.6) nscd 2.28-189.10.el8_6, glibc 2.28-189.10.el8_6, libnsl 2.28-189.10.el8_6, nss_db 2.28-189.10.el8_6, glibc-common 2.28-189.10.el8_6, glibc-gconv-extra 2.28-189.10.el8_6, +3 morefixed: vendor fix RHSA-2024:2799
-
Red Hat Enterprise Linux BaseOS EUS (v.8.8) nscd 2.28-225.el8_8.11, glibc 2.28-225.el8_8.11, libnsl 2.28-225.el8_8.11, nss_db 2.28-225.el8_8.11, glibc-common 2.28-225.el8_8.11, glibc-gconv-extra 2.28-225.el8_8.11, +3 morefixed: vendor fix RHSA-2024:3312
-
Red Hat Enterprise Linux BaseOS EUS (v.9.0) nscd 2.34-28.el9_0.6, glibc 2.34-28.el9_0.6, libnsl 2.34-28.el9_0.6, glibc-common 2.34-28.el9_0.6, glibc-gconv-extra 2.34-28.el9_0.6, glibc-all-langpacks 2.34-28.el9_0.6, +1 morefixed: vendor fix RHSA-2024:3423
-
Red Hat Enterprise Linux BaseOS EUS (v.9.2) nscd 2.34-60.el9_2.14, glibc 2.34-60.el9_2.14, libnsl 2.34-60.el9_2.14, glibc-common 2.34-60.el9_2.14, glibc-gconv-extra 2.34-60.el9_2.14, glibc-all-langpacks 2.34-60.el9_2.14, +1 morefixed: vendor fix RHSA-2024:3411
-
Red Hat Enterprise Linux BaseOS TUS (v.8.4) nscd 2.28-151.el8_4.2, glibc 2.28-151.el8_4.2, libnsl 2.28-151.el8_4.2, nss_db 2.28-151.el8_4.2, glibc-common 2.28-151.el8_4.2, glibc-all-langpacks 2.28-151.el8_4.2, +3 morefixed: vendor fix RHSA-2024:3309
-
Red Hat Enterprise Linux Client (v. 7) nscd 2.17-326.el7_9.3, glibc 2.17-326.el7_9.3, glibc-utils 2.17-326.el7_9.3, glibc-common 2.17-326.el7_9.3, glibc-debuginfo-common 2.17-326.el7_9.3 Red Hat Enterprise Linux Client Optional (v. 7) glibc-debuginfo-common 2.17-326.el7_9.3 Red Hat Enterprise Linux ComputeNode Optional (v. 7) glibc-debuginfo-common 2.17-326.el7_9.3fixed: vendor fix RHSA-2024:3588
-
Red Hat Enterprise Linux CRB (v. 8) nss_hesiod 2.28-251.el8_10.1, glibc-benchtests 2.28-251.el8_10.1fixed: vendor fix RHSA-2024:3269
-
Red Hat Enterprise Linux CRB (v. 9) nss_db 2.34-100.el9_4.2, nss_hesiod 2.34-100.el9_4.2, glibc-benchtests 2.34-100.el9_4.2fixed: vendor fix RHSA-2024:3339
-
Red Hat Enterprise Linux Server (v. 7) nscd 2.17-326.el7_9.3, glibc 2.17-326.el7_9.3, glibc-utils 2.17-326.el7_9.3, glibc-common 2.17-326.el7_9.3, glibc-debuginfo-common 2.17-326.el7_9.3 Red Hat Enterprise Linux Server Optional (v. 7) glibc-debuginfo-common 2.17-326.el7_9.3 Red Hat Enterprise Linux Workstation (v. 7) nscd 2.17-326.el7_9.3, glibc 2.17-326.el7_9.3, glibc-utils 2.17-326.el7_9.3, glibc-common 2.17-326.el7_9.3, glibc-debuginfo-common 2.17-326.el7_9.3 Red Hat Enterprise Linux Workstation Optional (v. 7) glibc-debuginfo-common 2.17-326.el7_9.3fixed: vendor fix RHSA-2024:3588
-
Red Hat OpenShift Container Platform 4.12 rhcos 412.86.202410010038-0fixed: vendor fix RHSA-2024:7590
-
Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202410081857-0fixed: vendor fix RHSA-2024:7939
-
Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202410112148-0fixed: vendor fix RHSA-2024:8235
-
Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202410020020-0fixed: vendor fix RHSA-2024:7594
-
Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202410020522-0fixed: vendor fix RHSA-2024:7599
2 more fixed, 8 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-162-05 updated cvss 8.8
Siemens SIMATIC S7-1500 CPU family
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.5affected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Timeline
- Published
- First public exploit (Metasploit exploit/linux/http/magento_xxe_to_glibc_buf_overflow)
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 12 mo ago
Exploit prediction
88.33% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/magento_xxe_to_glibc_buf_overflow CosmicSting: Magento Arbitrary File Read (CVE-2024-34102) + PHP Buffer Overflow in the iconv() function of glibc (CVE-2024-2961) metasploit exploit, excellent rank, 2024-07-26
- ambionics.io https://www.ambionics.io/blog/iconv-cve-2024-2961-p1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
Affected products
- The GNU C Library glibc
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
ambionics.io
/blog/iconv-cve-2024-2961-p1
exploit, broken-link
-
sourceware.org
/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2024-0004
third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/P3I4KYS6EU6S7QZ47WFNTPVAHFIUQNEL/
broken-link
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/YAMJQI3Y6BHWV3CUTYBXOZONCUJNOB2Z/
broken-link
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/BTJFBGHDYG5PEIFD5WSSSKSFZ2AZWC5N/
broken-link
-
openwall.com
/lists/oss-security/2024/04/24/2
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/04/17/9
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/04/18/4
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/05/msg00001.html
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/05/27/2
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/05/27/6
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/05/27/1
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/05/27/4
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/05/27/5
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/05/27/3
mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20240531-0002/
third-party-advisory
-
openwall.com
/lists/oss-security/2024/07/22/5
mailing-list, third-party-advisory
-
ambionics.io
/blog/iconv-cve-2024-2961-p2
broken-link
-
ambionics.io
/blog/iconv-cve-2024-2961-p3
broken-link
- cert-portal.siemens.com /productcert/html/ssa-082556.html
Sources
- CVE List CVE-2024-2961
- NVD CVE-2024-2961
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.