GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
Home/CWEs/CWE-674
ShareXLinkedInRedditHN
Common Weakness Enumeration

CWE-674: Uncontrolled Recursion

Abstraction
Class
Related CVEs
51

Description

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

How attackers exploit CWE-674

MITRE ATT&CK techniques associated with this weakness class (mapped via MITRE CAPEC). A vulnerability of this type could let an adversary carry out:

T1499Endpoint Denial of Serviceimpact

Step-by-step: how CWE-674 gets exploited

A stage-by-stage walkthrough of the attack, mapped to the real MITRE ATT&CK tactics for this weakness — what the attacker is trying to do, what's at risk (what can be stolen or damaged), and how you defend. Understanding the playbook is how you shut it down.

  1. 1
    Impactimpact

    Cause damage — destroy, encrypt, deny, or manipulate.

    At risk / what's stolen

    Availability and integrity: ransomware encryption, data wiping, or service denial.

    How you defend

    Tested offline backups, integrity checks, and rate/abuse limiting.

This is a defensive, conceptual walkthrough for education — stages reflect MITRE ATT&CK tactics associated with this weakness class, not a working exploit. Not every attack uses every stage.

Related CVEs

HighCVE-2018-20993Security vulnerability in yaml-rust
HighCVE-2019-15542Security vulnerability in ammonia
HighCVE-2026-18140Security vulnerability in aws-smithy-json
MediumCVE-2026-33532Security vulnerability in yaml
HighCVE-2019-15542Security vulnerability in ammonia
MediumCVE-2026-33532Security vulnerability in yaml
HighCVE-2026-32141Security vulnerability in flatted
HighCVE-2026-42039Security vulnerability in axios
HighCVE-2026-42039Security vulnerability in axios
HighCVE-2026-32141Security vulnerability in flatted
MediumCVE-2026-33532Security vulnerability in yaml
HighCVE-2026-67321Security vulnerability in axios
HighCVE-2026-42039Security vulnerability in axios
MediumCVE-2026-15830Security vulnerability in django
HighCVE-2019-14235Security vulnerability in django
HighCVE-2026-42039Security vulnerability in axios
HighCVE-2026-32141Security vulnerability in flatted
MediumCVE-2026-33532Security vulnerability in yaml
MediumCVE-2026-24401Security vulnerability in avahi
HighCVE-2026-32141Security vulnerability in flatted
HighCVE-2026-32141Security vulnerability in flatted
HighCVE-2026-32141Security vulnerability in flatted
HighCVE-2026-42039Security vulnerability in axios
MediumCVE-2026-33532Security vulnerability in yaml
MediumCVE-2026-33532Security vulnerability in yaml
HighCVE-2026-42039Security vulnerability in axios
HighCVE-2026-67321Security vulnerability in axios
MediumCVE-2026-33532Security vulnerability in yaml
MediumCVE-2026-54269Security vulnerability in protobufjs
HighCVE-2026-48712Security vulnerability in protobufjs
MediumCVE-2026-45740Security vulnerability in protobufjs
HighCVE-2026-44289Security vulnerability in protobufjs
HighCVE-2026-67321Security vulnerability in axios
HighCVE-2026-18140Security vulnerability in aws-smithy-json
HighCVE-2026-18140Security vulnerability in aws-smithy-json
HighCVE-2026-42039Security vulnerability in axios
HighCVE-2026-42039Security vulnerability in axios
HighCVE-2026-42039Security vulnerability in axios
HighCVE-2026-42039Security vulnerability in axios
MediumCVE-2026-54269Security vulnerability in protobufjs
HighCVE-2026-42039Security vulnerability in axios
MediumGHSA-8wjv-2p76-3863Security vulnerability in pyjwt
MediumCVE-2026-33532Security vulnerability in yaml
MediumCVE-2018-0739Security vulnerability in openssl
MediumCVE-2018-0739Security vulnerability in openssl
MediumCVE-2026-15830Security vulnerability in django
HighCVE-2026-75655Security vulnerability in bridge
HighCVE-2026-30922Security vulnerability in pyasn1
MediumCVE-2026-54269Security vulnerability in protobufjs
HighCVE-2026-48712Security vulnerability in protobufjs
HighCVE-2026-54297Security vulnerability in faraday

References & documentation

  • https://cwe.mitre.org/data/definitions/674.html
  • NVD CWE listing

Weakness facts

IDCWE-674
AbstractionClass
Related CVEs51

Turn Gold’s intelligence into continuous protection

Safeguard scans your code, containers, and dependencies, tells you what’s exposed, and automates the fixes.

Start free See pricing
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard