VYPR

CWE-462

Duplicate Key in Associative List (Alist)

VariantIncompleteLikelihood: Low

Description

Duplicate keys in associative lists can lead to non-unique keys being mistaken for an error.

A duplicate key entry -- if the alist is designed properly -- could be used as a constant time replace function. However, duplicate key entries could be inserted by mistake. Because of this ambiguity, duplicate key entries in an association list are not recommended and should not be allowed.

Hierarchy (View 1000)

Parents

Children

none

CVEs mapped to this weakness (1)

CVESevRiskCVSSEPSSKEVPublishedDescription
CVE-2025-21085Low0.140.00Jun 15, 2025PingFederate OAuth2 grant duplication in PostgreSQL persistent storage allows OAuth2 requests to use excessive memory utilization.