# CVE-2023-53033: netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-03-27T16:44:01.044Z
- Modified: 2026-08-05T09:12:27.289Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

If the offset + length goes over the ethernet + vlan header, then the
length is adjusted to copy the bytes that are within the boundaries of
the vlan_ethhdr scratchpad area. The remaining bytes beyond ethernet +
vlan header are copied directly from the skbuff data area.

Fix incorrect arithmetic operator: subtract, not add, the size of the
vlan header in case of double-tagged packets to adjust the length
accordingly to address CVE-2023-0179.

(As written by CVE List.)

## Affected

- Linux Linux: from f6ae9f120dada00abfb47313364c35118469455f before 550efeff989b041f3746118c0ddd863c39ddc1aa; from f6ae9f120dada00abfb47313364c35118469455f before a8acfe2c6fb99f9375a9325807a179cd8c32e6e3; from f6ae9f120dada00abfb47313364c35118469455f before 76ef74d4a379faa451003621a84e3498044e7aa3; from f6ae9f120dada00abfb47313364c35118469455f before 696e1a48b1a1b01edad542a1ef293665864a4dd0; 5.5 (not affected: before 5.5; from 5.10.164 up to 5.10.*; from 5.15.89 up to 5.15.*; from 6.1.7 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.5 before 5.10.164; from 5.11 before 5.15.89; from 5.16 before 6.1.7; 6.2

## Every score

- Linux: 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:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/550efeff989b041f3746118c0ddd863c39ddc1aa> (patch)
- <https://git.kernel.org/stable/c/a8acfe2c6fb99f9375a9325807a179cd8c32e6e3> (patch)
- <https://git.kernel.org/stable/c/76ef74d4a379faa451003621a84e3498044e7aa3> (patch)
- <https://git.kernel.org/stable/c/696e1a48b1a1b01edad542a1ef293665864a4dd0> (patch)

## Sources

- CVE List: [CVE-2023-53033](https://www.cve.org/CVERecord?id=CVE-2023-53033), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-53033](https://nvd.nist.gov/vuln/detail/CVE-2023-53033), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-53033 · Whole record: https://cve.day/CVE-2023-53033.json · Rebuilt by cve.day 2026-11-25T22:58:34.613Z
