CVE-2026-58082

published 19 Aug 2026 · updated 26 Aug 2026

Stack based buffer overflow in iconv(3)

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in p16, p7, p11 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=14.3-RELEASE <p16, >=14.4-RELEASE <p7, >=15.0-RELEASE <p11, >=15.1-RELEASE <p1p16, p7, p11, p1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58082 severity on Zeptric[![CVE-2026-58082](https://zeptric.io/badge/cve/CVE-2026-58082.svg)](https://zeptric.io/cve/CVE-2026-58082)