CVE-2023-5178
Kernel: use after free in nvmet_tcp_free_crypto in nvme
8.8CVSSHIGH
Description
A use-after-free vulnerability was found in drivers/nvme/target/tcp.c` in `nvmet_tcp_free_crypto` due to a logical bug in the NVMe/TCP subsystem in the Linux kernel. This issue may allow a malicious user to cause a use-after-free and double-free problem, which may permit remote code execution or lead to local privilege escalation.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:HAvailabilityHigh
Weaknesses
Affected Products
and 24 more affected products View all →
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
Official Patch Available
Workaround Available
MITRE ATT&CK
2 techniques Initial Access
Privilege Escalation
References
https://access.redhat.com/errata/RHSA-2023:7370
access.redhat.com
https://access.redhat.com/errata/RHSA-2023:7379
access.redhat.com
https://access.redhat.com/errata/RHSA-2023:7418
access.redhat.com
and 525 more references View all →
Timeline
Published
Nov 1, 2023
Last Updated
Feb 18, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2023-5178 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows