Security advisory
OpenSSH 7.7 through 7.9 and 8.x before 8.1, when compiled with an experimental key type, has a pre-authentication integer overflow if a client or server is configured to use a crafted XMSS key. This leads to memory corruption and local code execution because of an error in the XMSS key parsing algorithm. NOTE: the XMSS implementation is considered experimental in all released OpenSSH versions, and there is no supported way to enable it when building portable OpenSSH.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-16905
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:26 UTC · Revision 1
Source evidence
OpenSSH 7.7 through 7.9 and 8.x before 8.1, when compiled with an experimental key type, has a pre-authentication integer overflow if a client or server is configured to use a crafted XMSS key. This leads to memory corruption and local code execution because of an error in the XMSS key parsing algorithm. NOTE: the XMSS implementation is considered experimental in all released OpenSSH versions, and there is no supported way to enable it when building portable OpenSSH.
osv:CVE-2019-16905
Complete source record
{
"id": "bf2d6935fea9bb985f29700d9e602a28f6b906e29018e200c185c49fbe5a4cac",
"url": "https://osv.dev/vulnerability/CVE-2019-16905",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-16905",
"summary": "OpenSSH 7.7 through 7.9 and 8.x before 8.1, when compiled with an experimental key type, has a pre-authentication integer overflow if a client or server is configured to use a crafted XMSS key. This leads to memory corruption and local code execution because of an error in the XMSS key parsing algorithm. NOTE: the XMSS implementation is considered experimental in all released OpenSSH versions, and there is no supported way to enable it when building portable OpenSSH.",
"evidence": "osv:CVE-2019-16905",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-16905",
"aliases": [
"CVE-2019-16905"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openssh/openssh-portable",
"type": "GIT",
"events": [
{
"introduced": "a0349a1cc4a18967ad1dbff5389bcdf9da098814"
},
{
"last_affected": "aede1c34243a6f7feae2fb2cb686ade5f9be6f3d"
},
{
"introduced": "fd0fa130ecf06d7d092932adcd5d77f1549bfc8d"
},
{
"fixed": "cdf1d0a9f5d18535e0a18ff34860e81a6d83aa5c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.7"
},
{
"last_affected": "7.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0"
},
{
"fixed": "8.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"V_8_0_P1",
"V_7_9_P1",
"V_7_8_P1",
"V_7_7_P1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16905.json"
}
}
],
"modified": "2026-10-24T10:30:28.760946023Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
"https://cert-portal.siemens.com/productcert/html/ssa-412672.html",
"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf",
"https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/sshkey-xmss.c",
"https://security.gentoo.org/glsa/201911-01",
"https://security.netapp.com/advisory/ntap-20191024-0003/",
"https://www.openssh.com/releasenotes.html",
"https://www.openwall.com/lists/oss-security/2019/10/09/1",
"https://bugzilla.suse.com/show_bug.cgi?id=1153537",
"https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/sshkey-xmss.c.diff?r1=1.5&r2=1.6&f=h",
"https://ssd-disclosure.com/archives/4033/ssd-advisory-openssh-pre-auth-xmss-integer-overflow"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:siemens:scalance_x204rna_ecc_firmware:*:*:*:*:*:*:*:*"
],
"vendor_product": "siemens:scalance_x204rna_ecc_firmware",
"extracted_events": [
{
"range": [
{
"fixed": "3.2.7"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:siemens:scalance_x204rna_firmware:*:*:*:*:*:*:*:*"
],
"vendor_product": "siemens:scalance_x204rna_firmware",
"extracted_events": [
{
"range": [
{
"fixed": "3.2.7"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-16905",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432131,
"published_at": "2019-10-09T20:15:23.503+00:00"
}