CVE-2023-51384

published 18 Dec 2023 · updated 10 Nov 2026

In ssh-agent in OpenSSH before 9.6 certain destination constraints can be incompletely applied. When destination constraints are specified during addition of PKCS#11-hosted private keys these constraints are only applied to the first key even if a PKCS#11 token returns multiple keys.

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in OpenSSH 9.6.

In ssh-agent in OpenSSH before 9.6, certain destination constraints can be incompletely applied. When destination constraints are specified during addition of PKCS#11-hosted private keys, these constraints are only applied to the first key, even if a PKCS#11 token returns multiple keys.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenBSDOpenSSH>=8.9 <9.69.6
debiandebian_linux=11.0, =12.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in OpenSSH, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-51384 severity on Zeptric[![CVE-2023-51384](https://zeptric.io/badge/cve/CVE-2023-51384.svg)](https://zeptric.io/cve/CVE-2023-51384)