Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/72868?format=api",
    "purl": "pkg:nuget/Magick.NET-Q16-x86@14.10.0",
    "type": "nuget",
    "namespace": "",
    "name": "Magick.NET-Q16-x86",
    "version": "14.10.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "14.9.0",
    "latest_non_vulnerable_version": "14.10.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49387?format=api",
            "vulnerability_id": "VCID-b6r1-c2tq-47f2",
            "summary": "ImageMagick is vulnerable to an integer Overflow in TIM decoder leading to out of bounds read (32-bit only)\nThe TIM (PSX TIM) image parser in ImageMagick contains a critical integer overflow vulnerability in the `ReadTIMImage` function (`coders/tim.c`). The code reads `width` and `height` (16-bit values) from the file header and calculates `image_size = 2 * width * height` without checking for overflow.\nOn 32-bit systems (or where `size_t` is 32-bit), this calculation can overflow if `width` and `height` are large (e.g., 65535), wrapping around to a small value. This results in a small heap allocation via `AcquireQuantumMemory` and later operations relying on the dimensions can trigger an out of bounds read.",
            "references": [
                {
                    "reference_url": "https://github.com/dlemstra/Magick.NET/commit/2dfa08e15cfd11016a79615994787b14f9048b1c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dlemstra/Magick.NET/commit/2dfa08e15cfd11016a79615994787b14f9048b1c"
                },
                {
                    "reference_url": "https://github.com/ImageMagick/ImageMagick",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ImageMagick/ImageMagick"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66628",
                    "reference_id": "CVE-2025-66628",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66628"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6hjr-v6g4-3fm8",
                    "reference_id": "GHSA-6hjr-v6g4-3fm8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6hjr-v6g4-3fm8"
                },
                {
                    "reference_url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6hjr-v6g4-3fm8",
                    "reference_id": "GHSA-6hjr-v6g4-3fm8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6hjr-v6g4-3fm8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/72868?format=api",
                    "purl": "pkg:nuget/Magick.NET-Q16-x86@14.10.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-x86@14.10.0"
                }
            ],
            "aliases": [
                "CVE-2025-66628",
                "GHSA-6hjr-v6g4-3fm8"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b6r1-c2tq-47f2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-x86@14.10.0"
}