Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/49823?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49823?format=api",
    "vulnerability_id": "VCID-u1c9-xd6h-8fgc",
    "summary": "protobuf affected by a JSON recursion depth bypass\nA denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, where the max_recursion_depth limit can be bypassed when parsing nested google.protobuf.Any messages.\n\nDue to missing recursion depth accounting inside the internal Any-handling logic, an attacker can supply deeply nested Any structures that bypass the intended recursion limit, eventually exhausting Python’s recursion stack and causing a RecursionError.",
    "aliases": [
        {
            "alias": "CVE-2026-0994"
        },
        {
            "alias": "GHSA-7gcm-g887-7qv7"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73585?format=api",
            "purl": "pkg:pypi/protobuf@5.29.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/protobuf@5.29.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73584?format=api",
            "purl": "pkg:pypi/protobuf@6.33.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/protobuf@6.33.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73583?format=api",
            "purl": "pkg:pypi/protobuf@6.30.0rc1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-u1c9-xd6h-8fgc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/protobuf@6.30.0rc1"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/protocolbuffers/protobuf",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/protocolbuffers/protobuf"
        },
        {
            "reference_url": "https://github.com/protocolbuffers/protobuf/commit/5ebddcb1bcbe51d1fe323baa145e85f4f23128cf",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/protocolbuffers/protobuf/commit/5ebddcb1bcbe51d1fe323baa145e85f4f23128cf"
        },
        {
            "reference_url": "https://github.com/protocolbuffers/protobuf/commit/d2b001626d137c62dfee6c88c87324102531868b",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/protocolbuffers/protobuf/commit/d2b001626d137c62dfee6c88c87324102531868b"
        },
        {
            "reference_url": "https://github.com/protocolbuffers/protobuf/issues/25070",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/protocolbuffers/protobuf/issues/25070"
        },
        {
            "reference_url": "https://github.com/protocolbuffers/protobuf/pull/25239",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/protocolbuffers/protobuf/pull/25239"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-0994",
            "reference_id": "CVE-2026-0994",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-0994"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7gcm-g887-7qv7",
            "reference_id": "GHSA-7gcm-g887-7qv7",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-7gcm-g887-7qv7"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 674,
            "name": "Uncontrolled Recursion",
            "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."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u1c9-xd6h-8fgc"
}