CVE-2026-58081 PUBLISHED

Heap based buffer overflow in iconv(3)

Assigner: freebsd
Reserved: 29.06.2026 Published: 19.08.2026 Updated: 19.08.2026

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.

Product Status

Vendor FreeBSD
Product FreeBSD
Versions Default: unknown
  • affected from 15.1-RELEASE to p1 (excl.)
  • affected from 15.0-RELEASE to p11 (excl.)
  • affected from 14.4-RELEASE to p7 (excl.)
  • affected from 14.3-RELEASE to p16 (excl.)

Credits

  • Nick Wellnhofer finder
  • Mark Johnston finder

References

Problem Types

  • CWE-122: Heap-based Buffer Overflow CWE