Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/69872?format=api",
    "vulnerability_id": "VCID-rb39-w8y8-gqck",
    "summary": "protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.8 and 8.2.0, protobufjs could recurse without a depth limit while expanding nested JSON descriptors through Root.fromJSON() and Namespace.addJSON(). A crafted JSON descriptor with deeply nested namespace definitions could cause the JavaScript call stack to be exhausted during descriptor loading. This vulnerability is fixed in 7.5.8 and 8.2.0.",
    "aliases": [
        {
            "alias": "CVE-2026-45740"
        },
        {
            "alias": "GHSA-jggg-4jg4-v7c6"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41271?format=api",
            "purl": "pkg:npm/protobufjs@7.5.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/protobufjs@7.5.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41269?format=api",
            "purl": "pkg:npm/protobufjs@8.2.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/protobufjs@8.2.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41270?format=api",
            "purl": "pkg:npm/protobufjs@7.5.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rb39-w8y8-gqck"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/protobufjs@7.5.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41268?format=api",
            "purl": "pkg:npm/protobufjs@8.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6nmq-6d5d-4udh"
                },
                {
                    "vulnerability": "VCID-a74m-ddhb-7bgs"
                },
                {
                    "vulnerability": "VCID-agcx-f3qr-8fce"
                },
                {
                    "vulnerability": "VCID-cset-c4xv-sfdk"
                },
                {
                    "vulnerability": "VCID-jpgw-z2qb-47hp"
                },
                {
                    "vulnerability": "VCID-rb39-w8y8-gqck"
                },
                {
                    "vulnerability": "VCID-sbyg-dk24-2kb9"
                },
                {
                    "vulnerability": "VCID-v9xz-hqym-nffk"
                },
                {
                    "vulnerability": "VCID-xgad-rzs5-4fan"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/protobufjs@8.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-45740",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18748",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18766",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18586",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00064",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20213",
                    "published_at": "2026-06-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-45740"
        },
        {
            "reference_url": "https://github.com/protobufjs/protobuf.js",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/protobufjs/protobuf.js"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45740",
            "reference_id": "CVE-2026-45740",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45740"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-jggg-4jg4-v7c6",
            "reference_id": "GHSA-jggg-4jg4-v7c6",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-jggg-4jg4-v7c6"
        },
        {
            "reference_url": "https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jggg-4jg4-v7c6",
            "reference_id": "GHSA-jggg-4jg4-v7c6",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-05-13T18:14:53Z/"
                }
            ],
            "url": "https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jggg-4jg4-v7c6"
        }
    ],
    "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rb39-w8y8-gqck"
}