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.
CVE-2023-5178
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2023-11-01. NVD baseline CVSS 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EPSS
- 94.7%
- KEV
- Not listed
Published
November 1, 2023
Last Modified
June 17, 2026
References (50)
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7370
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7379
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7418
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7548
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7549
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7551
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7554
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7557
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7559
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0340
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0378
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0386
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0412
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0431
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0432
Vendor Advisories for CVE-2023-5178(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2024:0575Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel security and bug fix update
- RHSA-2024:0412Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel security and bug fix update
- RHSA-2023:7557Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel security and bug fix update
- RHSA-2023:7370Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel security, bug fix, and enhancement update
Patch Availability(23)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(21)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2023-51782023-11-06
Kernel: use after free in nvmet_tcp_free_crypto in nvme
- Red HatRHSA-2023:7379IMPORTANT2023-10-15
RHSA-2023:7379 — Important
- Red HatRHSA-2023:7418IMPORTANT2023-10-15
RHSA-2023:7418 — Important
- Red HatRHSA-2023:7548IMPORTANT2023-10-15
RHSA-2023:7548 — Important
- Red HatRHSA-2023:7549IMPORTANT2023-10-15
RHSA-2023:7549 — Important
- Red HatRHSA-2023:7551IMPORTANT2023-10-15
RHSA-2023:7551 — Important
- Red HatRHSA-2023:7554IMPORTANT2023-10-15
RHSA-2023:7554 — Important
- Red HatRHSA-2023:7559IMPORTANT2023-10-15
RHSA-2023:7559 — Important
- Red HatRHSA-2024:0340IMPORTANT2023-10-15
RHSA-2024:0340 — Important
- Red HatRHSA-2024:0378IMPORTANT2023-10-15
RHSA-2024:0378 — Important
- Red HatRHSA-2024:0386IMPORTANT2023-10-15
RHSA-2024:0386 — Important
- Red HatRHSA-2024:0431IMPORTANT2023-10-15
RHSA-2024:0431 — Important
- Red HatRHSA-2024:0432IMPORTANT2023-10-15
RHSA-2024:0432 — Important
- Red HatRHSA-2024:0461IMPORTANT2023-10-15
RHSA-2024:0461 — Important
- Red HatRHSA-2024:0554IMPORTANT2023-10-15
RHSA-2024:0554 — Important
- Red HatRHSA-2024:1268IMPORTANT2023-10-15
RHSA-2024:1268 — Important
- Red HatRHSA-2024:1269IMPORTANT2023-10-15
RHSA-2024:1269 — Important
- Red HatRHSA-2024:1278IMPORTANT2023-10-15
RHSA-2024:1278 — Important
- UbuntuUSN-6497-1MEDIUM
Linux kernel (OEM) vulnerabilities
- UbuntuUSN-6534-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-6534-2MEDIUM
Linux kernel vulnerabilities
Data Freshness Timeline
(refreshed 10× in last 7d / 36× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 06:04 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
Show 46 moreShow fewer
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-09 16:17 UTCOSV refresh
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-24 14:40 UTCEG score recompute
- 2026-05-24 14:40 UTCVendor advisory
- 2026-05-24 14:40 UTCGHSA enrichment
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCrockrid3r/CVE-2023-5178First seen Feb 5, 2024
Exploit for CVE-2023-5178
Open source ↗
Frequently asked(5)
What is CVE-2023-5178?
When was CVE-2023-5178 disclosed?
Is CVE-2023-5178 actively exploited?
What is the CVSS score of CVE-2023-5178?
How do I remediate CVE-2023-5178?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2023-5178
Is Your Infrastructure Affected by CVE-2023-5178?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.