CVE-2026-34513: Unbounded Dict Cache

This class appears to implement a cache using a dictionary without an associated size limit or eviction policy. Unbounded growth of a dictionary handling user-controlled or dynamically generated keys can lead to memory exhaustion and Denial of Service (DoS). Ensure that the cache enforces a maximum size and evicts older entries (e.g., using `collections.Orde

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-34513-unbounded-dict-cache --engine opengrep

Description

This class appears to implement a cache using a dictionary without an associated size limit or eviction policy. Unbounded growth of a dictionary handling user-controlled or dynamically generated keys can lead to memory exhaustion and Denial of Service (DoS). Ensure that the cache enforces a maximum size and evicts older entries (e.g., using `collections.Orde