CVE-2026-58082

Stack based buffer overflow in iconv(3)

State
Published
Severity
9.8 Critical
Published
Aug 19, 2026
Updated
Aug 26, 2026
Reserved
Jun 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.1-RELEASE to before p1Affected
  • 15.0-RELEASE to before p11Affected
  • 14.4-RELEASE to before p7Affected
  • 14.3-RELEASE to before p16Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.