CVE-2026-58081

Summary

Several encoding modules, including HZ, UTF-7, VIQR, and ZW, did not properly check the size of the caller-supplied output buffer before writing converted characters.

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 Software

VendorProductVersion RangeStatus
FreeBSDFreeBSD15.1-RELEASE < p1affected
FreeBSDFreeBSD15.0-RELEASE < p11affected
FreeBSDFreeBSD14.4-RELEASE < p7affected
FreeBSDFreeBSD14.3-RELEASE < p16affected

Weaknesses

  • CWE-122: CWE-122: Heap-based Buffer Overflow

References