Memory corruption via undersized ISO-2022 stack buffer
Published Aug 19, 2026 · Updated Aug 19, 2026
Stack buffer overflow in iconv(3) in FreeBSD allows attackers to corrupt memory via crafted ISO-2022 text in affected releases. The _ISO2022_sputwchar() conversion path uses an intermediate stack buffer sized to MB_LEN_MAX even though some ISO-2022 variants can emit up to 10 bytes, so conversion can write up to four bytes past that stack buffer. Exposure depends on an application converting untrusted text on FreeBSD 14.3 before 14.3-RELEASE-p16, 14.4 before 14.4-RELEASE-p7, 15.0 before 15.0-RELEASE-p11, or 15.1 before 15.1-RELEASE-p1; the published impact is memory corruption and possible process crashes, with no vendor claim of code execution.
Summary
What happened
Stack buffer overflow in iconv(3) in FreeBSD allows attackers to corrupt memory via crafted ISO-2022 text in affected releases. The _ISO2022_sputwchar() conversion path uses an intermediate stack buffer sized to MB_LEN_MAX even though some ISO-2022 variants can emit up to 10 bytes, so conversion can write up to four bytes past that stack buffer. Exposure depends on an application converting untrusted text on FreeBSD 14.3 before 14.3-RELEASE-p16, 14.4 before 14.4-RELEASE-p7, 15.0 before 15.0-RELEASE-p11, or 15.1 before 15.1-RELEASE-p1; the published impact is memory corruption and possible process crashes, with no vendor claim of code execution.
The record
- CVE
- CVE-2026-58082
- Published
- Aug 19, 2026
- Updated
- Aug 19, 2026
- Vendor
- The FreeBSD Project
- Product
- FreeBSD
- Classifications
- Unavailable
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Aug 19, 2026CVE publishedPublication date reported by the CVE source.
- Aug 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=14.3-RELEASE <p16
- Affected versionversion=14.4-RELEASE <p7
- Affected versionversion=15.0-RELEASE <p11
- Affected versionversion=15.1-RELEASE <p1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo