Paper/Archive/CVE-2026-58082

CVE-2026-58082

FreeBSD FreeBSD — Stack based buffer overflow in iconv(3)

Description · from the CVE record

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

ProductAffectedFixed inSource
FreeBSD15.1-RELEASE – < p1p1CNA
FreeBSD15.0-RELEASE – < p11p11CNA
FreeBSD14.4-RELEASE – < p7p7CNA
FreeBSD14.3-RELEASE – < p16p16CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

advisorysecurity.freebsd.org/advisories/FreeBSD-SA-26:49.iconv.asc