CVE-2026-58081 Heap based buffer overflow in iconv(3)
Heap buffer overflow in FreeBSD iconv allows attackers to execute code or crash applications processing untrusted input via specific encodings.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-58081?
CVE-2026-58081 is a critical memory corruption vulnerability in Freebsd Freebsd, published on 19 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-122
Which versions are affected by CVE-2026-58081?
It affects 1 product.
Products include Freebsd Freebsd.
How do I fix CVE-2026-58081?
No fix has been published for CVE-2026-58081 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-58081 being exploited?
There is no known exploitation of CVE-2026-58081 in the wild and no public exploit code.