Description
Duplicate keys in associative lists can lead to non-unique keys being mistaken for an error.
Extended Description
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.
CVE vulnerabilities with CWE-462 (1)
2.1
CVSS
LOW
CVE-2025-21085
pub. 2025-06-15