Skip to content
OpenAdvisories
High · 7.3 Public exploit CVE-2024-2961 EUVD-2024-27902GHSA-22q4-f5r6-3xqw

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 Apr 17, 2024 · Updated Nov 4, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
The GNU C Library glibc 2.1.93 – < 2.40 2.40

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.37-18 —
Debian 13 glibc 2.37-18 —
Debian 12 glibc 2.36-9+deb12u6 DSA-5673-1
Debian 11 glibc 2.31-13+deb11u9 DSA-5673-1
Debian 10 glibc 2.28-10+deb10u3 DLA-3807-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS glibc 2.39-0ubuntu8.1 USN-6737-2
Ubuntu 22.04 LTS glibc 2.35-0ubuntu3.7 USN-6737-1
Ubuntu 20.04 LTS glibc 2.31-0ubuntu9.15 USN-6737-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS glibc 2.27-3ubuntu1.6+esm2 USN-6762-1
Ubuntu Pro 16.04 LTS glibc 2.23-0ubuntu11.3+esm6 USN-6762-1
Ubuntu Pro 14.04 LTS eglibc 2.19-0ubuntu6.15+esm3 USN-6762-1
ReleasePackageFixed inAdvisory
RHEL 9 nscd +214 2.34-100.el9_4.2 RHSA-2024:3339
RHEL 8 nscd +213 2.28-236.el8_9.13 RHSA-2024:3269, RHSA-2024:2722
RHEL 7 nscd +7 2.17-326.el7_9.3 RHSA-2024:3588
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 glibc-devel +1 2.28-189.10.el8_6 RHSA-2024:2799
RHEL 9.2 EUS nscd +214 2.34-60.el9_2.14 RHSA-2024:3411
RHEL 9.0 EUS nscd +214 2.34-28.el9_0.6 RHSA-2024:3423
RHEL 8.8 EUS nscd +213 2.28-225.el8_8.11 RHSA-2024:3312
RHEL 8.6 EUS nscd +213 2.28-189.10.el8_6 RHSA-2024:2799
RHEL 8.4 TUS glibc-utils +2 2.28-151.el8_4.2 RHSA-2024:3309
RHEL 8.4 E4S glibc +180 2.28-151.el8_4.2 RHSA-2024:3309
RHEL 8.4 AUS nscd +208 2.28-151.el8_4.2 RHSA-2024:3309
RHEL 8.2 AUS nscd +208 2.28-101.el8_2.2 RHSA-2024:3464

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nscd +214 2.34-100.el9_4.2 ALSA-2024:3339
AlmaLinux 8 nscd +213 2.28-236.el8_9.13 ALSA-2024:3269, ALSA-2024:2722

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 glibc 2.34-100.el9_4.2 RLSA-2024:3339
Rocky Linux 8 glibc 2.28-236.el8_9.13 RLSA-2024:3269, RLSA-2024:2722
ReleasePackageFixed inAdvisory
SLES 15 SP5 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLES 15 SP4 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLES 15 SP3 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLES 15 SP2 glibc 2.26-150000.13.73.1 SUSE-SU-2024:1977-1
SLES 12 SP5 glibc 2.22-114.34.1 SUSE-SU-2024:1675-1
Show 20 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP4 glibc 2.11.3-17.110.52.1 SUSE-SU-2024:1728-1
SLES for SAP 15 SP4 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLES for SAP 15 SP3 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLES for SAP 15 SP2 glibc 2.26-150000.13.73.1 SUSE-SU-2024:1977-1
SLES for SAP 12 SP5 glibc 2.22-114.34.1 SUSE-SU-2024:1675-1
SLE Micro 6.0 glibc 2.38-7.1 SUSE-SU-2025:20038-1
SLE Micro 5.5 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLE Micro 5.4 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLE Micro 5.3 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLE Micro 5.2 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLE Micro 5.1 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLE Live Patching 15 SP5 glibc-livepatches 0.1-150400.3.3.1 SUSE-SU-2024:1805-1
SLE Live Patching 15 SP4 glibc-livepatches 0.1-150400.3.3.1 SUSE-SU-2024:1805-1
SLE HPC 15 SP4 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLE HPC 15 SP3 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SLE HPC 15 SP2 glibc 2.26-150000.13.73.1 SUSE-SU-2024:1977-1
SUSE Package Hub 15 SP6 phpMyAdmin 5.2.2-bp156.4.3.1 openSUSE-SU-2025:0081-1
SUSE Manager Server 4.3 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SUSE Manager Proxy 4.3 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
SUSE Enterprise Storage 7.1 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.39-5.1 openSUSE-SU-2024:13877-1
openSUSE Tumbleweed phpMyAdmin 5.2.2-1.1 openSUSE-SU-2025:14688-1
openSUSE Leap 15.6 phpMyAdmin 5.2.2-bp156.4.3.1 openSUSE-SU-2025:0081-1
openSUSE Leap 15.5 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1
openSUSE Leap Micro 5.3 glibc 2.31-150300.74.1 SUSE-SU-2024:1375-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nscd +217 2.34-52.amzn2023.0.10 ALAS2023-2024-589
Amazon Linux 2 nscd +199 2.26-64.amzn2.0.1 ALAS2-2024-2521

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nscd +214 2.34-100.0.1.el9_4.2 ELSA-2024-3339
Oracle Linux 8 nscd +213 2.28-236.0.1.el8_9.13 ELSA-2024-3269, ELSA-2024-2722
Oracle Linux 7 nscd +6 2.17-326.0.9.el7_9.3 ELSA-2024-3588

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling glibc 2.39-r2 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 17 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 49

References