{"id":"CVE-2026-20765","aliases":["CVE-2026-20765","RUSTSEC-2026-0484","GHSA-56j3-r4r2-x3x6"],"related":[],"kind":"vulnerability","state":"published","title":"Inverted bitmap validation in `invalidate_l2_cached_ept`","summary":"Incorrect comparison for some Intel(R) TDX Guest software before version 0.3.1 within Ring 3: User Applications may allow an escalation of privilege. System software adversary with a privileged user combined with a low complexity attack may enable escalation of privilege. This result may potentially occur via local access when attack requirements are not present without special internal knowledge and requires no user interaction. The potential vulnerability may impact the confidentiality (low), integrity (low) and availability (low) of the vulnerable system, resulting in subsequent system confidentiality (none), integrity (none) and availability (none) impacts.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Incorrect comparison for some Intel(R) TDX Guest software before version 0.3.1 within Ring 3: User Applications may allow an escalation of privilege. System software adversary with a privileged user combined with a low complexity attack may enable escalation of privilege. This result may potentially occur via local access when attack requirements are not present without special internal knowledge and requires no user interaction. The potential vulnerability may impact the confidentiality (low), integrity (low) and availability (low) of the vulnerable system, resulting in subsequent system confidentiality (none), integrity (none) and availability (none) impacts.","source":"cvelist"},{"lang":"en","text":"`tdx_guest::tdcall::invalidate_l2_cached_ept()` takes a bitmap that selects the\nL2 VMs whose cached EPT translations should be invalidated. Bits 1 through 3\nselect L2 VMs 1 through 3, and all other bits are reserved. The input check\nwas inverted:\n\n    if l2_vm_idx_bitmap & !0b1110 == 0 {\n        return Err(TdCallError::TdxOperandInvalid);\n    }\n\n`l2_vm_idx_bitmap & !0b1110` isolates the bits that are not allowed. A result\nof zero means the bitmap is valid, and the function returned an error in that\ncase. Every valid bitmap, such as `0b0010` or `0b1110`, was therefore rejected\nwith `TdxOperandInvalid`. Bitmaps with reserved bits set, such as `0b0001` or\n`0b1_0000`, were forwarded to the TDX module.\n\nIntel describes the issue as an incorrect comparison and classifies it as\nescalation of privilege, with a CVSS 4.0 base score of 4.6, in\nINTEL-SA-01462.\n\nThe flaw was corrected in commit\n[`311d33b`](https://github.com/intel/confidential-computing.tdx.tdx-guest/commit/311d33b18a5bef5dc67c9b0c86587dd00c77027e),\nreleased in 0.3.1. The function now rejects an empty bitmap and any bit\noutside `0b1110`.\n\nReported by [Borys Tsyrulnikov](https://borystsyrulnikov.dev).","format":"markdown","source":"rustsec"}],"published":"2026-08-11T12:00:00.000Z","modified":"2026-11-11T08:45:02.464Z","severity":{"scorer":"intel","scheme":"CVSS:4.0","vector":"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":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"intel","scheme":"CVSS:4.0","vector":"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":4.6,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:4.0","vector":"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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.2,"rating":"MEDIUM"}],"cwes":["CWE-697"],"affected":[{"ranges":[{"version":"before version 0.3.1","status":"affected"}],"product":"Intel(R) TDX Guest software","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.8","status":"affected","fixed":"0.3.1"}],"ecosystem":"crates.io","package":"tdx-guest","purl":"pkg:cargo/tdx-guest","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.3.1"}],"vendor":"intel","product":"trust_domain_extensions_guest","cpe":"cpe:2.3:a:intel:trust_domain_extensions_guest:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://intel.com/content/www/us/en/security-center/advisory/intel-sa-01462.html","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/tdx-guest","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0484.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01462.html","tags":["web"],"sources":["rustsec"]},{"url":"https://github.com/intel/confidential-computing.tdx.tdx-guest/commit/311d33b18a5bef5dc67c9b0c86587dd00c77027e","tags":["web"],"sources":["rustsec"]},{"url":"https://borystsyrulnikov.dev/posts/tdx-guest-l2-vm-bugs/","tags":["web"],"sources":["rustsec"]}],"credits":[],"assigner":"intel","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-12T15:54:27.484Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-20765","url":"https://www.cve.org/CVERecord?id=CVE-2026-20765","licence":"CVE Terms of Use","modified":"2026-08-12T15:54:40.418Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0484","url":"https://rustsec.org/advisories/RUSTSEC-2026-0484.html","licence":"CC0-1.0","modified":"2026-11-11T08:45:02.464Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-20765","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20765","licence":"Public domain","modified":"2026-08-18T15:48:19.603Z"}],"updatedAt":"2026-11-25T22:59:32.288Z","epss":{"score":0.00228,"percentile":0.1445,"date":"2026-12-01T12:00:22.000Z"}}