Lookup for vulnerabilities affecting packages.

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

{
    "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",
    "aliases": [
        {
            "alias": "CVE-2022-2566"
        }
    ],
    "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"
        }
    ],
    "affected_packages": [],
    "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.81372",
                    "published_at": "2026-04-24T12: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.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.8135",
                    "published_at": "2026-04-21T12: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"
                },
                {
                    "value": "0.0153",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81332",
                    "published_at": "2026-04-11T12: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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 122,
            "name": "Heap-based Buffer Overflow",
            "description": "A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc()."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.4 - 9.0",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fxqx-4tbe-n3e6"
}