Skip to content
OpenAdvisories
Unscored CVE-2021-43396 EUVD-2021-30331GHSA-73g2-m4v3-6c2h

In iconvdata/iso-2022-jp-3.c in the GNU C Library (aka glibc) 2.34, remote attackers can force iconv() to emit a spurious '\0' character vi…

Published Nov 4, 2021 · Updated Oct 14, 2026 · Assigned by mitre

Description

In iconvdata/iso-2022-jp-3.c in the GNU C Library (aka glibc) 2.34, remote attackers can force iconv() to emit a spurious '\0' character via crafted ISO-2022-JP-3 data that is accompanied by an internal state reset. This may affect data integrity in certain iconv() use cases. NOTE: the vendor states "the bug cannot be invoked through user input and requires iconv to be invoked with a NULL inbuf, which ought to require a separate application bug to do so unintentionally. Hence there's no security impact to the bug.

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.32-5 —
Debian 13 glibc 2.32-5 —
Debian 12 glibc 2.32-5 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nscd +217 2.34-181.amzn2023.0.1 ALAS2023-2025-988

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) glibc 2.35-1 —

Advisories 3

References