cve.bz

CVE-2019-25045 Use After Free

7.8 highExploit referenceEPSS 0.5%Fix available

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

On this page
An issue was discovered in the Linux kernel before 5.0.19. The XFRM subsystem has a use-after-free, related to an xfrm_state_fini panic, aka CID-dbb2483b2a46.

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
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
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-2019-25045 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-25045?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-25045?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-2019-25045 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 NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.0.19

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.2.6-1DEBIAN-CVE-2019-25045
Ubuntu16.04:LTSlinux4.4.0-166.195UBUNTU-CVE-2019-25045
Ubuntu16.04:LTSlinux-aws4.4.0-1096.107UBUNTU-CVE-2019-25045
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1052.54~16.04.1UBUNTU-CVE-2019-25045
Ubuntu16.04:LTSlinux-azure4.15.0-1061.66UBUNTU-CVE-2019-25045
Ubuntu16.04:LTSlinux-gcp4.15.0-1047.50UBUNTU-CVE-2019-25045
Ubuntu16.04:LTSlinux-hwe4.15.0-66.75~16.04.1UBUNTU-CVE-2019-25045
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2019-25045
Ubuntu16.04:LTSlinux-kvm4.4.0-1060.67UBUNTU-CVE-2019-25045
Ubuntu16.04:LTSlinux-oracle4.15.0-1027.30~16.04.1UBUNTU-CVE-2019-25045
Ubuntu18.04:LTSlinux4.15.0-66.75UBUNTU-CVE-2019-25045
Ubuntu18.04:LTSlinux-aws4.15.0-1052.54UBUNTU-CVE-2019-25045
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2019-25045
17 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.77.1SUSE-SU-2021:2324-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_201-8.3.1SUSE-SU-2021:2324-1
SUSELinux Enterprise Micro 5.0kernel-rt4.12.14-10.49.1SUSE-SU-2021:2349-1
SUSELinux Enterprise Real Time 12 SP5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more4.12.14-10.49.1SUSE-SU-2021:2349-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5kernel-azure, kernel-syms-azure, kernel-source-azure4.12.14-16.62.1SUSE-SU-2021:2321-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5kernel-syms, kernel-source, kernel-default4.12.14-122.77.1SUSE-SU-2021:2324-1
SUSELinux Enterprise Software Development Kit 12 SP5kernel-docs, kernel-obs-build4.12.14-122.77.1SUSE-SU-2021:2324-1

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is rated as having a Moderate impact because in the default configuration, the issue can only be triggered by a privileged local user.

For the all versions of the Red Hat Enterprise Linux 8 the fix already applied, so not affected.

For the Red Hat Enterprise Linux 7 the vulnerability not actual too, and it is known that XFRM subsystem vulnerabilities requires CAP_NET_ADMIN capability.

In order to exploit this issue the attacker needs CAP_NET_ADMIN capability, which needs to be granted especially by the administrator to the attacker's process. This in turn requires granting CAP_NET_ADMIN capability to the process' binary and/or attacker's account.

Another possibility to obtain CAP_NET_ADMIN capability in Red Hat Enterprise Linux 7 for an attacker is running a process inside a user+network namespace with mapped root privileges inside the namespace. Since Red Hat Enterprise Linux 7 does not have unprivileged user namespaces enabled by default, local or remote unprivileged users also cannot abuse namespaces to grant this capability to themselves and elevate their privileges.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot 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

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-2019-25045.

References

Check your stackJSON