Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7911?format=api",
    "vulnerability_id": "VCID-eq8x-wkjr-zyf7",
    "summary": "Improper Restriction of Operations within the Bounds of a Memory Buffer\nPCRE2 has an out-of-bounds write caused by a stack-based buffer overflow in pcre2_match.c, related to a \"pattern with very many captures.\"",
    "aliases": [
        {
            "alias": "CVE-2017-8399"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934546?format=api",
            "purl": "pkg:deb/debian/pcre2@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934547?format=api",
            "purl": "pkg:deb/debian/pcre2@10.36-2%2Bdeb11u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-puhw-2qwq-gqet"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.36-2%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934545?format=api",
            "purl": "pkg:deb/debian/pcre2@10.42-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.42-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934549?format=api",
            "purl": "pkg:deb/debian/pcre2@10.46-1~deb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.46-1~deb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934548?format=api",
            "purl": "pkg:deb/debian/pcre2@10.46-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.46-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76811?format=api",
            "purl": "pkg:ebuild/dev-libs/libpcre2@10.30",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-libs/libpcre2@10.30"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/23969?format=api",
            "purl": "pkg:nuget/pcre.symbols@8.32.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-eq8x-wkjr-zyf7"
                },
                {
                    "vulnerability": "VCID-puhw-2qwq-gqet"
                },
                {
                    "vulnerability": "VCID-udse-25e2-vfeb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/pcre.symbols@8.32.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/154297?format=api",
            "purl": "pkg:nuget/pcre.symbols@8.32.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-eq8x-wkjr-zyf7"
                },
                {
                    "vulnerability": "VCID-puhw-2qwq-gqet"
                },
                {
                    "vulnerability": "VCID-udse-25e2-vfeb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/pcre.symbols@8.32.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/154298?format=api",
            "purl": "pkg:nuget/pcre.symbols@8.32.0.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-eq8x-wkjr-zyf7"
                },
                {
                    "vulnerability": "VCID-puhw-2qwq-gqet"
                },
                {
                    "vulnerability": "VCID-udse-25e2-vfeb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/pcre.symbols@8.32.0.7"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-8399.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-8399.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-8399",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85907",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85996",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85973",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85992",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85919",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85935",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85937",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85955",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85966",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8598",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.02737",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85978",
                    "published_at": "2026-04-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-8399"
        },
        {
            "reference_url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=783",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=783"
        },
        {
            "reference_url": "https://vcs.pcre.org/pcre2/code/tags/pcre2-10.30/ChangeLog?revision=854&view=markup",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://vcs.pcre.org/pcre2/code/tags/pcre2-10.30/ChangeLog?revision=854&view=markup"
        },
        {
            "reference_url": "https://vcs.pcre.org/pcre2?view=revision&revision=674",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://vcs.pcre.org/pcre2?view=revision&revision=674"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/98315",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/98315"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1449629",
            "reference_id": "1449629",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1449629"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:pcre:pcre2:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:pcre:pcre2:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:pcre:pcre2:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-8399",
            "reference_id": "CVE-2017-8399",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-8399"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201710-09",
            "reference_id": "GLSA-201710-09",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201710-09"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 121,
            "name": "Stack-based Buffer Overflow",
            "description": "A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function)."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.5 - 9.8",
    "exploitability": "0.5",
    "weighted_severity": "8.8",
    "risk_score": 4.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-eq8x-wkjr-zyf7"
}