CVE-2026-58082
Analyzed Analyzed - Analysis Complete

Stack Buffer Overflow in iconv ISO-2022 Encoding

Vulnerability report for CVE-2026-58082, 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

The ISO-2022 encoding module used a stack buffer sized to MB_LEN_MAX (6 bytes) for intermediate character output. Some ISO-2022 variants can require up to 10 bytes per character, in which case conversions can trigger a stack buffer overflow of up to four bytes. 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-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the ISO-2022 encoding module in the iconv(3) function using a stack buffer sized for 6 bytes (MB_LEN_MAX) for character output. Some ISO-2022 variants require up to 10 bytes per character, causing a stack buffer overflow of up to four bytes when converting untrusted input.

Detection Guidance

To detect this vulnerability, check if your system uses FreeBSD and has the affected iconv(3) function with ISO-2022 encoding. Review system logs for crashes or memory corruption during character encoding conversions. Use pkg audit or freebsd-update to verify if patches for SA-26:49.iconv are applied.

Impact Analysis

An application using iconv(3) to convert untrusted input to or from affected encodings may be vulnerable to buffer overflows. This could lead to crashes, data corruption, or potential arbitrary code execution if exploited.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling buffer overflow attacks on systems processing untrusted input with affected encodings. Such attacks may lead to unauthorized data access, modification, or denial of service, violating data integrity and confidentiality requirements under these regulations.

Mitigation Strategies

Upgrade your FreeBSD system using pkg(8), freebsd-update(8), or apply source code patches. Restart affected applications or reboot the system after updating.

Chat Assistant

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

EPSS Chart