Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/583138?format=api",
    "purl": "pkg:deb/debian/ffmpeg@7:5.1.1-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "ffmpeg",
    "version": "7:5.1.1-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7:5.1.2-1",
    "latest_non_vulnerable_version": "7:8.1-3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/267058?format=api",
            "vulnerability_id": "VCID-fxqx-4tbe-n3e6",
            "summary": "A heap out-of-bounds memory write exists in FFMPEG since version 5.1. The size calculation in `build_open_gop_key_points()` goes through all entries in the loop and adds `sc->ctts_data[i].count` to `sc->sample_offsets_count`. This can lead to an integer overflow resulting in a small allocation with `av_calloc()`. An attacker can cause remote code execution via a malicious mp4 file. We recommend upgrading past commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-2566",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8135",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81256",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81332",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81318",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81347",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81279",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81277",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81306",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81311",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-2566"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/FFmpeg/FFmpeg/commit/c953baa084607dd1d84c3bfcce3cf6a87c3e6e05",
                    "reference_id": "c953baa084607dd1d84c3bfcce3cf6a87c3e6e05",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-04-21T13:36:59Z/"
                        }
                    ],
                    "url": "https://github.com/FFmpeg/FFmpeg/commit/c953baa084607dd1d84c3bfcce3cf6a87c3e6e05"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582176?format=api",
                    "purl": "pkg:deb/debian/ffmpeg@0?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ffmpeg@0%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582177?format=api",
                    "purl": "pkg:deb/debian/ffmpeg@7:4.3.7-0%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2qje-t52h-fyfk"
                        },
                        {
                            "vulnerability": "VCID-mun9-fyvn-8kfs"
                        },
                        {
                            "vulnerability": "VCID-ujjc-ays1-gfc2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ffmpeg@7:4.3.7-0%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583138?format=api",
                    "purl": "pkg:deb/debian/ffmpeg@7:5.1.1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ffmpeg@7:5.1.1-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582178?format=api",
                    "purl": "pkg:deb/debian/ffmpeg@7:5.1.8-0%2Bdeb12u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2qje-t52h-fyfk"
                        },
                        {
                            "vulnerability": "VCID-352p-mxyy-k3bu"
                        },
                        {
                            "vulnerability": "VCID-e9kf-tzg8-9bht"
                        },
                        {
                            "vulnerability": "VCID-grh1-jxmf-dqdv"
                        },
                        {
                            "vulnerability": "VCID-mun9-fyvn-8kfs"
                        },
                        {
                            "vulnerability": "VCID-ns98-tu4j-sfd5"
                        },
                        {
                            "vulnerability": "VCID-uakc-kpg5-2ug5"
                        },
                        {
                            "vulnerability": "VCID-wrb6-w8ps-uuge"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ffmpeg@7:5.1.8-0%252Bdeb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582179?format=api",
                    "purl": "pkg:deb/debian/ffmpeg@7:7.1.3-0%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2qje-t52h-fyfk"
                        },
                        {
                            "vulnerability": "VCID-352p-mxyy-k3bu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ffmpeg@7:7.1.3-0%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582180?format=api",
                    "purl": "pkg:deb/debian/ffmpeg@7:8.1-3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ffmpeg@7:8.1-3%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2022-2566"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fxqx-4tbe-n3e6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ffmpeg@7:5.1.1-1%3Fdistro=trixie"
}