Skip to main content
← All vulnerabilities
CVE-2026-58082

Stack based buffer overflow in iconv(3)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p1, p11, p7, p16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 15.1-RELEASE · fixed in p1; From 15.0-RELEASE · fixed in p11; From 14.4-RELEASE · fixed in p7; From 14.3-RELEASE · fixed in p16

References 1

security.freebsd.org