Skip to content
CVSS 9.8 · CRITICAL

CVE-2026-58082Stack buffer overflow in iconv (glibc) via ISO-2022

The ISO-2022 encoding module used a stack buffer sized to MB_LEN_MAX (6 bytes) for intermediate character output. Some ISO-2022 variants can require up to 10 bytes per character, in which case conversions can trigger a stack buffer overflow of up to four bytes. An application that uses iconv(3) to convert untrusted input to or from one of the affected encodings may be vulnerable to buffer overflows if it uses one of the affected encoding modules.

View on NVD

Analysis

A stack buffer overflow vulnerability exists in the ISO-2022 encoding module of iconv, a core library used across Linux systems. Applications converting untrusted input to or from affected encodings may be vulnerable to remote code execution or crashes.

Relevant roles

BackendLinuxCC++ciberseguridadDocker

Severity

Score: 9.8(CRITICAL)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV: NETWORK
AC: LOW
PR: NONE
UI: NONE
S: UNCHANGED
C: HIGH
I: HIGH
A: HIGH
Weakness (CWE): CWE-121

EPSS

Probability of exploitation (next 30 days): 0.0021 (0.2%)
Percentile: 11.7%
EPSS: 2026-08-26

Technical description

The ISO-2022 encoding module used a stack buffer sized to MB_LEN_MAX (6 bytes) for intermediate character output. Some ISO-2022 variants can require up to 10 bytes per character, in which case conversions can trigger a stack buffer overflow of up to four bytes. An application that uses iconv(3) to convert untrusted input to or from one of the affected encodings may be vulnerable to buffer overflows if it uses one of the affected encoding modules.

Published: 8/19/2026, 8:17:12 AM
Last modified: 8/26/2026, 8:17:55 PM

References

HomeEventsBlogResourcesCoursesTeam