Common Weakness Enumeration

CWE-1025 Comparison Using Wrong Factors

Description

The code performs a comparison between two entities, but the comparison examines the wrong factors or characteristics of the entities, which can lead to incorrect results and resultant weaknesses.

Associated Reviewed Advisories

Vulnerabilities classified under CWE-1025 ordered by modification date.

3 reviewed records
Advisory ID NVD ID Severity PURLs Summary Last Modified
GHSA-xvj8-ph7x-65gf CVE-2026-40880 HIGH -

Zebra: Cached Mempool Verification Bypasses Consensus Rules for Ahead-of-Tip Blocks

2026-04-27
GHSA-76g3-38jv-wxh4 CVE-2025-2888 MODERATE -

tough timestamp metadata is cached when it fails snapshot rollback check

2025-10-14
GHSA-q6r9-r9pw-4cf7 CVE-2025-2887 MODERATE -

tough failure to detect delegated target rollback

2025-10-14