{"id":"CVE-2016-10009","published":"2017-01-05T00:00:00Z","modified":"2026-05-29T20:23:51Z","title":"Untrusted search path vulnerability in ssh-agent.c in ssh-agent in OpenSSH before 7.4 allows remote attackers to…","vendor":null,"product":null,"tier":"tail","description":{"text":"Untrusted search path vulnerability in ssh-agent.c in ssh-agent in OpenSSH before 7.4 allows remote attackers to execute arbitrary local PKCS#11 modules by leveraging control over a forwarded agent-socket.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.37431,"percentile":0.98565,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/openbsd/src/commit/9476ce1dd37d3c3218d5640b74c34c65e5f4efe5","tags":[]},{"url":"https://www.exploit-db.com/exploits/40963/","tags":["exploit"]},{"url":"https://security.netapp.com/advisory/ntap-20171130-0002/","tags":[]},{"url":"http://www.securityfocus.com/bid/94968","tags":["vdb-entry"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/19/2","tags":["mailing-list"]},{"url":"http://www.securitytracker.com/id/1037490","tags":["vdb-entry"]},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us","tags":[]},{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-17:01.openssh.asc","tags":["vendor-advisory"]},{"url":"https://usn.ubuntu.com/3538-1/","tags":["vendor-advisory"]},{"url":"http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2017:2029","tags":["vendor-advisory"]},{"url":"http://packetstormsecurity.com/files/140261/OpenSSH-Arbitrary-Library-Loading.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html","tags":["mailing-list"]},{"url":"https://www.openssh.com/txt/release-7.4","tags":[]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1009","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/19/9","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2023/Jul/31","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/20/1","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html","tags":[]}],"priority":{"score":29.8,"factors":[{"name":"EPSS percentile","points":19.71},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-12-23"},"first":{"date":"2016-12-23","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/40963"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-29T20:23:45.471372Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is an untrusted search path in ssh-agent.c within ssh-agent in OpenSSH, affecting versions before 7.4. An attacker with control over a forwarded agent socket can cause the agent to load and execute arbitrary local PKCS#11 modules, and the attack requires remote access to that forwarded socket with no authentication or user interaction indicated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:28:15Z"},"euvd":{"id":"EUVD-2016-1206","exploited":false,"provenance":"source"},"exploits":[{"id":40963,"url":"https://www.exploit-db.com/exploits/40963","title":"OpenSSH < 7.4 - agent Protocol Arbitrary Library Loading","date":"2016-12-23","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/40963/","http://packetstormsecurity.com/files/140261/OpenSSH-Arbitrary-Library-Loading.html","http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html"],"lineage":{"familyId":"fam-cve-2016-10009-family-cve-2016-10009","children":[{"from":"CVE-2016-10009","to":"CVE-2023-38408","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.","from":"CVE.org","in":"CVE-2023-38408"},{"kind":"same-code","provenance":"machine","files":["usr.bin/ssh/ssh-agent.1","usr.bin/ssh/ssh-agent.c"],"commits":["https://github.com/openbsd/src/commit/9476ce1dd37d3c3218d5640b74c34c65e5f4efe5","https://github.com/openbsd/src/commit/f8f5a6b003981bb824329dc987d101977beda7ca","https://github.com/openbsd/src/commit/7bc29a9d5cd697290aa056e94ecee6253d3425f8"],"basis":"shared function","functions":["main","process_add_smartcard_key"]}]}]}}