CVEMETERBack to radar
OFFICIAL RECORD · OpenSSH

CVE-2023-38408

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 9.8 · critical

OpenSSH · CVE-2023-38408

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 79.700% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 9.8 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T11:59:08.734Z

CVSS 3.1 · 9.8 · published by 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T11:59:08.734Z

CVSS 3.1 · 9.8 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T16:01:40.017Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T11:59:08.734ZNVD
epssverified2026-11-19T16:04:36.838ZFIRST EPSS
patchesverified2026-11-19T16:01:40.017ZUbuntu Security
affectedverified2026-11-19T12:01:24.775ZCVE Program
lifecycleverified2026-11-19T12:01:24.775ZCVE Program

Affected versions and configuration

n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "openssh",
    "debian": "https://tracker.debian.org/pkg/openssh",
    "source": "https://ubuntu.com/security/cve?package=openssh",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=openssh",
    "statuses": [
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:9.3p1-1ubuntu2",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "9.3p2",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:8.2p1-4ubuntu0.8",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:8.9p1-3ubuntu0.3",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:9.0p1-1ubuntu8.4",
        "release_codename": "lunar"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life",
        "release_codename": "kinetic"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "1:7.6p1-4ubuntu0.7+esm1",
        "release_codename": "bionic"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "1:6.6p1-2ubuntu2.13+esm1",
        "release_codename": "trusty"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "1:7.2p2-4ubuntu2.10+esm3",
        "release_codename": "xenial"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:9.3p1-1ubuntu2",
        "release_codename": "mantic"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:9.3p1-1ubuntu2",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:9.3p1-1ubuntu2",
        "release_codename": "oracular"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:9.3p1-1ubuntu2",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:9.3p1-1ubuntu2",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:9.3p1-1ubuntu2",
        "release_codename": "resolute"
      }
    ]
  }
]
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2023-38408",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:9.3p2-1"
            }
          ]
        }
      ],
      "package": {
        "name": "openssh",
        "purl": "pkg:deb/debian/openssh?arch=source&distro=trixie",
        "ecosystem": "Debian:13"
      },
      "versions": [],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-38408.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2023-38408"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2023-38408",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2023-38408",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:9.2p1-2+deb12u1"
            }
          ]
        }
      ],
      "package": {
        "name": "openssh",
        "purl": "pkg:deb/debian/openssh?arch=source&distro=bookworm",
        "ecosystem": "Debian:12"
      },
      "versions": [
        "1:9.2p1-2"
      ],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-38408.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2023-38408"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2023-38408",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "n/a",
      "product": "n/a",
      "versions": [
        {
          "status": "affected",
          "version": "n/a"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://news.ycombinator.com/item?id=36790196",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://blog.qualys.com/vulnerabilities-threat-research/2023/07/19/cve-2023-38408-remote-code-execution-in-opensshs-forwarded-ssh-agent",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.qualys.com/2023/07/19/cve-2023-38408/rce-openssh-forwarded-ssh-agent.txt",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/openbsd/src/commit/f8f5a6b003981bb824329dc987d101977beda7ca",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/openbsd/src/commit/7bc29a9d5cd697290aa056e94ecee6253d3425f8",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/openbsd/src/commit/f03a4faa55c4ce0818324701dadbf91988d7351d",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.openssh.com/txt/release-9.3p2",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.openssh.com/security.html",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://security.gentoo.org/glsa/202307-01",
          "name": "GLSA-202307-01",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2023/07/20/1",
          "name": "[oss-security] 20230719 Re: CVE-2023-38408: Remote Code Execution in OpenSSH's forwarded ssh-agent",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2023/07/20/2",
          "name": "[oss-security] 20230720 Re: Announce: OpenSSH 9.3p2 released",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAXVQS6ZYTULFAK3TEJHRLKZALJS3AOU/",
          "name": "FEDORA-2023-878e04f4ae",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CEBTJJINE2I3FHAUKKNQWMFGYMLSMWKQ/",
          "name": "FEDORA-2023-79a18e1725",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20230803-0010/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2023/08/msg00021.html",
          "name": "[debian-lts-announce] 20230817 [SECURITY] [DLA 3532-1] openssh security update",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2023/09/22/9",
          "name": "[oss-security] 20230922 Re: illumos (or at least danmcd) membership in the distros list",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2023/09/22/11",
          "name": "[oss-security] 20230922 Re: illumos (or at least danmcd) membership in the distros list",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "https://support.apple.com/kb/HT213940",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.vicarius.io/vsociety/posts/exploring-opensshs-agent-forwarding-rce-cve-2023-38408",
          "tags": [
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-02T17:39:13.525Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 9.8,
            "attackVector": "NETWORK",
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "integrityImpact": "HIGH",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2023-38408",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2024-10-15T17:36:21.400489Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-428",
              "description": "CWE-428 Unquoted Search Path or Element"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2024-10-15T18:33:21.591Z"
      }
    },
    {
      "affected": [
        {
          "vendor": "Siemens",
          "product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIPLUS S7-1500 CPU 1518-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        }
      ],
      "x_adpType": "supplier",
      "references": [
        {
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-398330.html"
        }
      ],
      "providerMetadata": {
        "orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
        "shortName": "siemens-SADP",
        "dateUpdated": "2026-10-14T23:35:00.114Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "BF546253-FE80-4416-A138-D79D7288229F",
            "versionEndExcluding": "9.3"
          },
          {
            "criteria": "cpe:2.3:a:openbsd:openssh:9.3:-:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "031E80CD-A7CF-447A-AEEF-EB97EB99A762"
          },
          {
            "criteria": "cpe:2.3:a:openbsd:openssh:9.3:p1:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "97FEC052-52ED-464F-AF19-3621775292D6"
          }
        ],
        "operator": "OR"
      }
    ]
  },
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "E30D0E6F-4AE8-4284-8716-991DFA48CC5D"
          },
          {
            "criteria": "cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "CC559B26-5DFC-4B7A-A27C-B77DE755DFF9"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
distribution-packageUbuntu / stonkingopensshsecurity1:9.3p1-1ubuntu2Official record
upstream-noteupstream / upstreamopensshNot a distribution channel9.3p2Official record
distribution-packageUbuntu / focalopensshsecurity1:8.2p1-4ubuntu0.8Official record
distribution-packageUbuntu / jammyopensshsecurity1:8.9p1-3ubuntu0.3Official record
distribution-packageUbuntu / lunaropensshsecurity1:9.0p1-1ubuntu8.4Official record
distribution-packageUbuntu / bionicopensshesm-infra1:7.6p1-4ubuntu0.7+esm1Official record
distribution-packageUbuntu / trustyopensshesm-infra1:6.6p1-2ubuntu2.13+esm1Official record
distribution-packageUbuntu / xenialopensshesm-infra1:7.2p2-4ubuntu2.10+esm3Official record
distribution-packageUbuntu / manticopensshsecurity1:9.3p1-1ubuntu2Official record
distribution-packageUbuntu / nobleopensshsecurity1:9.3p1-1ubuntu2Official record
distribution-packageUbuntu / oracularopensshsecurity1:9.3p1-1ubuntu2Official record
distribution-packageUbuntu / pluckyopensshsecurity1:9.3p1-1ubuntu2Official record
distribution-packageUbuntu / questingopensshsecurity1:9.3p1-1ubuntu2Official record
distribution-packageUbuntu / resoluteopensshsecurity1:9.3p1-1ubuntu2Official record
ecosystem-boundaryDebian:13 / 13opensshunknown1:9.3p2-1Official record
ecosystem-boundaryDebian:12 / 12opensshunknown1:9.2p1-2+deb12u1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history