Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/83181?format=api",
    "vulnerability_id": "VCID-2mnk-qxt4-97ga",
    "summary": "openjpeg: Heap-based buffer overflow in function t2_encode_packet in src/lib/openmj2/t2.c",
    "aliases": [
        {
            "alias": "CVE-2018-16376"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373194?format=api",
            "purl": "pkg:alpm/archlinux/openjpeg2@2.5.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/openjpeg2@2.5.0-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373193?format=api",
            "purl": "pkg:alpm/archlinux/openjpeg2@2.4.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1z5a-aa47-dyft"
                },
                {
                    "vulnerability": "VCID-2mnk-qxt4-97ga"
                },
                {
                    "vulnerability": "VCID-m3yn-396v-mfa5"
                },
                {
                    "vulnerability": "VCID-pzv2-p44c-8qg4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/openjpeg2@2.4.0-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16376.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16376.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16376",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68414",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68617",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68626",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68593",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68433",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68453",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68429",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6848",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68496",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68522",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6851",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68478",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68517",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68531",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68509",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68558",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68563",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68569",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68547",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00566",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68589",
                    "published_at": "2026-05-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16376"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16376",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16376"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1626095",
            "reference_id": "1626095",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1626095"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1390",
            "reference_id": "AVG-1390",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1390"
        }
    ],
    "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.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2mnk-qxt4-97ga"
}