CVE-2026-58081
JSON

9.8critical

Heap based buffer overflow in iconv(3)

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.36% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
freebsd

Description

Several encoding modules, including HZ, UTF-7, VIQR, and ZW, did not properly check the size of the caller-supplied output buffer before writing converted characters. 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.

Affected

Product or packageVersionsReported by
FreeBSD FreeBSDfrom 15.1-RELEASE before p1, from 15.0-RELEASE before p11, from 14.4-RELEASE before p7, from 14.3-RELEASE before p16, 14.3, 14.4, 15.0, 15.1CVE List, NVD

Classification

CWE-122

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Several encoding modules, including HZ, UTF-7, VIQR, and ZW, did not properly check the size of the caller-supplied output buffer before writing converted characters. 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.

NVD (es)

Varios módulos de codificación, incluyendo HZ, UTF-7, VIQR y ZW, no verificaron correctamente el tamaño del búfer de salida proporcionado por el llamador antes de escribir los caracteres convertidos. Una aplicación que utiliza iconv(3) para convertir entrada no confiable hacia o desde una de las codificaciones afectadas puede ser vulnerable a desbordamientos de búfer si utiliza uno de los módulos de codificación afectados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58081 changed 2026-08-26CVE Terms of Use
NVDCVE-2026-58081 changed 2026-10-27Public domain