Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/72598?format=api",
    "vulnerability_id": "VCID-bmv8-f7rb-43dc",
    "summary": "libxml2: XXE vulnerability",
    "aliases": [
        {
            "alias": "CVE-2024-40896"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929206?format=api",
            "purl": "pkg:deb/debian/libxml2@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libxml2@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929198?format=api",
            "purl": "pkg:deb/debian/libxml2@2.9.10%2Bdfsg-6.7%2Bdeb11u4?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-62bb-e8vk-7uh4"
                },
                {
                    "vulnerability": "VCID-d1ar-1945-sygd"
                },
                {
                    "vulnerability": "VCID-knx8-5fpz-zbgn"
                },
                {
                    "vulnerability": "VCID-nj3a-zqw9-6bga"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libxml2@2.9.10%252Bdfsg-6.7%252Bdeb11u4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929196?format=api",
            "purl": "pkg:deb/debian/libxml2@2.9.14%2Bdfsg-1.3~deb12u5?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-62bb-e8vk-7uh4"
                },
                {
                    "vulnerability": "VCID-d1ar-1945-sygd"
                },
                {
                    "vulnerability": "VCID-knx8-5fpz-zbgn"
                },
                {
                    "vulnerability": "VCID-nj3a-zqw9-6bga"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libxml2@2.9.14%252Bdfsg-1.3~deb12u5%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929200?format=api",
            "purl": "pkg:deb/debian/libxml2@2.12.7%2Bdfsg%2Breally2.9.14-2.1%2Bdeb13u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-62bb-e8vk-7uh4"
                },
                {
                    "vulnerability": "VCID-d1ar-1945-sygd"
                },
                {
                    "vulnerability": "VCID-knx8-5fpz-zbgn"
                },
                {
                    "vulnerability": "VCID-nj3a-zqw9-6bga"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libxml2@2.12.7%252Bdfsg%252Breally2.9.14-2.1%252Bdeb13u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929199?format=api",
            "purl": "pkg:deb/debian/libxml2@2.15.2%2Bdfsg-0.1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libxml2@2.15.2%252Bdfsg-0.1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/91266?format=api",
            "purl": "pkg:rpm/redhat/libxml2@2.12.5-5?arch=el10_0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-31w8-13b6-8beh"
                },
                {
                    "vulnerability": "VCID-bmv8-f7rb-43dc"
                },
                {
                    "vulnerability": "VCID-c9ds-faa9-t7be"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/libxml2@2.12.5-5%3Farch=el10_0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-40896.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-40896.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-40896",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68088",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6806",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68075",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68099",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68085",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68051",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68012",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68031",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00553",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68009",
                    "published_at": "2026-04-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-40896"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://gitlab.gnome.org/GNOME/libxml2/-/commit/1a8932303969907f6572b1b6aac4081c56adb5c6",
            "reference_id": "1a8932303969907f6572b1b6aac4081c56adb5c6",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-12-24T02:10:22Z/"
                }
            ],
            "url": "https://gitlab.gnome.org/GNOME/libxml2/-/commit/1a8932303969907f6572b1b6aac4081c56adb5c6"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2333871",
            "reference_id": "2333871",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2333871"
        },
        {
            "reference_url": "https://gitlab.gnome.org/GNOME/libxml2/-/issues/761",
            "reference_id": "761",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-12-24T02:10:22Z/"
                }
            ],
            "url": "https://gitlab.gnome.org/GNOME/libxml2/-/issues/761"
        },
        {
            "reference_url": "https://usn.ubuntu.com/7215-1/",
            "reference_id": "USN-7215-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/7215-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 611,
            "name": "Improper Restriction of XML External Entity Reference",
            "description": "The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output."
        }
    ],
    "exploits": [],
    "severity_range_score": "8.6 - 9.1",
    "exploitability": "0.5",
    "weighted_severity": "8.2",
    "risk_score": 4.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bmv8-f7rb-43dc"
}