Back to CVE records
High 8.8Published May 6, 2026

CVE-2026-43112fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath

Updated under an hour ago ()

Does this affect you?

It affects Linux and 10 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

In the Linux kernel, the following vulnerability has been resolved: fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath When cifs_sanitize_prepath is called with an empty string or a string containing only delimiters (e.g., "/"), the current logic attempts to check *(cursor2 - 1) before cursor2 has advanced. This results in an out-of-bounds read. This patch adds an early exit check after stripping prepended delimiters. If no path content remains, the function returns NULL. The bug was identified via manual audit and verified using a standalone test case compiled with AddressSanitizer, which triggered a SEGV on affected inputs.

CVSS
8.8 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-125
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 16, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from c63433a09d6ae4c226fcbc66da4c58fc189fd746 before a2ba20c17de8eb028f96b1d85f119d3d25655bd9; from a31080899d5fdafcccf7f39dd214a814a2c82626 before fbced33599653471b4581dfe1abc7b467031f126; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 5d4fe469fe7dbff7d874c196bb680a82f2625d95; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 86f9c23e0814cfdffda9eedf0c591c51ba209010; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 78ec5bf2f589ec7fd8f169394bfeca541b077317; from 5.15.11 before 5.15.209
CNA record
from 0:6.12.0-211.30.1.el10_2 not affected
CISA ADP
from 0:6.12.0-55.95.1.el10_0 not affected
CISA ADP
from 0:4.18.0-372.206.1.el8_6 not affected
CISA ADP
from 0:4.18.0-372.206.1.el8_6 not affected
CISA ADP
from 0:4.18.0-477.158.1.el8_8 not affected
CISA ADP
from 0:4.18.0-477.158.1.el8_8 not affected
CISA ADP
from 0:5.14.0-570.134.1.el9_6 not affected
CISA ADP
from 412.86.202608241157-0 not affected
CISA ADP
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name)
all versions
CISA ADP
linux linux_kernel
linux:linux_kernel
from 5.16.1 before 6.6.136; from 6.7 before 6.12.83; from 6.13 before 6.18.24; from 6.19 before 6.19.14; 5.16; 5.16; 5.16; 5.16; and 6 more ranges
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.