Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-323 (在加密中重用Nonce与密钥对) — Vulnerability Class 43

43 vulnerabilities classified as CWE-323 (在加密中重用Nonce与密钥对). AI Chinese analysis included.

CWE-323 represents a cryptographic weakness where developers improperly reuse nonces or key pairs in encryption operations, violating the fundamental principle that these values must be unique per session. This flaw is typically exploited by attackers who leverage the repeated cryptographic material to perform statistical analysis, recover plaintext messages, or forge valid authentication tokens. By observing patterns in ciphertexts generated with identical keys or nonces, adversaries can bypass security controls and gain unauthorized access to sensitive data. To prevent this vulnerability, developers must implement robust random number generators to create cryptographically secure, unique nonces for every encryption instance. Additionally, strict key management protocols should ensure that private keys are never reused across different contexts or sessions, thereby maintaining the integrity and confidentiality of the encrypted communication channel.

MITRE CWE Description
Nonces should be used for the present occasion and only once.
Common Consequences (1)
Access Control Bypass Protection Mechanism, Gain Privileges or Assume Identity
Potentially a replay attack, in which an attacker could send the same data twice, could be crafted if nonces are allowed to be reused. This could allow a user to send a message which masquerades as a valid message from a valid user.
Mitigations (2)
Implementation Refuse to reuse nonce values.
Implementation Use techniques such as requiring incrementing, time based and/or challenge response to assure uniqueness of nonces.
Examples (2)
This code takes a password, concatenates it with a nonce, then encrypts it before sending over a network:
void encryptAndSendPassword(char *password){ char *nonce = "bad"; ... char *data = (unsigned char*)malloc(20); int para_size = strlen(nonce) + strlen(password); char *paragraph = (char*)malloc(para_size); SHA1((const unsigned char*)paragraph,parsize,(unsigned char*)data); sendEncryptedData(data) }
Bad · C
This code sends a command to a remote server, using an encrypted password and nonce to prove the command is from a trusted party:
String command = new String("some command to execute"); MessageDigest nonce = MessageDigest.getInstance("SHA"); nonce.update(String.valueOf("bad nonce")); byte[] nonce = nonce.digest(); MessageDigest password = MessageDigest.getInstance("SHA"); password.update(nonce + "secretPassword"); byte[] digest = password.digest(); sendCommand(digest, command)
Bad · C++
CVE ID Title CVSS Severity Published
CVE-2026-109140 Krill login-session tokens reuse their encryption nonce across restarts, so any user who can log in can forge an "admin" token — Krill 8.4 High 2026-11-02
CVE-2026-71884 Packet CTR reports a full success length after the counter is exhausted — BC-LTS-JAVA 8.2 High 2026-10-09
CVE-2026-15890 AEAD nonce reuse in Zephyr secure_storage ITS default nonce provider due to missing thread synchronization — zephyr 5.3 Medium 2026-09-21
CVE-2026-81341 wolfEngine reuses the AES-CCM nonce on TLS 1.2 / DTLS 1.2 records — wolfEngine 6.5 Medium 2026-08-28
CVE-2026-81020 wolfEngine reuses the AES-GCM nonce on every TLS 1.2 / DTLS 1.2 record — wolfEngine 7.4 High 2026-08-28
CVE-2026-81019 wolfProvider reuses the AES-GCM nonce on every TLS 1.2 / DTLS 1.2 record — wolfProvider 7.4 High 2026-08-28
CVE-2026-50577 ePA 3.x Integration: AES-GCM Nonce Reuse via Frozen VAU Request Counter — ePA3-Service-OpenSource 7.4 High 2026-08-18
CVE-2026-17578 Kong Event Gateway AES-GCM nonce reuse due to missing key rotation enforcement — Kong Event Gateway 2.3 Low 2026-08-05
CVE-2026-21383 Reusing a Nonce, Key Pair in Encryption in HLOS — Snapdragon 7.1 High 2026-07-06
CVE-2026-59099 Apereo CAS 7.3.0 < 8.0.0-RC6 - AES-GCM Nonce Reuse Information Disclosure — cas 9.1 Critical 2026-07-02
CVE-2026-56369 ImageMagick - Information Disclosure via AES-CTR Nonce Reuse in PasskeyEncipherImage — ImageMagick 3.7 Low 2026-06-30
CVE-2026-55967 AES-GCM streaming APIs do not reject >64 GiB cumulative single messages, enabling counter wrap and keystream reuse — wolfSSL - - 2026-06-25
CVE-2026-12205 Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery — Crypt::DSA - - 2026-06-15
CVE-2026-49952 Discuz! X5.0 Authentication Bypass via dbbak.php Encryption Oracle — Discuz! X5.0 9.1 Critical 2026-06-15
CVE-2026-45028 Astro: Server island encrypted parameters vulnerable to cross-component replay — astro - - 2026-05-13
CVE-2026-5446 wolfSSL ARIA-GCM TLS 1.2/DTLS 1.2 GCM nonce reuse — wolfSSL 9.1AI Critical AI 2026-04-09
CVE-2026-3559 Philips Hue Bridge HomeKit Accessory Protocol Static Nonce Authentication Bypass Vulnerability — Hue Bridge 8.8AI High AI 2026-03-13
CVE-2026-3099 Libsoup: libsoup: authentication bypass via digest authentication replay attack — Red Hat Enterprise Linux 10 5.8 Medium 2026-03-12
CVE-2026-25998 strongMan vulnerable to private credential recovery due to key and counter reuse — strongMan 5.3 - 2026-02-19
CVE-2025-47345 Reusing a Nonce, Key Pair in Encryption in Automotive Platform — Snapdragon 8.4 High 2026-01-06
CVE-2025-61739 Johnson Controls IQ Panels2, 2+, IQHub, IQPanel 4, PowerG reusing a nonce, key pair in encryption — IQ Panels2, 2+, IQHub, IQPanel 4, PowerG 7.5AI High AI 2025-12-22
CVE-2025-64767 hpke-js reuses AEAD nonces — hpke-js 9.1 Critical 2025-11-21
CVE-2024-11022 SICK InspectorP61x and SICK InspectorP62x are vulnerable for a replay attack — SICK InspectorP61x 5.6 Medium 2024-12-06
CVE-2024-21530 Cocoon 安全漏洞 — cocoon 4.5 Medium 2024-10-02
CVE-2024-41951 PheonixAppAPI has visible Encoding Maps — PheonixAppAPI 4.4 Medium 2024-07-31
CVE-2023-7003 CVE-2023-7003 — Kontrol Lux 5.3 - 2024-03-15
CVE-2024-23688 Consensys Discovery Nonce Reuse 7.5 - 2024-01-19
CVE-2022-24401 Keystream recovery for arbitrary frames in TETRA — TETRA Standard 8.8 High 2023-10-19
CVE-2023-4680 Vault's Transit Secrets Engine Allowed Nonce Specified without Convergent Encryption — Vault 6.8 Medium 2023-09-14
CVE-2023-37467 Discourse CSP nonce reuse vulnerability for anonymous users — discourse 6.8 Medium 2023-07-28

Vulnerabilities classified as CWE-323 (在加密中重用Nonce与密钥对) represent 43 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.