Skip to content
Fencer Vulns
high 7.8

CVE-2022-27666 json

A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c and net/ipv6/esp6.c.

published 2022-03-23 4 y ago modified 2026-09-01 2 mo ago also EUVD-2022-32163

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.5%
EPSS 5.5% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

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 privilege escalation threat.

Patch / fix

  • linux linux_kernel 4.14.274, 4.19.237, 5.4.188, 5.10.108, 5.15.29, 5.16.15
  • linux Debian 14, Debian 13, Debian 12 5.16.18-1

debian advisories DEBIAN-CVE-2022-27666

  • linux Ubuntu 18.04 LTS 4.15.0-175.184
  • linux Ubuntu 20.04 LTS 5.4.0-107.121
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1126.135
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1071.76
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1069.73
  • linux-gke Ubuntu 20.04 LTS 5.4.0-1067.70
  • linux-ibm Ubuntu 20.04 LTS 5.4.0-1019.21
  • linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6

ubuntu advisories UBUNTU-CVE-2022-27666

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • redhat-virtualization-host rhev hypervisor 4.4 4.5.1-202207170705_8.6
  • redhat-virtualization-host-image-update rhev hypervisor 4.4 4.5.1-202207170705_8.6
  • kernel RHEL 9 5.14.0-70.17.1.el9_0
  • perf RHEL 9 5.14.0-70.17.1.el9_0
  • bpftool RHEL 9 5.14.0-70.17.1.el9_0
  • kernel-core RHEL 9 5.14.0-70.17.1.el9_0
  • kernel-tools RHEL 9 5.14.0-70.17.1.el9_0
  • python3-perf RHEL 9 5.14.0-70.17.1.el9_0

red hat advisories RHSA-2022:5678RHSA-2022:5249RHSA-2022:5219RHSA-2022:5220RHSA-2022:5224RHSA-2022:4942

  • kernel-rt SLE Micro 5.2, SLE Micro 5.1, Real Time Module 15 SP3 5.3.18-150300.85.1
  • kernel-syms-rt Real Time Module 15 SP3 5.3.18-150300.85.1
  • kernel-rt_debug Real Time Module 15 SP3 5.3.18-150300.85.1
  • kernel-source-rt Real Time Module 15 SP3 5.3.18-150300.85.1
  • kernel-rt SLE Real Time 12 SP5 4.12.14-10.84.1
  • kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.84.1
  • kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.84.1
  • kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.84.1

suse advisories SUSE-SU-2022:1407-1SUSE-SU-2022:1402-1SUSE-SU-2022:1303-1SUSE-SU-2022:1278-1SUSE-SU-2022:1269-1SUSE-SU-2022:1268-1

  • kernel AlmaLinux 9 5.14.0-70.17.1.el9_0
  • perf AlmaLinux 9 5.14.0-70.17.1.el9_0
  • bpftool AlmaLinux 9 5.14.0-70.17.1.el9_0
  • kernel-core AlmaLinux 9 5.14.0-70.17.1.el9_0
  • kernel-tools AlmaLinux 9 5.14.0-70.17.1.el9_0
  • python3-perf AlmaLinux 9 5.14.0-70.17.1.el9_0
  • kernel-modules AlmaLinux 9 5.14.0-70.17.1.el9_0
  • kernel-zfcpdump AlmaLinux 9 5.14.0-70.17.1.el9_0

almalinux advisories ALSA-2022:5249ALSA-2022:5316ALSA-2022:5267ALSA-2022:5344

  • kernel-rt Rocky Linux 8 4.18.0-372.13.1.rt7.170.el8_6
  • kernel Rocky Linux 8 4.18.0-372.13.1.el8_6

rocky linux advisories RLSA-2022:5344RLSA-2022:5316

  • hyperv-daemons CBL-Mariner 2.0 5.15.92.1-1
  • kernel CBL-Mariner 2.0 5.15.32.1-3

azure linux advisories AZL-13228AZL-9120

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • linux Arch Linux 5.17.3.arch1-1
  • linux-zen Arch Linux 5.17.3.zen1-1
  • linux-hardened Arch Linux 5.17.5.hardened1-1

arch linux advisories AVG-2698AVG-2699AVG-2700

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-27666 updated cvss 7.8

kernel: buffer overflow in IPsec ESP transformation code

  • Red Hat CodeReady Linux Builder (v. 9) kernel-debuginfo-common-s390x 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.17.1.el9_0
    fixed: vendor fix RHSA-2022:5249
  • Red Hat CodeReady Linux Builder EUS (v. 8.2) kernel-debuginfo-common-x86_64 4.18.0-193.87.1.el8_2, kernel-debuginfo-common-aarch64 4.18.0-193.87.1.el8_2, kernel-debuginfo-common-ppc64le 4.18.0-193.87.1.el8_2
    fixed: vendor fix RHSA-2022:5220
  • Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-70.17.1.el9_0, kernel-devel-matched 5.14.0-70.17.1.el9_0, kernel-debug-devel-matched 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.17.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.17.1.el9_0, +2 more
    fixed: vendor fix RHSA-2022:5249
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-372.13.1.el8_6, kernel 4.18.0-372.13.1.el8_6, bpftool 4.18.0-372.13.1.el8_6, kernel-core 4.18.0-372.13.1.el8_6, kernel-tools 4.18.0-372.13.1.el8_6, python3-perf 4.18.0-372.13.1.el8_6, +16 more
    fixed: vendor fix RHSA-2022:5316
  • Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-70.17.1.el9_0, bpftool 5.14.0-70.17.1.el9_0, kernel-core 5.14.0-70.17.1.el9_0, kernel-tools 5.14.0-70.17.1.el9_0, python3-perf 5.14.0-70.17.1.el9_0, kernel-modules 5.14.0-70.17.1.el9_0, +15 more
    fixed: vendor fix RHSA-2022:5249
  • Red Hat Enterprise Linux BaseOS E4S (v. 8.1) perf 4.18.0-147.67.1.el8_1, kernel 4.18.0-147.67.1.el8_1, bpftool 4.18.0-147.67.1.el8_1, kernel-core 4.18.0-147.67.1.el8_1, kernel-tools 4.18.0-147.67.1.el8_1, python3-perf 4.18.0-147.67.1.el8_1, +19 more
    fixed: vendor fix RHSA-2022:4924
  • Red Hat Enterprise Linux BaseOS EUS (v. 8.2) perf 4.18.0-193.87.1.el8_2, kernel 4.18.0-193.87.1.el8_2, bpftool 4.18.0-193.87.1.el8_2, kernel-core 4.18.0-193.87.1.el8_2, kernel-tools 4.18.0-193.87.1.el8_2, python3-perf 4.18.0-193.87.1.el8_2, +25 more
    fixed: vendor fix RHSA-2022:5220
  • Red Hat Enterprise Linux BaseOS EUS (v.8.4) perf 4.18.0-305.49.1.el8_4, kernel 4.18.0-305.49.1.el8_4, bpftool 4.18.0-305.49.1.el8_4, kernel-core 4.18.0-305.49.1.el8_4, kernel-tools 4.18.0-305.49.1.el8_4, python3-perf 4.18.0-305.49.1.el8_4, +28 more
    fixed: vendor fix RHSA-2022:4829
show 12 more
  • Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-372.13.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.13.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.13.1.el8_6
    fixed: vendor fix RHSA-2022:5316
  • Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-debuginfo-common-x86_64 4.18.0-305.49.1.el8_4, kernel-debuginfo-common-aarch64 4.18.0-305.49.1.el8_4, kernel-debuginfo-common-ppc64le 4.18.0-305.49.1.el8_4
    fixed: vendor fix RHSA-2022:4829
  • Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-kvm 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-core 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-modules 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-debug-kvm 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-debug-core 4.18.0-372.13.1.rt7.170.el8_6, +4 more
    fixed: vendor fix RHSA-2022:5344
  • Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-kvm 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-core 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-modules 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-debug-kvm 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-debug-core 4.18.0-305.49.1.rt7.121.el8_4, +4 more
    fixed: vendor fix RHSA-2022:4835
  • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-core 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-modules 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-debug-core 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-debug-modules 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-modules-extra 5.14.0-70.17.1.rt21.89.el9_0, +2 more
    fixed: vendor fix RHSA-2022:5267
  • Red Hat Enterprise Linux Real Time EUS (v. 8.2) kernel-rt 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-core 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-modules 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-debug-core 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-debug-modules 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-modules-extra 4.18.0-193.87.1.rt13.137.el8_2, +2 more
    fixed: vendor fix RHSA-2022:5224
  • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-kvm 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-core 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-modules 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-debug-kvm 5.14.0-70.17.1.rt21.89.el9_0, kernel-rt-debug-core 5.14.0-70.17.1.rt21.89.el9_0, +4 more
    fixed: vendor fix RHSA-2022:5267
  • Red Hat Enterprise Linux Real Time for NFV EUS (v. 8.2) kernel-rt 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-kvm 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-core 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-modules 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-debug-kvm 4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-debug-core 4.18.0-193.87.1.rt13.137.el8_2, +4 more
    fixed: vendor fix RHSA-2022:5224
  • Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-core 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-modules 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-debug-core 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-debug-modules 4.18.0-372.13.1.rt7.170.el8_6, kernel-rt-modules-extra 4.18.0-372.13.1.rt7.170.el8_6, +2 more
    fixed: vendor fix RHSA-2022:5344
  • Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-core 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-modules 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-debug-core 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-debug-modules 4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-modules-extra 4.18.0-305.49.1.rt7.121.el8_4, +2 more
    fixed: vendor fix RHSA-2022:4835
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.13.1.el8_6, redhat-virtualization-host 4.5.1-202207170705_8.6, kernel-debuginfo-common-x86_64 4.18.0-372.13.1.el8_6, redhat-virtualization-host-image-update 4.5.1-202207170705_8.6
    fixed: vendor fix RHSA-2022:5316
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.5.1-1.el8ev, redhat-virtualization-host-productimg 4.5.1-1.el8, redhat-release-virtualization-host-content 4.5.1-1.el8ev, redhat-virtualization-host-image-update-placeholder 4.5.1-1.el8ev
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.52% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.