Buffer overflow in Linux Kernel
CVE-2022-27666
A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c and net/ipv6/esp6.c. This flaw allows a local attacker with a normal user privilege to overwrite kernel heap objects and may cause a local privilege escalation threat.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.055, 92.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- plummm/CVE-2022-27666 (207 stars, last pushed 2022-03-28): Exploit for CVE-2022-27666
- Albocoder/cve-2022-27666-exploits (2 stars, last pushed 2023-04-11): There are 2 exploitation methods that exploit CVE-2022-27666. For more info on how to use these code bases please check my blog.
- ngtuonghung/CVE-2022-27666 (last pushed 2026-05-12)
Also mentioned in 57 other repositories (0xMarcio/cve, 0xor0ne/awesome-list, 20142995/sectool, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/torvalds/linux/commit/ebe48d368e97d007bfeb76fcb065d6cfc4c96645 (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220429-0001/ (Third Party Advisory)
- DSA-5127 (vendor-advisory, Third Party Advisory)
- DSA-5173 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.