Common Weakness Enumeration

    CWE Definition / CWE-581

    CWE-581: Object Model Violation: Just One of Equals and Hashcode Defined

    The product does not maintain equal hashcodes for equal objects.

    Published:15 Dec 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-573: Improper Following of Specification by Caller

    CWE-697: Incorrect Comparison

    CWE-581: Object Model Violation: Just One of Equals and… | CVE-DB