Skip to content

← Actionable
Medium, CVSS 4.6

enter_l2_vcpu passes the wrong RCX operand to TDG.VP.ENTER

CVE-2026-20763GHSA-wgvc-hf5h-m5h7

What to do

Vendor fix available. Upgrade each affected package to the fixed version on its release line (tdx-guest 0.3.1), redeploy, then verify what is actually installed.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • crates.io tdx-guest

    Affected
    >= 0.1.8, < 0.3.1
    Fixed in
    0.3.1

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS 4.0
4.6 · CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N · score source
EPSS
  • CVE-2026-20763: 0.15% estimated exploitation activity in the next 30 days; percentile 4.15 (FIRST EPSS, 2026-11-10). This is a model estimate, not proof of exploitation or customer exposure.
Source description

As published by the source; long descriptions are shortened.

`tdx_guest::tdcall::enter_l2_vcpu()` invokes the `TDG.VP.ENTER` TDCALL. RCX must carry the L2 VM index in bits 53:52 and the invalidation control value (`InvdTranslations`, 0 to 3) in bits 1:0. The function computed that value as `(l2_vm_idx << 52) | (invd_translations as u64)`, but then passed the raw `l2_vm_idx` in RCX instead. As a result, the TDX module received an operand that differs from the caller's request. The VM index field was 0, and the low bits of the index were interpreted as the invalidation control value. For example, VM 1 with `InvdTlb` (2) should produce `0x0010_0000_0000_0002`, but produced `0x1`. Intel describes the issue as an incorrect calculation and classifies it as escalation of privilege, with a CVSS 4.0 base score of 4.6, in INTEL-SA-01462. The flaw was corrected in commit `311d33b`, released in 0.3.1, which passes the computed RCX value.…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from osv record RUSTSEC-2026-0485

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2026-20763

Advisory: `enter_l2_vcpu` passes the wrong RCX operand to `TDG.VP.ENTER`
IDs: CVE-2026-20763, GHSA-wgvc-hf5h-m5h7
Record: https://patchnext.com/advisories/cve-2026-20763 (revision 1, source checked 12 Nov 2026, 06:15 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Medium (CVSS 4.6)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor fix available; fixed versions by package: tdx-guest 0.3.1. A vendor fix does not mean a deployment is fixed.

## Affected components
- crates.io tdx-guest: affected >= 0.1.8, < 0.3.1; fixed in 0.3.1

## Suggested inspection (read-only)
- crates.io tdx-guest: check the installed version with your package manager.

## Supported action
Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on tdx-guest.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://osv.dev/vulnerability/RUSTSEC-2026-0485 (OSV record RUSTSEC-2026-0485 lists affected ranges: crates.io tdx-guest >=0.1.8 <0.3.1 (fixed))

Commands are suggestions: review each one before running it.

Loading voting…