The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to…
No fixed version listed yet.Check the vendor advisory. References ↓
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 relies on an insufficiently trustworthy library search path, which is the flaw. An attacker controlling a system to which an agent is forwarded can achieve remote code execution, provided the agent is forwarded to that attacker-controlled system and no authentication is required beyond that forwarding.
Official description · CVE.org
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if an agent is forwarded to an attacker-controlled system. (Code in /usr/lib is not necessarily safe for loading into ssh-agent.) NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 6 days after disclosure. Public exploit code (PoC-in-GitHub) appeared 20 days after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+6 days
- Public exploit codePoC-in-GitHub+20 days
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
A fix was bypassed or incomplete once over 7 years.
Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.
incomplete fixHigh
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Stated in the CVE text
NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.
- Same code patched: ssh-agent.1, ssh-agent.c (machine-matched)Functions: main, process_add_smartcard_keycommit 9476ce1commit f8f5a6bcommit 7bc29a9
This CVECVE-2023-38408The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an…20 Jul 2023- Stated in the CVE text
What security researchers reported
Not named in any threat report yetAlso mentioned in 15 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- 131.186.60.1231 Oct 2025
- 46.101.105.191 http://xrgfyjiwp9jhuz.potentialconnection.co.in/26 Apr 2025
- 216.70.102.87 accessdomain.com 64.207.129.1822 Apr 2025
- Eksploatacja: Java/CVE-2010-0094/CVE-2008-5353/CVE-2012-050717 Oct 2024
- [GS-435] Mirai Botnet IOCs - SEC-1275-12 Apr 2024
- [GS-434] Mirai Botnet IOCs - SEC-1275-12 Apr 2024
- 9 more on OTX