Stack-based buffer overflow in FreeBSD - CVE-2026-58082

 

Stack-based buffer overflow in FreeBSD - CVE-2026-58082

Published: July 1, 2026


Vulnerability identifier: #VU136021
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-58082
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: FreeBSD Foundation
Affected software:
FreeBSD

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a buffer overflow.

The vulnerability exists due to stack-based buffer overflow in the ISO-2022 encoding module when converting untrusted input using ISO-2022 variants that require more than 6 bytes of intermediate character output. A remote attacker can supply crafted input to trigger a stack buffer overflow.

Some ISO-2022 variants can require up to 10 bytes per character, allowing an overflow of up to four bytes.


How to mitigate CVE-2026-58082

Install security update from vendor's website.

Sources