A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c…
Priority MEDIUM 42CWE-787Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
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.
Why it matters now
EPSS 0.05524 92nd percentileScored 2026-11-07
Fix Fixed Red Hat: 15 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 31
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.11 to before 4.14.274; 4.15 to before 4.19.237; 4.20 to before 5.4.188; 5.5 to before 5.10.108; 5.11 to before 5.15.29; 5.16 to before 5.16.15 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* | 5.17 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:* | 5.17 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:* | 5.17 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc4:*:*:*:*:*:* | 5.17 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc5:*:*:*:*:*:* | 5.17 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc6:*:*:*:*:*:* | 5.17 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc7:*:*:*:*:*:* | 5.17 rc7 | Vulnerable | Linux |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.11 to before 4.14.274; 4.15 to before 4.19.237; 4.20 to before 5.4.188; 5.5 to before 5.10.108; 5.11 to before 5.15.29; 5.16 to before 5.16.15 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* Versions 5.17 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:* Versions 5.17 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:* Versions 5.17 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc4:*:*:*:*:*:* Versions 5.17 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc5:*:*:*:*:*:* Versions 5.17 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc6:*:*:*:*:*:* Versions 5.17 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc7:*:*:*:*:*:* Versions 5.17 rc7 Vulnerable ·Linux
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
Show 21 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h300e:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h500e:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h700e:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
- cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h300e:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h500e:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h700e:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
Red Hat 15 advisories
- RHSA-2022:5678 Released 2022-07-21 · Red Hat rating ImportantRed Hat Virtualization security, bug fix, and enhancement update [ovirt-4.5.1]
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.5.1-202207170705_8.6, redhat-virtualization-host-image-update-4.5.1-202207170705_8.6
- RHSA-2022:5476 Released 2022-07-01 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) kpatch-patch-4_18_0-193_60_2-1-7.el8_2, kpatch-patch-4_18_0-193_64_1-1-6.el8_2, kpatch-patch-4_18_0-193_65_2-1-5.el8_2 +7
- RHSA-2022:5249 Released 2022-07-01 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-70.17.1.el9_0
- Red Hat Enterprise Linux AppStream (v. 9) kernel-debug-devel-5.14.0-70.17.1.el9_0, kernel-debug-devel-matched-5.14.0-70.17.1.el9_0, kernel-devel-5.14.0-70.17.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-5.14.0-70.17.1.el9_0, kernel-5.14.0-70.17.1.el9_0, kernel-abi-stablelists-5.14.0-70.17.1.el9_0 +14
Show 12 more Red Hat advisories
- RHSA-2022:5316 Released 2022-06-30 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-372.13.1.el8_6, kernel-4.18.0-372.13.1.el8_6, kernel-abi-stablelists-4.18.0-372.13.1.el8_6 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-372.13.1.el8_6
- Red Hat Virtualization 4 Hypervisor for RHEL 8 kernel-devel-4.18.0-372.13.1.el8_6, perf-4.18.0-372.13.1.el8_6
- RHSA-2022:5344 Released 2022-06-28 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (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-debug-4.18.0-372.13.1.rt7.170.el8_6 +9
- 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-debug-4.18.0-372.13.1.rt7.170.el8_6 +7
- RHSA-2022:5220 Released 2022-06-28 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v. 8.2) kernel-tools-libs-devel-4.18.0-193.87.1.el8_2
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) bpftool-4.18.0-193.87.1.el8_2, kernel-4.18.0-193.87.1.el8_2, kernel-abi-whitelists-4.18.0-193.87.1.el8_2 +19
- RHSA-2022:5219 Released 2022-06-28 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 8) kpatch-patch-4_18_0-372_9_1-1-1.el8
- RHSA-2022:5267 Released 2022-06-28 · Red Hat rating Importantkernel-rt security and bug fix update
- 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-debug-5.14.0-70.17.1.rt21.89.el9_0 +7
- Red Hat Enterprise Linux Real Time for NFV (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-debug-5.14.0-70.17.1.rt21.89.el9_0 +9
- RHSA-2022:5224 Released 2022-06-28 · Red Hat rating Importantkernel-rt security and bug fix update
- 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-debug-4.18.0-193.87.1.rt13.137.el8_2 +7
- 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-core-4.18.0-193.87.1.rt13.137.el8_2, kernel-rt-debug-4.18.0-193.87.1.rt13.137.el8_2 +9
- RHSA-2022:5214 Released 2022-06-28 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 9) kpatch-patch-5_14_0-70_13_1-1-1.el9_0
- RHSA-2022:4942 Released 2022-06-08 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) kpatch-patch-4_18_0-147_51_1-1-8.el8_1, kpatch-patch-4_18_0-147_51_2-1-7.el8_1, kpatch-patch-4_18_0-147_52_1-1-6.el8_1 +7
- RHSA-2022:4924 Released 2022-06-07 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) bpftool-4.18.0-147.67.1.el8_1, kernel-4.18.0-147.67.1.el8_1, kernel-abi-whitelists-4.18.0-147.67.1.el8_1 +14
- RHSA-2022:4835 Released 2022-05-31 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV 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-debug-4.18.0-305.49.1.rt7.121.el8_4 +9
- 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-debug-4.18.0-305.49.1.rt7.121.el8_4 +7
- RHSA-2022:4829 Released 2022-05-31 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) bpftool-4.18.0-305.49.1.el8_4, kernel-4.18.0-305.49.1.el8_4, kernel-abi-stablelists-4.18.0-305.49.1.el8_4 +19
- Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-tools-libs-devel-4.18.0-305.49.1.el8_4
- RHSA-2022:4809 Released 2022-05-31 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) kpatch-patch-4_18_0-305_10_2-1-10.el8_4, kpatch-patch-4_18_0-305_12_1-1-9.el8_4, kpatch-patch-4_18_0-305_17_1-1-8.el8_4 +10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:5249 |
| Red Hat CodeReady Linux Builder EUS (v. 8.2) | Fixed | RHSA-2022:5220 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:5249 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:5219, RHSA-2022:5316 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2022:5214, RHSA-2022:5249 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.1) | Fixed | RHSA-2022:4924, RHSA-2022:4942 |
| Red Hat Enterprise Linux BaseOS EUS (v. 8.2) | Fixed | RHSA-2022:5220, RHSA-2022:5476 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.4) | Fixed | RHSA-2022:4809, RHSA-2022:4829 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2022:5316 |
| Red Hat Enterprise Linux CRB EUS (v.8.4) | Fixed | RHSA-2022:4829 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2022:5344 |
| Red Hat Enterprise Linux NFV EUS (v.8.4) | Fixed | RHSA-2022:4835 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2022:5344 |
| Red Hat Enterprise Linux RT EUS (v.8.4) | Fixed | RHSA-2022:4835 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2022:5267 |
| Red Hat Enterprise Linux Real Time EUS (v. 8.2) | Fixed | RHSA-2022:5224 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2022:5267 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v. 8.2) | Fixed | RHSA-2022:5224 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2022:5316, RHSA-2022:5678 |
Not affected: 3 products
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2022-27666
- 2026-10-03 Alias added: GHSA-5h7v-72v6-2r5w
References
Sources
- CVE-2022-27666 · CVE Program
- CVE-2022-27666 · NVD
- FIRST EPSS
- GHSA-5h7v-72v6-2r5w · GitHub Advisory Database · CC BY 4.0
- CVE-2022-27666 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences