Skip to content

← Actionable
Medium, CVSS 4.6

Inverted bitmap validation in invalidate_l2_cached_ept

CVE-2026-20765GHSA-56j3-r4r2-x3x6

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-20765: 0.30% estimated exploitation activity in the next 30 days; percentile 23.41 (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::invalidate_l2_cached_ept()` takes a bitmap that selects the L2 VMs whose cached EPT translations should be invalidated. Bits 1 through 3 select L2 VMs 1 through 3, and all other bits are reserved. The input check was inverted: if l2_vm_idx_bitmap & !0b1110 == 0 { return Err(TdCallError::TdxOperandInvalid); } `l2_vm_idx_bitmap & !0b1110` isolates the bits that are not allowed. A result of zero means the bitmap is valid, and the function returned an error in that case. Every valid bitmap, such as `0b0010` or `0b1110`, was therefore rejected with `TdxOperandInvalid`. Bitmaps with reserved bits set, such as `0b0001` or `0b1_0000`, were forwarded to the TDX module. Intel describes the issue as an incorrect comparison 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`,…

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-0484

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-20765

Advisory: Inverted bitmap validation in `invalidate_l2_cached_ept`
IDs: CVE-2026-20765, GHSA-56j3-r4r2-x3x6
Record: https://patchnext.com/advisories/cve-2026-20765 (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-0484 (OSV record RUSTSEC-2026-0484 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…