CWE-1025Base

Comparison Using Wrong Factors

Incomplete in the CWE catalog · 21 CVEs mapped

21
CVEs mapped
7.2
Median CVSS
What it is

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.

Recent examples
6.8cvss
CVE-2026-104048

CVE-2026-104048 - MEDIUM Severity Vulnerability

A flaw was found in SSSD. In trust-enabled identity management environments, SSSD evaluates Host-Based Access Control (HBAC) rules by stripping domain qualifiers and comparing only short usernames. An authenticated user in a trusted domain who shares the same username as an authorized local account can bypass access policies and gain unauthorized access to protected services or hosts.

MEDIUMno explanation yet
0%
epss
—none
CVE-2026-100248

CVE-2026-100248 - UNKNOWN Severity Vulnerability

The Rattadan Cosmowarp smart contract before 56c6147 can have a comparison to an unintended value of current_admin.

no explanation yet
0%
epss
—none
CVE-2026-14441

CVE-2026-14441 - UNKNOWN Severity Vulnerability

A logic flaw in Java cache key handling object comparison handling could lead to improper identifier resolution when processing specific user account structures. The issue has been remediated by updating the internal comparison routines to ensure accurate object evaluation and prevent potential identity mismatch conditions.

no explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-1025
Abstraction
Base
Structure
Simple
Status
Incomplete