# 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.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.52%, higher than 92% of CVEs (2026-12-01)
- Published: 2022-03-23T05:07:01.000Z
- Modified: 2026-09-01T18:05:14.643Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: from 4.11 before 4.14.274; from 4.15 before 4.19.237; from 4.20 before 5.4.188; from 5.5 before 5.10.108; from 5.11 before 5.15.29; from 5.16 before 5.16.15; 5.17
- fedoraproject fedora: 34; 35
- redhat virtualization: 4.0
- redhat enterprise_linux: 8.0
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- debian debian_linux: 9.0; 10.0; 11.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2061633> (issue-tracking, patch, third-party-advisory)
- <https://github.com/torvalds/linux/commit/ebe48d368e97d007bfeb76fcb065d6cfc4c96645> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220429-0001/> (third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5127> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2022/dsa-5173> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2022-27666](https://www.cve.org/CVERecord?id=CVE-2022-27666), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-27666](https://nvd.nist.gov/vuln/detail/CVE-2022-27666), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2022-27666 · Whole record: https://cve.day/CVE-2022-27666.json · Rebuilt by cve.day 2026-11-25T22:58:10.227Z
