CVE-2026-58082: Stack based buffer overflow in iconv(3)

CVE-2026-58082 affects 36 listed versions of FreeBSD in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
19 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

FreeBSD

36 of 250 listed versions are affected. Fixed in 15.1-RELEASE-p1, 15.0-RELEASE-p11, 14.4-RELEASE-p7, 14.3-RELEASE-p16. The newest release, 15.1-p7, is not affected.

15.1 15.1-rc3-p1 15.1-rc2 15.0-p10 15.0-p9 15.0-p8 15.0-p7 15.0-p6 15.0-p5 15.0-p4 15.0-p3 15.0-p2 15.0-p1 15.0 14.4-p6 14.4-p5 14.4-p4 14.4-p3 14.4-p2 14.4-p1 14.4 14.4-rc1 14.3-p15 14.3-p14 14.3-p13 14.3-p12 14.3-p11 14.3-p10 14.3-p9 14.3-p8 14.3-p7 14.3-p6 14.3-p5 14.3-p4 14.3-p3 14.3-p2

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Freebsd)

Published by Freebsd on 19 August 2026. Last changed 27 October 2026.

Sources

Check one version you run: look CVE-2026-58082 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.