Skip to main content

FreeBSD CVE-2026-58081

| EUVDEUVD-2026-62348 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-08-19 freebsd
9.8
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send input labeled with UTF-7/HZ/VIQR/ZW charset
  2. Delivery
    Application routes data to iconv(3)
  3. Exploit
    Converter writes past output buffer
  4. Execution
    Heap corruption in service process
  5. Impact
    Achieve 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FreeBSD 14.4-RELEASE <p7
FreeBSD 15.0-RELEASE <p11
FreeBSD 14.3-RELEASE <p16
FreeBSD 15.1-RELEASE <p1

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

Vendor (freebsd) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.3 HIGH

Primary rating from Vendor (freebsd).

CVSS VectorVendor: freebsd

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Aug 26, 2026 - 18:23 NVD
9.8 (CRITICAL)
CVE Published
Aug 19, 2026 - 07:20 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 19, 2026 - 07:20 cve.org
CRITICAL 9.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
FreeBSD is widely used for servers and appliances but far behind Linux
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2012-0217 HIGH POC
7.2 Jun 12

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

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

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

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

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

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy