CVE-2023-53179CWE-787

CVE-2023-53179

High · published September 15, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
6.2
In the wild
Unconfirmed
What it is

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

netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c

The missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can

lead to the use of wrong `CIDR_POS(c)` for calculating array offsets,

which can lead to integer underflow. As a result, it leads to slab

out-of-bound access.

This patch adds back the IP_SET_HASH_WITH_NET0 macro to

ip_set_hash_netportnet to address the issue.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00171 · 6.2th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-09-15T18:15Z
Affected products (17)
ProductVersionsFixed in
linux/linux_kernel≥ 4.4.165, < 4.54.5
linux/linux_kernel≥ 4.9.141, < 4.104.10
linux/linux_kernel≥ 4.14.84, < 4.14.3264.14.326
linux/linux_kernel≥ 4.19.5, < 4.19.2954.19.295
linux/linux_kernel≥ 4.20.1, < 5.4.2575.4.257
linux/linux_kernel≥ 5.5, < 5.10.1955.10.195
linux/linux_kernel≥ 5.11, < 5.15.1325.15.132
linux/linux_kernel≥ 5.16, < 6.1.536.1.53
linux/linux_kernel≥ 6.2, < 6.4.166.4.16
linux/linux_kernel≥ 6.5, < 6.5.36.5.3
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (9)
EPSS history
Timeline
  • 15 SEP 14:04Z
    netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
    cvelistv5