CVE-2026-58081
Analyzed Analyzed - Analysis Complete

Buffer Overflow in iconv Encoding Modules

Vulnerability report for CVE-2026-58081, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-31

Assigner: FreeBSD

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-31
Generated
2026-09-08
AI Q&A
2026-08-19
EPSS Evaluated
2026-09-07
NVD
EUVD

Affected Vendors & Products

Showing 38 associated CPEs
Vendor Product Version / Range
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.1
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.1
freebsd freebsd 15.1
freebsd freebsd 14.3

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-58081 is a buffer overflow vulnerability in the iconv(3) function. Several encoding modules (HZ, UTF-7, VIQR, and ZW) fail to check the output buffer size before writing converted characters. This can lead to buffer overflows when processing untrusted input with these encodings.

Detection Guidance

To detect this vulnerability, check if your system uses iconv(3) with affected encodings (HZ, UTF-7, VIQR, ZW). Run 'pkg audit' to see if vulnerable versions are installed. Check running processes with 'ps aux | grep iconv' to identify applications using iconv.

Impact Analysis

Applications using iconv(3) to convert untrusted input with affected encodings may be vulnerable to buffer overflows. This could allow attackers to execute arbitrary code, crash the application, or gain unauthorized access to the system.

Compliance Impact

This vulnerability could lead to buffer overflows in applications processing untrusted input with affected encodings. Such flaws may allow arbitrary code execution, potentially compromising data integrity and confidentiality. This could violate compliance requirements under GDPR (data protection) and HIPAA (health data security) by enabling unauthorized access or data breaches.

Mitigation Strategies

Upgrade your system immediately using 'pkg update && pkg upgrade' or 'freebsd-update fetch install'. Apply source patches if available. Restart all applications using iconv or reboot the system to ensure changes take effect.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58081. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart