Skip to main content
VulnerabilityPublished Updated

CVE-2026-52999: Linux kernel · netfilter: nfnetlink_osf: fix out-of-bounds read on option matching

Affects Linux kernelSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical · fixed in f5ca450087c3baf3651055e7a6de92600f827af3 : patch Linux kernel as a priority.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CISA SSVC
Exploitation
No evidence of active exploitation and no public proof of concept
Automatable
Attackers can reliably automate steps 1–4 of the kill chain
Technical impact
Limited control over the software or limited information exposure

CISA SSVC assessment, 2026-10-16.

Patch
Available – fixed in f5ca450087c3baf3651055e7a6de92600f827af3, edb78a142d2e5948e63647c0646aa7e7886935f0, 21883587593d7c8bb519a79460a0b5bc5ffbdabd +7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • >=4.19.26 <4.20
  • >=4.20.13 <4.21
Fixed in
  • f5ca450087c3baf3651055e7a6de92600f827af3
  • edb78a142d2e5948e63647c0646aa7e7886935f0
  • 21883587593d7c8bb519a79460a0b5bc5ffbdabd
  • 0145548346c4a30981a870a8ca00eac46ba27e85
  • 70a3f31d25cf2ec9d4ddfa408120171ead955623
  • 32e50f92c7cf3f4eba29622179a5fcdc2aebab41
  • 4.21
  • 4.20
  • 1e19a07291bb8682c14c39a64725a3ae54ab8ccc
  • 1c136f2c44a5913646bac85303612fd0825197a0
LinuxLinuxAffected
  • =5.0
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_osf: fix out-of-bounds read on option matching In nf_osf_match(), the nf_osf_hdr_ctx structure is initialized once and passed by reference to nf_osf_match_one() for each fingerprint checked. During TCP option parsing, nf_osf_match_one() advances the shared ctx->optp pointer. If a fingerprint perfectly matches, the function returns early without restoring ctx->optp to its initial state. If the user has configured NF_OSF_LOGLEVEL_ALL, the loop continues to the next fingerprint. However, because ctx->optp was not restored, the next call to nf_osf_match_one() starts parsing from the end of the options buffer. This causes subsequent matches to read garbage data and fail immediately, making it impossible to log more than one match or logging incorrect matches. Instead of using a shared ctx->optp pointer, pass the context as a constant pointer and use a local pointer (optp) for TCP option traversal. This makes nf_osf_match_one() strictly stateless from the caller's perspective, ensuring every fingerprint check starts at the correct option offset.

References

Community reviews

Loading reviews…