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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-08-19T07:20:37.172Z
- Modified: 2026-10-27T12:10:00.343Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.1-RELEASE before p1; from 15.0-RELEASE before p11; from 14.4-RELEASE before p7; from 14.3-RELEASE before p16; 14.3; 14.4; 15.0; 15.1

## References

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

## Sources

- CVE List: [CVE-2026-58082](https://www.cve.org/CVERecord?id=CVE-2026-58082), CVE Terms of Use, modified 2026-08-26
- NVD: [CVE-2026-58082](https://nvd.nist.gov/vuln/detail/CVE-2026-58082), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-58082 · Whole record: https://cve.day/CVE-2026-58082.json · Rebuilt by cve.day 2026-11-25T22:59:33.912Z
