{"id":"CVE-2022-27666","title":"A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c and net/ipv6/esp6.c","summary":"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 privileg…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-787"],"vendor":"redhat","product":"virtualization","affected":["linux_kernel >= 4.11, < 4.14.274","linux_kernel >= 4.15, < 4.19.237","linux_kernel >= 4.20, < 5.4.188","linux_kernel >= 5.5, < 5.10.108","linux_kernel >= 5.11, < 5.15.29","linux_kernel >= 5.16, < 5.16.15","linux_kernel = 5.17","fedora = 34","fedora = 35","virtualization = 4.0","enterprise_linux = 8.0","h300s_firmware","h500s_firmware","h700s_firmware","h300e_firmware","h500e_firmware","h700e_firmware","h410s_firmware","h410c_firmware","debian_linux = 9.0","debian_linux = 10.0","debian_linux = 11.0"],"patched":["linux_kernel 5.16.15"],"published":"2022-03-23","updated":"2026-09-01","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-27666","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2061633","label":"cve@mitre.org"},{"url":"https://github.com/torvalds/linux/commit/ebe48d368e97d007bfeb76fcb065d6cfc4c96645","label":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20220429-0001/","label":"cve@mitre.org"},{"url":"https://www.debian.org/security/2022/dsa-5127","label":"cve@mitre.org"},{"url":"https://www.debian.org/security/2022/dsa-5173","label":"cve@mitre.org"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2061633","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/torvalds/linux/commit/ebe48d368e97d007bfeb76fcb065d6cfc4c96645","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20220429-0001/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2022/dsa-5127","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2022/dsa-5173","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd","exploit-available"],"epss":0.05524,"epssPercentile":0.92508,"ingestedAt":"2026-09-01T18:30:36.566Z","exploits":{"github":3,"githubRepos":["https://github.com/plummm/CVE-2022-27666","https://github.com/Albocoder/cve-2022-27666-exploits","https://github.com/ngtuonghung/CVE-2022-27666"],"checkedAt":"2026-09-21T15:25:20.540Z"},"exploitAvailable":true,"slug":"CVE-2022-27666","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `linux_kernel >= 4.11, < 4.14.274`\n- `linux_kernel >= 4.15, < 4.19.237`\n- `linux_kernel >= 4.20, < 5.4.188`\n- `linux_kernel >= 5.5, < 5.10.108`\n- `linux_kernel >= 5.11, < 5.15.29`\n- `linux_kernel >= 5.16, < 5.16.15`\n- `linux_kernel = 5.17`\n- `fedora = 34`\n- `fedora = 35`\n- `virtualization = 4.0`\n- `enterprise_linux = 8.0`\n- `h300s_firmware`\n- `h500s_firmware`\n- `h700s_firmware`\n- `h300e_firmware`\n- `h500e_firmware`\n- `h700e_firmware`\n- `h410s_firmware`\n- `h410c_firmware`\n- `debian_linux = 9.0`\n- `debian_linux = 10.0`\n- `debian_linux = 11.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 5.16.15`","depth":"midnight","depthScore":56,"depthScoreParts":{"impact":42.9,"likelihood":1.1,"exploitation":12,"ransomware":0},"changes":[{"seq":4607,"id":"CVE-2022-27666","ts":1788887193948,"field":"exploit_available","old":"false","new":"true"},{"seq":3490,"id":"CVE-2022-27666","ts":1788886310379,"field":"exploit_available","old":"true","new":"false"},{"seq":2344,"id":"CVE-2022-27666","ts":1788882979868,"field":"exploit_available","old":"false","new":"true"},{"seq":1373,"id":"CVE-2022-27666","ts":1788882392482,"field":"exploit_available","old":"true","new":"false"},{"seq":487,"id":"CVE-2022-27666","ts":1788881828325,"field":"exploit_available","old":"false","new":"true"}]}