# JLSEC-2026-66: OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kexalgorithms handling.

- Severity: Medium 6.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-09T21:32:46.691Z
- Modified: 2026-07-25T18:24:44.148Z
- Related: CVE-2023-25136

## Description

OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during `options.kex_algorithms` handling. This is fixed in OpenSSH 9.2. The double free can be leveraged, by an unauthenticated remote attacker in the default configuration, to jump to any location in the sshd address space. One third-party report states "remote code execution is theoretically possible."

(As written by Julia Security Advisories.)

## Affected

- OpenSSH_jll (Julia): from 8.9.0+0 before 9.1.0+0

## References

- <http://www.openwall.com/lists/oss-security/2023/02/13/1> (web)
- <http://www.openwall.com/lists/oss-security/2023/02/22/1> (web)
- <http://www.openwall.com/lists/oss-security/2023/02/22/2> (web)
- <http://www.openwall.com/lists/oss-security/2023/02/23/3> (web)
- <http://www.openwall.com/lists/oss-security/2023/03/06/1> (web)
- <http://www.openwall.com/lists/oss-security/2023/03/09/2> (web)
- <https://bugzilla.mindrot.org/show_bug.cgi?id=3522> (web)
- <https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig> (web)
- <https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946> (web)
- <https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/> (web)
- <https://news.ycombinator.com/item?id=34711565> (web)
- <https://security.gentoo.org/glsa/202307-01> (web)
- <https://security.netapp.com/advisory/ntap-20230309-0003/> (web)
- <https://www.openwall.com/lists/oss-security/2023/02/02/2> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-66](https://osv.dev/vulnerability/JLSEC-2026-66), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-66 · Whole record: https://cve.day/JLSEC-2026-66.json · Rebuilt by cve.day 2026-11-25T22:56:26.194Z
