Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-58082 EUVD-2026-62349GHSA-r57r-q66w-6qxq

Stack based buffer overflow in iconv(3)

Published Aug 19, 2026 · Updated Aug 26, 2026 · Assigned by freebsd

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.

Affected products

VendorProductAffectedFixed
FreeBSD FreeBSD 15.1-RELEASE – < p1, 15.0-RELEASE – < p11, 14.4-RELEASE – < p7, 14.3-RELEASE – < p16 p1

Advisories 1

References