Fallos del tipo CWE-674

459 resultados

Recursão não controlada

Ocorre quando uma função chama a si mesma ou a outras funções de forma cíclica sem um limite adequado de profundidade, esgotando a pilha de execução (stack overflow). O risco é causar negação de serviço ou crash da aplicação, frequentemente disparado por entrada maliciosa ou dados estruturados recursivamente.

Ejemplo

Um parser XML ou JSON que não valida a profundidade de aninhamento pode sofrer recursão infinita ao processar um documento atacante com centenas de níveis aninhados, consumindo toda a memória de pilha e derrubando o serviço.

Cómo mitigar

Implemente limites de profundidade em algoritmos recursivos (máximo de chamadas aninhadas), use iteração com pilha explícita quando possível, e valide a entrada antes de processar estruturas potencialmente recursivas. Teste com payloads de aninhamento profundo.

CVE-2018-25282MEDIUMNmap 7.70 Denial of Service via XML Entity ExpansionEPSS 0.1%CVE-2025-36158MEDIUMIBM Concert Information DisclosureEPSS 0.1%CVE-2026-46557MEDIUMImageMagick: Stack overflow in fx operationEPSS 0.1%CVE-2026-42328MEDIUMgo-ipld-prime: DAG-CBOR and DAG-JSON decoders unbounded recursion depthEPSS 0.1%CVE-2026-6862MEDIUMEfivar: efivar: denial of service due to stack overflow in device path node parsingEPSS 0.1%CVE-2026-8936HIGHUnbounded recursion in grpcfuse kernel module allows container to crash Docker Desktop VMEPSS 0.1%CVE-2025-7010MEDIUMAvast antivirus stack overflow when scanning a malformed PDF fileEPSS 0.1%CVE-2025-7005MEDIUMAvast antivirus infinite recursion when scanning a malformed PE fileEPSS 0.1%CVE-2026-42445LOWNanaZip: Uncontrolled recursion in NanaZip UFS directory traversal causes stack exhaustionEPSS 0.1%CVE-2026-48734MEDIUMImageMagick: Stack Overflow in MVG decoderEPSS 0.1%CVE-2026-3778MEDIUMStack exhaustion caused by cyclic references in Foxit PDF Editor/ReaderEPSS 0.1%CVE-2026-44033MEDIUMUncontrolled recursion in the DCMTK bundled XML parser allows denial of serviceEPSS 0.1%CVE-2026-44035MEDIUMUncontrolled recursion in DCMTK DICOMDIR parsing allows denial of serviceEPSS 0.1%CVE-2026-44037MEDIUMUncontrolled recursion in DCMTK JSON reader allows denial of serviceEPSS 0.1%CVE-2026-44036MEDIUMUncontrolled recursion in DCMTK xml2dcm allows denial of serviceEPSS 0.1%CVE-2026-47320MEDIUMAccess of uninitialized pointer, Uncontrolled Recursion vulnerability in Samsung Open Source rlottie allows Pointer Manipulation, Oversized EPSS 0.1%CVE-2026-47306MEDIUMUncontrolled Recursion vulnerability in Samsung Open Source rlottie allows Oversized Serialized Data Payloads. This issue affects rlottie: EPSS 0.1%CVE-2026-107678MEDIUMFFmpeg through 9.0.2 Stack Exhaustion via Recursive Free of pssh BoxesEPSS 0.1%CVE-2026-124439HIGHScriban before 7.5.3 Denial of Service via Uncatchable StackOverflowExceptionEPSS —