# CVE-2026-52999: netfilter: nfnetlink\_osf: fix out-of-bounds read on option matching

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.84% (percentile 55, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-06-24T16:29:11.757Z
- **Modified:** 2026-11-10T13:19:21.917Z

## Who should check

- Anyone running Linux \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 0145548346c4a30981a870a8ca00eac46ba27e85; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 1c136f2c44a5913646bac85303612fd0825197a0; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 1e19a07291bb8682c14c39a64725a3ae54ab8ccc; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 32e50f92c7cf3f4eba29622179a5fcdc2aebab41; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 70a3f31d25cf2ec9d4ddfa408120171ead955623; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 21883587593d7c8bb519a79460a0b5bc5ffbdabd; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< edb78a142d2e5948e63647c0646aa7e7886935f0; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< f5ca450087c3baf3651055e7a6de92600f827af3; 0c1054e0e5fdef2369fb089e94def978bd209e1f; 8316b60582facd4068fb0916c4db2418c21b7174; …
- Anyone running Linux 5.0

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

## Affected and fixed versions

- Linux: \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 0145548346c4a30981a870a8ca00eac46ba27e85; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 1c136f2c44a5913646bac85303612fd0825197a0; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 1e19a07291bb8682c14c39a64725a3ae54ab8ccc; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 32e50f92c7cf3f4eba29622179a5fcdc2aebab41; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 70a3f31d25cf2ec9d4ddfa408120171ead955623; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 21883587593d7c8bb519a79460a0b5bc5ffbdabd; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< edb78a142d2e5948e63647c0646aa7e7886935f0; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< f5ca450087c3baf3651055e7a6de92600f827af3; 0c1054e0e5fdef2369fb089e94def978bd209e1f; 8316b60582facd4068fb0916c4db2418c21b7174; … (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52999. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52999.md
Affected: Linux >= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, < 0145548346c4a30981a870a8ca00eac46ba27e85; >= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, < 1c136f2c44a5913646bac85303612fd0825197a0; >= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, < 1e19a07291bb8682c14c39a64725a3ae54ab8ccc; >= 1a6a0951fc009f6d9fe8ebe…
Fixed in: Linux 0145548346c4a30981a870a8ca00eac46ba27e85, Linux 1c136f2c44a5913646bac85303612fd0825197a0, Linux 1e19a07291bb8682c14c39a64725a3ae54ab8ccc, Linux 32e50f92c7cf3f4eba29622179a5fcdc2aebab41, Linux 70a3f31d25cf2ec9d4ddfa408120171ead955623, Linux 21883587593d7c8bb519a79460a0b5bc5ffbdabd

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

## FAQ

### Is CVE-2026-52999 being exploited?

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

### How serious is CVE-2026-52999?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-52999?

Linux \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 0145548346c4a30981a870a8ca00eac46ba27e85; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 1c136f2c44a5913646bac85303612fd0825197a0; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 1e19a07291bb8682c14c39a64725a3ae54ab8ccc; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 32e50f92c7cf3f4eba29622179a5fcdc2aebab41; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 70a3f31d25cf2ec9d4ddfa408120171ead955623; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< 21883587593d7c8bb519a79460a0b5bc5ffbdabd; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< edb78a142d2e5948e63647c0646aa7e7886935f0; \>= 1a6a0951fc009f6d9fe8ebea2d2417d80d54097b, \< f5ca450087c3baf3651055e7a6de92600f827af3; 0c1054e0e5fdef2369fb089e94def978bd209e1f; 8316b60582facd4068fb0916c4db2418c21b7174; …; Linux 5.0.

### Is there a fix for CVE-2026-52999?

Yes. Fixed in Linux 0145548346c4a30981a870a8ca00eac46ba27e85, Linux 1c136f2c44a5913646bac85303612fd0825197a0, Linux 1e19a07291bb8682c14c39a64725a3ae54ab8ccc, Linux 32e50f92c7cf3f4eba29622179a5fcdc2aebab41, Linux 70a3f31d25cf2ec9d4ddfa408120171ead955623, Linux 21883587593d7c8bb519a79460a0b5bc5ffbdabd. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-52999?

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.

## References

- patch: <https://git.kernel.org/stable/c/0145548346c4a30981a870a8ca00eac46ba27e85>
- patch: <https://git.kernel.org/stable/c/1c136f2c44a5913646bac85303612fd0825197a0>
- patch: <https://git.kernel.org/stable/c/1e19a07291bb8682c14c39a64725a3ae54ab8ccc>
- patch: <https://git.kernel.org/stable/c/32e50f92c7cf3f4eba29622179a5fcdc2aebab41>
- patch: <https://git.kernel.org/stable/c/70a3f31d25cf2ec9d4ddfa408120171ead955623>
- patch: <https://git.kernel.org/stable/c/21883587593d7c8bb519a79460a0b5bc5ffbdabd>
- patch: <https://git.kernel.org/stable/c/edb78a142d2e5948e63647c0646aa7e7886935f0>
- patch: <https://git.kernel.org/stable/c/f5ca450087c3baf3651055e7a6de92600f827af3>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52999>

HTML: <https://flawdb.com/CVE-2026-52999> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52999>
