cve.bz

CVE-2025-37778 Use After Free

7.8 highEPSS 1.2%Fix available

High (7.8). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix dangling pointer in krb_authenticate krb_authenticate frees sess->user and does not set the pointer to NULL. It calls ksmbd_krb5_authenticate to reinitialise sess->user but that function may return without doing so. If that happens then smb2_sess_setup, which calls krb_authenticate, will be accessing free'd memory when it later uses sess->user.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-37778 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-37778?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-37778?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-37778 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux5.15 and later

Fixed in

ProductRelease lineFixed in
Linux5.155.15.203
Linux6.16.1.135
Linux6.66.6.88
Linux6.126.12.25
Linux6.146.14.4
Linuxlater releases6.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux-6.16.1.137-1~deb11u1DLA-4193-1
Debian12linux6.1.135-1DEBIAN-CVE-2025-37778
Debian13, 14linux6.12.25-1DEBIAN-CVE-2025-37778
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-37778
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-37778
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-37778
Ubuntu22.04:LTSlinux5.15.0-185.195UBUNTU-CVE-2025-37778 USN-8493-1
Ubuntu22.04:LTSlinux-aws5.15.0-1111.118UBUNTU-CVE-2025-37778 USN-8493-1
Ubuntu22.04:LTSlinux-aws-6.8, linux-nvidia-6.86.8.0-1046.49~22.04.1UBUNTU-CVE-2025-37778 USN-8028-5
Ubuntu22.04:LTSlinux-azure, linux-azure-fde5.15.0-1116.125UBUNTU-CVE-2025-37778 USN-8493-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1051.57~22.04.1UBUNTU-CVE-2025-37778 USN-8126-1
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1046.53~22.04.1UBUNTU-CVE-2025-37778
Ubuntu22.04:LTSlinux-gcp5.15.0-1111.121UBUNTU-CVE-2025-37778 USN-8493-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1047.50~22.04.2UBUNTU-CVE-2025-37778 USN-8031-1
Ubuntu22.04:LTSlinux-gke5.15.0-1107.113UBUNTU-CVE-2025-37778 USN-8493-1
99 more for Ubuntu in the JSON and on Ubuntu's page.
Alpaquita23linux-lts6.1.140-r0BELL-CVE-2025-37778
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2025-37778
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-37778

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability does not affect supported Red Hat Enterprise Linux kernels because the in-kernel SMB server (ksmbd) is not enabled or distributed in Red Hat products. The flaw involves a use-after-free condition during Kerberos authentication handling within the ksmbd network service, which could allow an attacker to cause system instability or memory corruption on systems running upstream kernels with ksmbd active. Because Red Hat relies on user-space Samba implementations rather than the in-kernel SMB service, Red Hat systems remain unaffected.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-37778.

References

Check your stackJSON