# CVE-2026-99805: net: limit priority VLAN untag depth

> Remote attackers sending packets with deeply nested VID 0 tags can cause out-of-bounds memory access in the Linux kernel; Linux hosts should patch.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** Yes
- **Published:** 25 Nov 2026
- **Updated:** 25 Nov 2026
- **Also known as:** BELL-CVE-2026-99805, DEBIAN-CVE-2026-99805, GHSA-49w3-7rc2-p896, UBUNTU-CVE-2026-99805

## What is CVE-2026-99805?

CVE-2026-99805 is a memory corruption vulnerability in Linux, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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

net: limit priority VLAN untag depth

The priority VLAN receive path can repeatedly remove VID 0 tags and retry
packet processing. Unlike the read-only VLAN protocol parser, this path has
no limit on the number of nested tags it consumes.

Each skb_vlan_untag() advances skb->data and resets header offsets. The
offsets are stored in 16-bit fields. With enough nested tags, the network
or transport offset can wrap. A later protocol handler can then derive a
large pull length from the wrapped offsets and access memory outside the
skb allocation.

Apply the existing VLAN_MAX_DEPTH limit to the exceptional VID 0 retry.
Count the tag already stored in skb VLAN metadata as the first level, then
stop before untagging a ninth level. Keep the accounting inside this
uncommon branch so the regular VLAN receive path is unaffected.

A single VID 0 priority tag before a real VLAN tag is valid. No normal
deployment was found that intentionally emits multiple consecutive VID 0
tags; permitting eight levels is therefore conservative.

The issue was found while researching the Linux network receive path for
Google kvmCTF, with OpenAI Codex (gpt-5.6-sol) assisting the analysis. The
affected path, reproducer and fix were manually reviewed and tested.

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

An affected version is exposed as installed. No special setting or call is needed.


## How do I fix CVE-2026-99805?

Apply the vendor's patch.

## Is CVE-2026-99805 being exploited?

There is no known exploitation of CVE-2026-99805 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-99805 and fix it if it is affected.

What it is: CVE-2026-99805 is a memory corruption vulnerability in Linux, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-99805 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-99805/ (Markdown: https://insights.sbomify.com/CVE-2026-99805/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-99805
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99805
- OSV: https://osv.dev/vulnerability/CVE-2026-99805

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-99805/
Summaries are generated and may contain mistakes; the official description above is the record.
