CVE-2026-58081Heap based buffer overflow in iconv(3)
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 9 | php | Not affected | ||
| Red Hat Enterprise Linux 9 | php-bcmath | Not affected | ||
| Red Hat Enterprise Linux 9 | php-cli | Not affected | ||
| Red Hat Enterprise Linux 9 | php-common | Not affected | ||
| Red Hat Enterprise Linux 9 | php-dba | Not affected | ||
| Red Hat Enterprise Linux 9 | php-dbg | Not affected | ||
| Red Hat Enterprise Linux 9 | php-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | php-embedded | Not affected | ||
| Red Hat Enterprise Linux 9 | php-enchant | Not affected | ||
| Red Hat Enterprise Linux 9 | php-ffi | Not affected | ||
| Red Hat Enterprise Linux 9 | php-fpm | Not affected | ||
| Red Hat Enterprise Linux 9 | php-gd | Not affected | ||
| Red Hat Enterprise Linux 9 | php-gmp | Not affected | ||
| Red Hat Enterprise Linux 9 | php-intl | Not affected | ||
| Red Hat Enterprise Linux 9 | php-ldap | Not affected | ||
| Red Hat Enterprise Linux 9 | php-mbstring | Not affected | ||
| Red Hat Enterprise Linux 9 | php-mysqlnd | Not affected | ||
| Red Hat Enterprise Linux 9 | php-odbc | Not affected | ||
| Red Hat Enterprise Linux 9 | php-opcache | Not affected | ||
| Red Hat Enterprise Linux 9 | php-pdo | Not affected | ||
| Red Hat Enterprise Linux 9 | php-pgsql | Not affected | ||
| Red Hat Enterprise Linux 9 | php-process | Not affected | ||
| Red Hat Enterprise Linux 9 | php-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | php-soap | Not affected | ||
| Red Hat Enterprise Linux 9 | php-xml | Not affected |
What the vendor says
As published in the CVE record by freebsd, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FreeBSD: affected: 15.1-RELEASE to before p1, 15.0-RELEASE to before p11, 14.4-RELEASE to before p7, 14.3-RELEASE to before p16
Vendor advisories:
- https://security.freebsd.org/advisories/FreeBSD-SA-26:49.iconv.asc (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.