CVE-2023-52628
netfilter: nftables: exthdr: fix 4-byte stack OOB write
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nftables: exthdr: fix 4-byte stack OOB write If priv->len is a multiple of 4, then dst[len / 4] can write past the destination array which leads to stack corruption. This construct is necessary to clean the remainder of the register in case ->len is NOT a multiple of the register size, so make it conditional just like nft_payload.c does. The bug was added in 4.1 cycle and then copied/inherited when tcp/sctp and ip option support was added. Bug reported by Zero Day Initiative project (ZDI-CAN-21950, ZDI-CAN-21951, ZDI-CAN-21961).
INFO
Published Date :
March 28, 2024, 8:15 a.m.
Last Modified :
Nov. 4, 2025, 6:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected Linux kernel packages.
- Reboot the system to apply updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52628.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52628 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52628
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52628 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52628 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 04, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
Initial Analysis by [email protected]
Mar. 17, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 from (excluding) 5.15.132 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.5.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 from (excluding) 6.1.54 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.1 from (excluding) 5.10.198 Added Reference Type CVE: https://git.kernel.org/stable/c/1ad7b189cc1411048434e8595ffcbe7873b71082 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1ad7b189cc1411048434e8595ffcbe7873b71082 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/a7d86a77c33ba1c357a7504341172cc1507f0698 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a7d86a77c33ba1c357a7504341172cc1507f0698 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/c8f292322ff16b9a2272a67de396c09a50e09dce Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c8f292322ff16b9a2272a67de396c09a50e09dce Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/d9ebfc0f21377690837ebbd119e679243e0099cc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d9ebfc0f21377690837ebbd119e679243e0099cc Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/fd94d9dadee58e09b49075240fe83423eb1dcd36 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fd94d9dadee58e09b49075240fe83423eb1dcd36 Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/1ad7b189cc1411048434e8595ffcbe7873b71082 Added Reference https://git.kernel.org/stable/c/28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a Added Reference https://git.kernel.org/stable/c/a7d86a77c33ba1c357a7504341172cc1507f0698 Added Reference https://git.kernel.org/stable/c/c8f292322ff16b9a2272a67de396c09a50e09dce Added Reference https://git.kernel.org/stable/c/cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb Added Reference https://git.kernel.org/stable/c/d9ebfc0f21377690837ebbd119e679243e0099cc Added Reference https://git.kernel.org/stable/c/fd94d9dadee58e09b49075240fe83423eb1dcd36 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 05, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb [No types assigned] Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 16, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 28, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: netfilter: nftables: exthdr: fix 4-byte stack OOB write If priv->len is a multiple of 4, then dst[len / 4] can write past the destination array which leads to stack corruption. This construct is necessary to clean the remainder of the register in case ->len is NOT a multiple of the register size, so make it conditional just like nft_payload.c does. The bug was added in 4.1 cycle and then copied/inherited when tcp/sctp and ip option support was added. Bug reported by Zero Day Initiative project (ZDI-CAN-21950, ZDI-CAN-21951, ZDI-CAN-21961). Added Reference kernel.org https://git.kernel.org/stable/c/a7d86a77c33ba1c357a7504341172cc1507f0698 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1ad7b189cc1411048434e8595ffcbe7873b71082 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d9ebfc0f21377690837ebbd119e679243e0099cc [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c8f292322ff16b9a2272a67de396c09a50e09dce [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/fd94d9dadee58e09b49075240fe83423eb1dcd36 [No types assigned]