CVE-2026-43112

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

8.8 high EPSS 0.35%

Published 6 May 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-43112

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-43112 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
8.1 high CVSS 3.1 from redhat-SADP
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.35%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c63433a09d6ae4c226fcbc66da4c58fc189fd746, before a2ba20c17de8eb028f96b1d85f119d3d25655bd9
affected from a31080899d5fdafcccf7f39dd214a814a2c82626, before fbced33599653471b4581dfe1abc7b467031f126
affected from a31080899d5fdafcccf7f39dd214a814a2c82626, before 5d4fe469fe7dbff7d874c196bb680a82f2625d95
affected from a31080899d5fdafcccf7f39dd214a814a2c82626, before 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439
affected from a31080899d5fdafcccf7f39dd214a814a2c82626, before 86f9c23e0814cfdffda9eedf0c591c51ba209010
affected from a31080899d5fdafcccf7f39dd214a814a2c82626, before 49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3
affected from a31080899d5fdafcccf7f39dd214a814a2c82626, before 78ec5bf2f589ec7fd8f169394bfeca541b077317
affected from 5.15.11, before 5.15.209
Other versions: unaffected
Linux
affected 5.16
unaffected before 5.16
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.136 up to and including 6.6.*
unaffected from 6.12.83 up to and including 6.12.*
unaffected from 6.18.24 up to and including 6.18.*
unaffected from 6.19.14 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-43112 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-43112

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-43112
trivy image --scanners vuln IMAGE | grep CVE-2026-43112

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

18 more

Other references

Source: the record CVE-2026-43112 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.