Unchecked Return Value in scapy - #VU159457
Published: November 5, 2026
Vulnerability details
The vulnerability allows a remote attacker on the local network to bypass KDC authentication and cause a Kerberos client to accept an attacker-selected ticket and session key.
The vulnerability exists due to an unchecked signature-verification return value in Scapy's CMS_Engine.verify() function when processing CMS-signed PKINIT replies. A remote attacker on the local network can impersonate or intercept the selected KDC endpoint and send a crafted AS-REP containing an all-zero CMS signature to supply an unauthenticated Diffie-Hellman public value, derive the client's reply key, and cause krb_as_req() to return an attacker-selected ticket and session key.
Exploitation remains possible with certificate verification enabled and the correct trusted CA configured.