Skip to content

CVE-2026-28815 Swift Crypto: X-Wing HPKE Decapsulation Accepts Malformed Ciphertext Length

HighCVSS 7.5 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

A remote attacker can supply a short X-Wing HPKE encapsulated key and trigger an out-of-bounds read in the C decapsulation path, potentially causing a crash or memory disclosure depending on runtime protections. This issue is fixed in swift-crypto version 4.3.1.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
apple macos >= 4.0.0, < 4.3.1 4.3.1 Fixed
apple swift-crypto >= 4.0.0, < 4.3.1 4.3.1 Fixed
swifturl swift-crypto(SwiftURL) >= 4.0.0, <= 4.3.0 after 4.3.0 Fixed

Affected products

ProductAffected versionsFixed in
apple macos >= 4.0.0, < 4.3.1 4.3.1
swifturl swift-crypto(SwiftURL) >= 4.0.0, <= 4.3.0 No fix listed
apple swift-crypto >= 4.0.0, < 4.3.1 4.3.1

References