CVE-2023-5178: Red Hat Enterprise Linux 8 · Use After Free
Affects Red Hat Enterprise Linux 8Source CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 21 Nov 2026, 17:34 UTC
- EPSS
- 9.6% chance of exploitation in 30 days – higher than 95% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Nov 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
AI-suggested
- Apply official patches from Red Hat as soon as they are released to address the vulnerability in the NVMe/TCP subsystem.
- Until patches are available, consider disabling the NVMe/TCP target driver if it is not essential to operations to reduce the attack surface.
- Restrict network access to NVMe/TCP services using firewalls and network segmentation to limit exposure to untrusted networks.
- Monitor system logs and network traffic for unusual activity related to NVMe/TCP connections or memory corruption indicators.
- Employ intrusion detection and prevention systems tuned to detect exploitation attempts targeting kernel memory corruption.
- Enforce the principle of least privilege to minimize the number of users with the ability to interact with vulnerable components.
- Conduct thorough vulnerability assessments and penetration testing focused on kernel-level vulnerabilities and NVMe/TCP configurations.
- Maintain up-to-date backups and incident response plans to quickly recover from potential exploitation.
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.
References
- access.redhat.com/errata/RHSA-2023:7370 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7379 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7418 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7548 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7549 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7551 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7554 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7557 (opens in a new tab)
- access.redhat.com/errata/RHSA-2023:7559 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0340 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0378 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0386 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0412 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0431 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0432 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0461 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0554 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0575 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1268 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1269 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1278 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2023-5178 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2241924 (opens in a new tab)
- lore.kernel.org/linux-nvme/20231002105428.226515-1-sagi@grimberg.me/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/01/msg00005.html (opens in a new tab)
- security.netapp.com/advisory/ntap-20231208-0004/ (opens in a new tab)