# CVE-2026-58082: Stack based buffer overflow in iconv(3)

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before p1, p11, p16, p7 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-19 · Modified: 2026-08-26
- Record: https://cvemate.com/vulnerability/CVE-2026-58082 · JSON: https://cvemate.com/vulnerability/CVE-2026-58082/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.363%, percentile 32.176%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- freebsd freebsd: ≥ 15.1-RELEASE, \< p1 \| ≥ 15.0-RELEASE, \< p11 \| ≥ 14.4-RELEASE, \< p7 \| ≥ 14.3-RELEASE, \< p16 \| 14.3 \| 14.3:p1 \| 14.3:p10 \| 14.3:p11 \| 14.3:p12 \| 14.3:p13 \| 14.3:p14 \| 14.3:p15 \| 14.3:p2 \| 14.3:p3 \| 14.3:p4 \| 14.3:p5 \| 14.3:p6 \| 14.3:p7 \| 14.3:p8 \| 14.3:p9 \| 14.4 \| 14.4:p1 \| 14.4:p2 \| 14.4:p3 \| 14.4:p4 \| 14.4:p5 \| 14.4:p6 \| 14.4:rc1 \| 15.0 \| 15.0:p1 \| 15.0:p10 \| 15.0:p2 \| 15.0:p3 \| 15.0:p4 \| 15.0:p5 \| 15.0:p6 \| 15.0:p7 \| 15.0:p8 \| 15.0:p9 \| 15.1 \| 15.1:rc2 \| 15.1:rc3-p1

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:49.iconv.asc>

---

Data as of 2026-12-05T03:09:25.786Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
