Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend input labeled with UTF-7/HZ/VIQR/ZW charset
-
DeliveryApplication routes data to iconv(3)
-
ExploitConverter writes past output buffer
-
ExecutionHeap corruption in service process
-
ImpactAchieve code execution or crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a target application on an affected FreeBSD release actually calls iconv(3) to convert attacker-influenced data using one of exactly four encoding modules - HZ, UTF-7, VIQR, or ZW; conversions using any other encoding are not affected. This is the concrete precondition: the vulnerable code path is only reached when one of these charsets is selected (often driven by attacker-supplied charset labels in protocols like email/IMAP that permit UTF-7). Limiting factors: no vulnerability exists if the application never uses these encodings or never exposes the converter to untrusted input; there is no authentication or user-interaction requirement in the flaw itself (PR:N/UI:N per CVSS), but the network reachability of the bug is entirely mediated by the host application rather than by FreeBSD directly. |
| Impact | Signals conflict and must be weighed carefully. CVSS is 9.8 (AV:N/AC:L/PR:N/UI:N, full C/I/A impact), which treats the flaw as trivially remote-exploitable, but that score assumes an application actually feeds attacker-controlled data through one of four uncommon encodings - a significant real-world precondition not captured by the raw vector. EPSS is only 0.21% (12th percentile), and the CVE is NOT in CISA KEV, with no public exploit identified, indicating no observed or predicted mass exploitation. The practical priority therefore hinges on whether deployed applications invoke iconv with HZ/UTF-7/VIQR/ZW on untrusted input; for the majority of systems that do not, real risk is far below the 9.8 headline, while for the minority that do (e.g. mail or internationalization pipelines using UTF-7), memory-corruption-to-RCE is plausible. This is best treated as a high-severity latent flaw warranting prompt patching but not an emergency mass-exploitation event based on current signals. |
| Exploit ScenarioDerived | An application on an unpatched FreeBSD host (for example an IMAP server, mail filter, or web app) accepts remote input tagged with a UTF-7 or HZ charset and passes it to iconv(3) for conversion. A crafted input sequence expands to more output than the caller's buffer can hold, overflowing the heap and corrupting adjacent allocations, which an attacker can leverage toward code execution in the service's context. No public exploit is currently known, so exploitation would require original development against the target's specific iconv usage. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
Heap buffer overflows in FreeBSD's iconv(3) character-conversion library allow attackers who control input processed through the HZ, UTF-7, VIQR, or ZW encoding modules to corrupt heap memory, potentially leading to remote code execution. Applications on FreeBSD 14.3/14.4/15.0/15.1 that pass untrusted data through iconv using any of these encodings are exposed. No public exploit identified at time of analysis, and EPSS exploitation probability is low (0.21%, 12th percentile) despite the 9.8 CVSS.
RemediationAI
Apply the FreeBSD security patch for your release: update to 14.3-RELEASE-p16, 14.4-RELEASE-p7, 15.0-RELEASE-p11, or 15.1-RELEASE-p1 (or later) via freebsd-update, then restart or rebuild applications that link against libc/iconv so they pick up the fixed module code. Full details are in advisory FreeBSD-SA-26:49.iconv (https://security.freebsd.org/advisories/FreeBSD-SA-26:49.iconv.asc). If immediate patching is not possible, the specific compensating control is to prevent untrusted data from reaching the vulnerable converters: audit applications for iconv usage and disable or reject conversions to/from HZ, UTF-7, VIQR, and ZW (for example, restrict permitted charset labels in mail/IMAP or web-input handling), accepting the trade-off that legitimate content in those legacy encodings will no longer be processed. Other iconv encodings are not implicated by this advisory.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
iconv(3) is the standard C-library facility (here in FreeBSD's libc) for converting text between character encodings. The affected modules - HZ (Chinese GB escape encoding), UTF-7 (7-bit Unicode transport encoding historically used in email/IMAP), VIQR (Vietnamese Quoted-Readable), and ZW (Chinese) - are stateful/escape-based encodings whose expansion behavior is nontrivial. Per CWE-122 (Heap-Based Buffer Overflow), the root cause is that these modules write converted output without validating the caller-supplied output buffer size, so a conversion that produces more bytes than expected writes past the allocated heap buffer. The affected CPE is cpe:2.3:a:freebsd:freebsd, i.e. the base operating system's libc, so any consumer of iconv on a vulnerable release inherits the flaw.
Know when Freebsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AC:H because the flaw is only reachable when an application converts untrusted input using one of four uncommon encodings; PR:N/UI:N as the bug itself needs no auth, with full memory-corruption impact.
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
FreeBSD's iconv character-conversion library contains critical heap buffer overflow vulnerabilities affecting versions 14.3, 14.4, 15.0, and 15.1, with potential for remote code execution when processing untrusted input through the HZ, UTF-7, VIQR, or ZW encoding modules. Organizations relying on affected FreeBSD systems for character encoding operations face significant theoretical risk, though current exploitation probability remains minimal at 0.2% per EPSS analysis. No patch is currently available from the vendor.
No vendor-released patch identified at time of analysis. Interim mitigations include: restrict iconv encoding module access to only those necessary for business operations; implement strict validation and sanitization of all untrusted input before iconv processing; evaluate alternative character-encoding libraries with active security maintenance; execute iconv operations only within isolated, sandboxed, or containerized environments with minimal system privileges; maintain continuous monitoring of FreeBSD security advisories for patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
EUVD-2026-62348
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB