Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/28640?format=api",
    "vulnerability_id": "VCID-kq2x-szty-77aa",
    "summary": "",
    "aliases": [
        {
            "alias": "CVE-2026-42046"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077993?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta20-3%2Bdeb12u1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta20-3%252Bdeb12u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077995?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta20-5%2Bdeb13u1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta20-5%252Bdeb13u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51499?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta20-7?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta20-7%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51498?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta19-2.2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kq2x-szty-77aa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta19-2.2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077991?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta19-2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-262d-m6zz-z7fd"
                },
                {
                    "vulnerability": "VCID-72ua-pptf-u3fv"
                },
                {
                    "vulnerability": "VCID-kq2x-szty-77aa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta19-2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51496?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta20-3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kq2x-szty-77aa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta20-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077992?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta20-3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kq2x-szty-77aa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta20-3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51500?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta20-5?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kq2x-szty-77aa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta20-5%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077994?format=api",
            "purl": "pkg:deb/debian/libcaca@0.99.beta20-5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kq2x-szty-77aa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcaca@0.99.beta20-5"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-42046",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00086",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24883",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00094",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26448",
                    "published_at": "2026-06-14T12:55:00Z"
                },
                {
                    "value": "0.00094",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26462",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.00094",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26449",
                    "published_at": "2026-06-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-42046"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42046",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42046"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136952",
            "reference_id": "1136952",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136952"
        },
        {
            "reference_url": "https://github.com/cacalabs/libcaca/issues/86",
            "reference_id": "86",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-05-12T13:16:06Z/"
                }
            ],
            "url": "https://github.com/cacalabs/libcaca/issues/86"
        },
        {
            "reference_url": "https://github.com/cacalabs/libcaca/commit/fb77acff9ba6bb01d53940da34fb10f20b156a23",
            "reference_id": "fb77acff9ba6bb01d53940da34fb10f20b156a23",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-05-12T13:16:06Z/"
                }
            ],
            "url": "https://github.com/cacalabs/libcaca/commit/fb77acff9ba6bb01d53940da34fb10f20b156a23"
        },
        {
            "reference_url": "https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w",
            "reference_id": "GHSA-4vvg-vrqv-m56w",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-05-12T13:16:06Z/"
                }
            ],
            "url": "https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w"
        },
        {
            "reference_url": "https://usn.ubuntu.com/8318-1/",
            "reference_id": "USN-8318-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/8318-1/"
        }
    ],
    "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()."
        },
        {
            "cwe_id": 190,
            "name": "Integer Overflow or Wraparound",
            "description": "The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control."
        },
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.8 - 7.8",
    "exploitability": "0.5",
    "weighted_severity": "7.0",
    "risk_score": 3.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kq2x-szty-77aa"
}