Buffer Overflow Vulnerability in Iconv Encoding Module by FreeBSD
CVE-2026-58082

9.8CRITICAL

Key Information:

Vendor

FreeBSD

Status
Vendor
CVE Published:
19 August 2026

What is CVE-2026-58082?

The ISO-2022 encoding module utilized by FreeBSD is susceptible to a buffer overflow issue due to a stack buffer limit of MB_LEN_MAX (6 bytes) for intermediate character output. Certain variations of ISO-2022 encoding can require up to 10 bytes per character, creating conditions where improper handling of untrusted input can lead to a stack buffer overflow of up to four bytes. Applications relying on iconv(3) for character conversion that employ these affected encoding modules face potential exploitation risks.

Affected Version(s)

FreeBSD 15.1-RELEASE

FreeBSD 15.0-RELEASE

FreeBSD 14.4-RELEASE

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Nick Wellnhofer
Mark Johnston
.