PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseRUSTSEC-2026-0335

RUSTSEC-2026-0335: 
Rust vulnerability analysis and mitigation

mykey implements MIKEY (RFC 3830) for SRTP key exchange. Pre-shared key mode transmitted the TEK Generation Key (TGK) in the clear. MikeyMessage::new_psk_init built its KEMAC payload with EncAlg::Null and placed the TGK in enc_data verbatim. Anyone able to read a PSK-Init message therefore recovers the TGK — and so the SRTP master key — without knowing the pre-shared key. The transmitted value was never even used by the receiver: complete_psk re-derived the TGK from the pre-shared key and ignored enc_data entirely. The field was write-only; it provided nothing and disclosed everything. A second consequence: the message authentication key was derived from the TGK rather than from the pre-shared key, so an attacker who read the TGK off the wire could also forge a valid message MAC. Integrity was lost along with confidentiality. That aspect is tracked separately as GHSA-xq78-wvcv-hqvj.

Exploitability

A MIKEY message is normally distributed as an SDP a=key-mgmt:mikey attribute, which in AES67 and SMPTE ST 2110 deployments is typically announced over SAP multicast. A passive listener on the media network recovers the session key with no active attack and no credentials. RFC 3830 §4.2.3 permits NULL encryption only where "the underlying protocols can guarantee security", and warns to use it with caution. An SDP file or a SAP announcement is not such a channel.

The fix

Pre-shared key mode now follows RFC 3830 §3.1 as key transport: the initiator generates a random TGK, frames it as a Key data sub-payload (§6.13), and encrypts it with AES-CM (§4.2.3) under an encryption key and 112-bit salt derived from the pre-shared key (§4.1.4). The message MAC is keyed from the pre-shared key and verified before anything is decrypted. This changes the wire format, so both ends of an exchange must be upgraded together. The incompatibility is silent: an old peer and a new peer complete the exchange without error and then derive different SRTP keys.

Workarounds

Use ephemeral Diffie-Hellman mode instead of pre-shared key mode, or carry the PSK-Init only over a channel that is already confidential and authenticated end to end.


Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-x9m4-9c4v-r385MEDIUM8.7
  • Rust logoRust
  • tari_validator_node
NoNoOct 21, 2026
CVE-2026-113799MEDIUM5.3
  • Rust logoRust
  • slack-morphism
NoYesOct 21, 2026
GHSA-5wjr-9356-4wc8HIGHN/A
  • Rust logoRust
  • tokio
NoYesOct 21, 2026
GHSA-23hp-j76v-pcwjHIGHN/A
  • Rust logoRust
  • webpage
NoYesOct 21, 2026
GHSA-8qj9-f9q5-4v4rMEDIUMN/A
  • Rust logoRust
  • kule
NoNoOct 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management