PT-2026-7473 · Sect+5 · Sect+5
CVSS v4.0
8.2
High
| Vector | AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
cryptography versions prior to 46.0.5
Description
A validation flaw exists where the functions
public key from numbers() (or EllipticCurvePublicNumbers.public key()), EllipticCurvePublicNumbers.public key(), load der public key(), and load pem public key() fail to verify if a point belongs to the expected prime-order subgroup of the curve. This allows an attacker to provide a public key point P from a small-order subgroup, which specifically impacts SECT curves. This can lead to security issues during signature verification (ECDSA) and shared key negotiation (ECDH). In ECDH, when a victim computes the shared secret as S = [victim private key]P, information about victim private key mod (small subgroup order) is leaked. For curves with a cofactor greater than 1, this reveals the least significant bits of the private key. Additionally, using these weak public keys in ECDSA makes it possible to forge signatures on the small subgroup.Recommendations
Update cryptography to version 46.0.5.
Exploit
Fix
DoS
Insufficient Verification of Data Authenticity
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Red Os
Rocky Linux
Sect
Ubuntu
Cryptography