Intel

AIKIDO-2026-710295

mykey is vulnerable to Improper Validation of Integrity Check Value

GHSA-xq78-wvcv-hqvjPublished Oct 29, 2026
October 29, 2026

75

CVE Score

High

Improper Validation of Integrity Check Value

Are you affected? Scan for Free

TL;DR

The MikeyMessage::from_bytes parser and MikeyMessage::complete_psk builder in src/message.rs process MIKEY (RFC 3830) messages received over the wire for SRTP pre-shared-key exchange, but never called the existing crypto::verify_mac function to check the trailing authentication tag. As a result, a receiver using the library's default PSK mode accepted any message regardless of whether its MAC was correct, incorrect, or missing, defeating the integrity/authentication guarantee the pre-shared-key mode is documented to provide. The fix adds a mac_offset field tracked during parsing, a PSK_AUTH_KEY_LEN constant, and derivation/verification of the authentication key so the MAC is now checked before a parsed message is accepted.

How do I fix this?

Upgrade the mykey package to version 2.0.0 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and are parsing or accepting MIKEY PSK-mode messages received from a peer.

Package

Versions

0.1.1 - 1.0.0

Fixed in 2.0.0

Background info

mykey is vulnerable to Improper Validation of Integrity Check Value in versions 0.1.1 - 1.0.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea