CVE-2026-31708 (GCVE-0-2026-31708)
Vulnerability from cvelistv5 – Published: 2026-05-01 13:56 – Updated: 2026-10-19 19:06- CWE-125 - Out-of-bounds Read
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
f5778c398713692a16150ae96e5c8270bab8399f , < e66bdc0704977ecee667a81d38255b579c2353d0
(git)
Affected: f5778c398713692a16150ae96e5c8270bab8399f , < 9e203dbb5402897c43130fb171a2617008a91f45 (git) Affected: f5778c398713692a16150ae96e5c8270bab8399f , < 1dd757379997b71a328a4b591ffaf481acd0ead1 (git) Affected: f5778c398713692a16150ae96e5c8270bab8399f , < a34d456934fe42e4da5d2cc07787bf418bee99c6 (git) Affected: f5778c398713692a16150ae96e5c8270bab8399f , < ac2f14e4705d020f04e806efa0d49ab8dc2b145f (git) Affected: f5778c398713692a16150ae96e5c8270bab8399f , < 078fae8f50adebb903ccf2252b44391324571e78 (git) Affected: f5778c398713692a16150ae96e5c8270bab8399f , < 85fd46ee26a11841c670449508025965f61ce131 (git) Affected: f5778c398713692a16150ae96e5c8270bab8399f , < a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e (git) |
guessed | |
| Linux | Linux |
Affected:
5.1
Unaffected: 0 , < 5.1 (semver) Unaffected: 5.10.259 , ≤ 5.10.* (semver) Unaffected: 5.15.210 , ≤ 5.15.* (semver) Unaffected: 6.1.175 , ≤ 6.1.* (semver) Unaffected: 6.6.136 , ≤ 6.6.* (semver) Unaffected: 6.12.84 , ≤ 6.12.* (semver) Unaffected: 6.18.25 , ≤ 6.18.* (semver) Unaffected: 7.0.2 , ≤ 7.0.* (semver) Unaffected: 7.1 , ≤ * (original_commit_for_fix) |
guessed | |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem |
Affected:
0 , < *
(custom)
|
guessed |
{
"containers": {
"adp": [
{
"affected": [
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 TM MFP - GNU/Linux subsystem",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T01:18:04.567Z",
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP"
},
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-784472.html"
}
],
"x_adpType": "supplier"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-31708",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-16T15:12:45.456025Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-125",
"description": "CWE-125 Out-of-bounds Read",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-19T19:06:06.825Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "e66bdc0704977ecee667a81d38255b579c2353d0",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "9e203dbb5402897c43130fb171a2617008a91f45",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "1dd757379997b71a328a4b591ffaf481acd0ead1",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "a34d456934fe42e4da5d2cc07787bf418bee99c6",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "ac2f14e4705d020f04e806efa0d49ab8dc2b145f",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "078fae8f50adebb903ccf2252b44391324571e78",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "85fd46ee26a11841c670449508025965f61ce131",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.1"
},
{
"lessThan": "5.1",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.175",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.136",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.84",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.25",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.259",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.210",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.175",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.136",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.84",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.25",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.2",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1",
"versionStartIncluding": "5.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path\n\nsmb2_ioctl_query_info() has two response-copy branches: PASSTHRU_FSCTL\nand the default QUERY_INFO path. The QUERY_INFO branch clamps\nqi.input_buffer_length to the server-reported OutputBufferLength and then\ncopies qi.input_buffer_length bytes from qi_rsp-\u003eBuffer to userspace, but\nit never verifies that the flexible-array payload actually fits within\nrsp_iov[1].iov_len.\n\nA malicious server can return OutputBufferLength larger than the actual\nQUERY_INFO response, causing copy_to_user() to walk past the response\nbuffer and expose adjacent kernel heap to userspace.\n\nGuard the QUERY_INFO copy with a bounds check on the actual Buffer\npayload. Use struct_size(qi_rsp, Buffer, qi.input_buffer_length)\nrather than an open-coded addition so the guard cannot overflow on\n32-bit builds."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The attacker-controlled data is an SMB2 QUERY_INFO response sent by a remote SMB server to the kernel SMB client over the network. The vulnerable copy is reached after the client issues the ioctl-triggered compound open/query/close request.\nAC:L - There is no race or fragile timing requirement; a malicious server controls the malformed response fields and can reliably make the advertised copy length exceed the actual response payload. CIFS/SMB client support is common and the affected SMB2+ path is not a rare configuration.\nPR:N - The malicious SMB server needs no privileges on the vulnerable client. The affected PASSTHRU_QUERY_INFO branch has no CAP_SYS_ADMIN check, unlike the FSCTL and SET_INFO branches.\nUI:R - A victim or local process must have mounted/accessed the SMB share and issued the CIFS_QUERY_INFO ioctl. The malicious server cannot reach this ioctl path entirely unsolicited.\nS:U - The impact is within the vulnerable kernel/client system security scope. This is not a VM escape, IOMMU bypass, or cross-authority boundary violation.\nC:H - The bug is an out-of-bounds kernel read copied to userspace from beyond the received SMB response buffer. The overread can expose adjacent kernel heap data and is not strictly bounded to only a few harmless bytes.\nI:N - The vulnerable operation is a read from kernel memory followed by copy_to_user. It does not provide a kernel write primitive or direct data modification.\nA:H - The same attacker-controlled length can drive copy_to_user far beyond the valid response buffer. That can trigger kernel faults or hardened usercopy failures, so a kernel crash is a defensible impact."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T12:24:43.143Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/e66bdc0704977ecee667a81d38255b579c2353d0"
},
{
"url": "https://git.kernel.org/stable/c/9e203dbb5402897c43130fb171a2617008a91f45"
},
{
"url": "https://git.kernel.org/stable/c/1dd757379997b71a328a4b591ffaf481acd0ead1"
},
{
"url": "https://git.kernel.org/stable/c/a34d456934fe42e4da5d2cc07787bf418bee99c6"
},
{
"url": "https://git.kernel.org/stable/c/ac2f14e4705d020f04e806efa0d49ab8dc2b145f"
},
{
"url": "https://git.kernel.org/stable/c/078fae8f50adebb903ccf2252b44391324571e78"
},
{
"url": "https://git.kernel.org/stable/c/85fd46ee26a11841c670449508025965f61ce131"
},
{
"url": "https://git.kernel.org/stable/c/a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e"
}
],
"title": "smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-31708",
"datePublished": "2026-05-01T13:56:05.880Z",
"dateReserved": "2026-03-09T15:48:24.132Z",
"dateUpdated": "2026-10-19T19:06:06.825Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-31708",
"date": "2026-11-19",
"epss": "0.00352",
"percentile": "0.29493"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "e66bdc0704977ecee667a81d38255b579c2353d0",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "9e203dbb5402897c43130fb171a2617008a91f45",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "1dd757379997b71a328a4b591ffaf481acd0ead1",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "a34d456934fe42e4da5d2cc07787bf418bee99c6",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "ac2f14e4705d020f04e806efa0d49ab8dc2b145f",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "078fae8f50adebb903ccf2252b44391324571e78",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "85fd46ee26a11841c670449508025965f61ce131",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.1"
},
{
"lessThan": "5.1",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.175",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.136",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.84",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.25",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"affectedData": [
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 TM MFP - GNU/Linux subsystem",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"source": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "B28CAC2A-4B06-4D07-8736-82E515099010",
"versionEndExcluding": "6.6.136",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "D4ECA0DE-AFF5-4688-B219-4CA2336CA5B7",
"versionEndExcluding": "6.12.84",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "8B0A7E0E-F6D8-45DB-8CD9-01839FE40A6C",
"versionEndExcluding": "6.18.25",
"versionStartIncluding": "6.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "1BD58F1E-7C20-4C0D-92A2-FAC5CBFBE8A8",
"versionEndExcluding": "7.0.2",
"versionStartIncluding": "6.19",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path\n\nsmb2_ioctl_query_info() has two response-copy branches: PASSTHRU_FSCTL\nand the default QUERY_INFO path. The QUERY_INFO branch clamps\nqi.input_buffer_length to the server-reported OutputBufferLength and then\ncopies qi.input_buffer_length bytes from qi_rsp-\u003eBuffer to userspace, but\nit never verifies that the flexible-array payload actually fits within\nrsp_iov[1].iov_len.\n\nA malicious server can return OutputBufferLength larger than the actual\nQUERY_INFO response, causing copy_to_user() to walk past the response\nbuffer and expose adjacent kernel heap to userspace.\n\nGuard the QUERY_INFO copy with a bounds check on the actual Buffer\npayload. Use struct_size(qi_rsp, Buffer, qi.input_buffer_length)\nrather than an open-coded addition so the guard cannot overflow on\n32-bit builds."
},
{
"lang": "es",
"value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsmb: cliente: corregir lectura fuera de l\u00edmites en la ruta QUERY_INFO de smb2_ioctl_query_info\n\nsmb2_ioctl_query_info() tiene dos ramas de copia de respuesta: PASSTHRU_FSCTL y la ruta QUERY_INFO predeterminada. La rama QUERY_INFO limita qi.input_buffer_length a la OutputBufferLength reportada por el servidor y luego copia qi.input_buffer_length bytes de qi_rsp -\u003e Buffer al espacio de usuario, pero nunca verifica que la carga \u00fatil del array flexible realmente quepa dentro de rsp_iov[1].iov_len.\n\nUn servidor malicioso puede devolver una OutputBufferLength mayor que la respuesta QUERY_INFO real, haciendo que copy_to_user() se desplace m\u00e1s all\u00e1 del b\u00fafer de respuesta y exponga el heap adyacente del kernel al espacio de usuario.\n\nProteger la copia QUERY_INFO con una comprobaci\u00f3n de l\u00edmites en la carga \u00fatil real del Buffer. Usar struct_size(qi_rsp, Buffer, qi.input_buffer_length) en lugar de una adici\u00f3n codificada abiertamente para que la protecci\u00f3n no pueda desbordarse en compilaciones de 32 bits."
}
],
"id": "CVE-2026-31708",
"lastModified": "2026-11-11T21:10:00.200",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 5.2,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-31708",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-16T15:12:45.456025Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-05-01T14:16:20.837",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/078fae8f50adebb903ccf2252b44391324571e78"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1dd757379997b71a328a4b591ffaf481acd0ead1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/85fd46ee26a11841c670449508025965f61ce131"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9e203dbb5402897c43130fb171a2617008a91f45"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/a34d456934fe42e4da5d2cc07787bf418bee99c6"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/ac2f14e4705d020f04e806efa0d49ab8dc2b145f"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/e66bdc0704977ecee667a81d38255b579c2353d0"
},
{
"source": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"url": "https://cert-portal.siemens.com/productcert/html/ssa-784472.html"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-125"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
},
{
"description": [
{
"lang": "en",
"value": "CWE-125"
}
],
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-07T04:37:28+00:00",
"cve": "CVE-2026-31708",
"id": "CVE-2026-31708",
"initial_release_date": "2026-05-01T00:00:00+00:00",
"product_status:known_affected": "158",
"product_status:known_not_affected": "42",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31708.json",
"version": "3"
},
"vulnrichment": {
"containers": {
"adp": [
{
"affected": [
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 TM MFP - GNU/Linux subsystem",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T01:18:04.567Z",
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP"
},
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-784472.html"
}
],
"x_adpType": "supplier"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-31708",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-16T15:12:45.456025Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-125",
"description": "CWE-125 Out-of-bounds Read",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-16T15:12:46.011Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "e66bdc0704977ecee667a81d38255b579c2353d0",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "9e203dbb5402897c43130fb171a2617008a91f45",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "1dd757379997b71a328a4b591ffaf481acd0ead1",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "a34d456934fe42e4da5d2cc07787bf418bee99c6",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "ac2f14e4705d020f04e806efa0d49ab8dc2b145f",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "078fae8f50adebb903ccf2252b44391324571e78",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "85fd46ee26a11841c670449508025965f61ce131",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
},
{
"lessThan": "a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e",
"status": "affected",
"version": "f5778c398713692a16150ae96e5c8270bab8399f",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.1"
},
{
"lessThan": "5.1",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.175",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.136",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.84",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.25",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.259",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.210",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.175",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.136",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.84",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.25",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.2",
"versionStartIncluding": "5.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1",
"versionStartIncluding": "5.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path\n\nsmb2_ioctl_query_info() has two response-copy branches: PASSTHRU_FSCTL\nand the default QUERY_INFO path. The QUERY_INFO branch clamps\nqi.input_buffer_length to the server-reported OutputBufferLength and then\ncopies qi.input_buffer_length bytes from qi_rsp-\u003eBuffer to userspace, but\nit never verifies that the flexible-array payload actually fits within\nrsp_iov[1].iov_len.\n\nA malicious server can return OutputBufferLength larger than the actual\nQUERY_INFO response, causing copy_to_user() to walk past the response\nbuffer and expose adjacent kernel heap to userspace.\n\nGuard the QUERY_INFO copy with a bounds check on the actual Buffer\npayload. Use struct_size(qi_rsp, Buffer, qi.input_buffer_length)\nrather than an open-coded addition so the guard cannot overflow on\n32-bit builds."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The attacker-controlled data is an SMB2 QUERY_INFO response sent by a remote SMB server to the kernel SMB client over the network. The vulnerable copy is reached after the client issues the ioctl-triggered compound open/query/close request.\nAC:L - There is no race or fragile timing requirement; a malicious server controls the malformed response fields and can reliably make the advertised copy length exceed the actual response payload. CIFS/SMB client support is common and the affected SMB2+ path is not a rare configuration.\nPR:N - The malicious SMB server needs no privileges on the vulnerable client. The affected PASSTHRU_QUERY_INFO branch has no CAP_SYS_ADMIN check, unlike the FSCTL and SET_INFO branches.\nUI:R - A victim or local process must have mounted/accessed the SMB share and issued the CIFS_QUERY_INFO ioctl. The malicious server cannot reach this ioctl path entirely unsolicited.\nS:U - The impact is within the vulnerable kernel/client system security scope. This is not a VM escape, IOMMU bypass, or cross-authority boundary violation.\nC:H - The bug is an out-of-bounds kernel read copied to userspace from beyond the received SMB response buffer. The overread can expose adjacent kernel heap data and is not strictly bounded to only a few harmless bytes.\nI:N - The vulnerable operation is a read from kernel memory followed by copy_to_user. It does not provide a kernel write primitive or direct data modification.\nA:H - The same attacker-controlled length can drive copy_to_user far beyond the valid response buffer. That can trigger kernel faults or hardened usercopy failures, so a kernel crash is a defensible impact."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T12:24:43.143Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/e66bdc0704977ecee667a81d38255b579c2353d0"
},
{
"url": "https://git.kernel.org/stable/c/9e203dbb5402897c43130fb171a2617008a91f45"
},
{
"url": "https://git.kernel.org/stable/c/1dd757379997b71a328a4b591ffaf481acd0ead1"
},
{
"url": "https://git.kernel.org/stable/c/a34d456934fe42e4da5d2cc07787bf418bee99c6"
},
{
"url": "https://git.kernel.org/stable/c/ac2f14e4705d020f04e806efa0d49ab8dc2b145f"
},
{
"url": "https://git.kernel.org/stable/c/078fae8f50adebb903ccf2252b44391324571e78"
},
{
"url": "https://git.kernel.org/stable/c/85fd46ee26a11841c670449508025965f61ce131"
},
{
"url": "https://git.kernel.org/stable/c/a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e"
}
],
"title": "smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-31708",
"datePublished": "2026-05-01T13:56:05.880Z",
"dateReserved": "2026-03-09T15:48:24.132Z",
"dateUpdated": "2026-10-19T19:06:06.825Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.