Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-52628

HIGH 7.8EPSS 18%

netfilter: nftables: exthdr: fix 4-byte stack OOB write

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < a7d86a77c33ba1c357a7504341172cc1507f0698; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 1ad7b189cc1411048434e8595ffcbe7873b71082; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < d9ebfc0f21377690837ebbd119e679243e0099cc; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < c8f292322ff16b9a2272a67de396c09a50e09dce; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < fd94d9dadee58e09b49075240fe83423eb1dcd36
  • Anyone running Linux 4.1

Vulnerability facts

Affected
Linux >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < a7d86a77c33ba1c357a7504341172cc1507f0698; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 1ad7b189cc1411048434e8595ffcbe7873b71082; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < d9ebfc0f21377690837ebbd119e679243e0099cc; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < c8f292322ff16b9a2272a67de396c09a50e09dce; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < fd94d9dadee58e09b49075240fe83423eb1dcd36; Linux 4.1
Fixed in
Linux 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a, Linux 1ad7b189cc1411048434e8595ffcbe7873b71082
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-787
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < a7d86a77c33ba1c357a7504341172cc1507f0698; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 1ad7b189cc1411048434e8595ffcbe7873b71082; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < d9ebfc0f21377690837ebbd119e679243e0099cc; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < c8f292322ff16b9a2272a67de396c09a50e09dce; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < fd94d9dadee58e09b49075240fe83423eb1dcd36—cvelist
Linux4.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-52628. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52628.md
Affected: Linux >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < a7d86a77c33ba1c357a7504341172cc1507f0698; >= 49499c3e6e18b7677a63316…
Fixed in: Linux 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a, Linux 1ad7b189cc1411048434e8595ffcbe7873b71082

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-52628 being exploited?

There is no confirmed exploitation: CVE-2023-52628 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-52628?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-52628?

Linux >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < a7d86a77c33ba1c357a7504341172cc1507f0698; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 1ad7b189cc1411048434e8595ffcbe7873b71082; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < d9ebfc0f21377690837ebbd119e679243e0099cc; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < c8f292322ff16b9a2272a67de396c09a50e09dce; >= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < fd94d9dadee58e09b49075240fe83423eb1dcd36; Linux 4.1.

Is there a fix for CVE-2023-52628?

Yes. Fixed in Linux 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a, Linux 1ad7b189cc1411048434e8595ffcbe7873b71082. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2023-52628?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors