Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/977082?format=api",
    "purl": "pkg:apk/alpine/postgresql16@16.9-r0?arch=s390x&distroversion=edge&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "postgresql16",
    "version": "16.9-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "edge",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "16.10-r0",
    "latest_non_vulnerable_version": "16.13-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3503?format=api",
            "vulnerability_id": "VCID-dck8-zvk3-q7f8",
            "summary": "PostgreSQL GB18030 encoding validation can read one byte past end of allocation for text that fails validationmore details",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-4207.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-4207.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-4207",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55561",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5562",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55661",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55641",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55569",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55586",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55592",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55616",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55594",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55646",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55649",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55658",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00326",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55637",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-4207"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-4207",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-4207"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/postgresql-175-169-1513-1418-and-1321-released-3072/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/postgresql-175-169-1513-1418-and-1321-released-3072/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2025-4207/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H']"
                        },
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-05-08T14:52:17Z/"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2025-4207/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2365111",
                    "reference_id": "2365111",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2365111"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2875",
                    "reference_id": "AVG-2875",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2875"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:14826",
                    "reference_id": "RHSA-2025:14826",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:14826"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:14827",
                    "reference_id": "RHSA-2025:14827",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:14827"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:14862",
                    "reference_id": "RHSA-2025:14862",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:14862"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:14899",
                    "reference_id": "RHSA-2025:14899",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:14899"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:15021",
                    "reference_id": "RHSA-2025:15021",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:15021"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:15022",
                    "reference_id": "RHSA-2025:15022",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:15022"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7520-1/",
                    "reference_id": "USN-7520-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7520-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7520-2/",
                    "reference_id": "USN-7520-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7520-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/977082?format=api",
                    "purl": "pkg:apk/alpine/postgresql16@16.9-r0?arch=s390x&distroversion=edge&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql16@16.9-r0%3Farch=s390x&distroversion=edge&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2025-4207"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dck8-zvk3-q7f8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql16@16.9-r0%3Farch=s390x&distroversion=edge&reponame=community"
}