Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37410?format=api",
    "vulnerability_id": "VCID-wvz9-9g5m-k3cn",
    "summary": "Out-of-bounds Read\nThe png_format_buffer function in pngerror.c in libpng  allows remote attackers to cause a denial of service (application crash) via a crafted PNG image that triggers an out-of-bounds read during the copying of error-message data. NOTE: this vulnerability exists because of a CVE-2004-0421 regression. NOTE: this is called an off-by-one error by some sources.",
    "aliases": [
        {
            "alias": "CVE-2011-2501"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/190269?format=api",
            "purl": "pkg:ebuild/media-libs/libpng@1.2.49",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/media-libs/libpng@1.2.49"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/190270?format=api",
            "purl": "pkg:ebuild/media-libs/libpng@1.5.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/media-libs/libpng@1.5.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51165?format=api",
            "purl": "pkg:nuget/libpng@1.5.10.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9whv-nakg-7uep"
                },
                {
                    "vulnerability": "VCID-fhu5-ad1t-bubx"
                },
                {
                    "vulnerability": "VCID-fmt1-496f-9qf3"
                },
                {
                    "vulnerability": "VCID-p2gz-v2eb-n3bs"
                },
                {
                    "vulnerability": "VCID-y21n-ekwz-ayep"
                },
                {
                    "vulnerability": "VCID-yfe1-js79-y3hv"
                },
                {
                    "vulnerability": "VCID-yk3y-m6rn-ukbd"
                },
                {
                    "vulnerability": "VCID-z7uy-uene-gkb8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.5.10.9"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51162?format=api",
            "purl": "pkg:nuget/libpng@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4se8-jgv9-f3cb"
                },
                {
                    "vulnerability": "VCID-8t7j-kq5w-3kd3"
                },
                {
                    "vulnerability": "VCID-97n4-usr2-m3b1"
                },
                {
                    "vulnerability": "VCID-m97q-c2fu-7kd9"
                },
                {
                    "vulnerability": "VCID-nyc6-h81f-rqav"
                },
                {
                    "vulnerability": "VCID-rcb6-uwnn-1ffn"
                },
                {
                    "vulnerability": "VCID-wvz9-9g5m-k3cn"
                },
                {
                    "vulnerability": "VCID-x39f-cumm-1ue1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51163?format=api",
            "purl": "pkg:nuget/libpng@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4se8-jgv9-f3cb"
                },
                {
                    "vulnerability": "VCID-8t7j-kq5w-3kd3"
                },
                {
                    "vulnerability": "VCID-97n4-usr2-m3b1"
                },
                {
                    "vulnerability": "VCID-m97q-c2fu-7kd9"
                },
                {
                    "vulnerability": "VCID-nyc6-h81f-rqav"
                },
                {
                    "vulnerability": "VCID-rcb6-uwnn-1ffn"
                },
                {
                    "vulnerability": "VCID-wvz9-9g5m-k3cn"
                },
                {
                    "vulnerability": "VCID-y21n-ekwz-ayep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51164?format=api",
            "purl": "pkg:nuget/libpng@1.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-24gs-g6rh-v7gh"
                },
                {
                    "vulnerability": "VCID-4se8-jgv9-f3cb"
                },
                {
                    "vulnerability": "VCID-8t7j-kq5w-3kd3"
                },
                {
                    "vulnerability": "VCID-97n4-usr2-m3b1"
                },
                {
                    "vulnerability": "VCID-b757-b3zk-c7d8"
                },
                {
                    "vulnerability": "VCID-m97q-c2fu-7kd9"
                },
                {
                    "vulnerability": "VCID-nyc6-h81f-rqav"
                },
                {
                    "vulnerability": "VCID-p2gz-v2eb-n3bs"
                },
                {
                    "vulnerability": "VCID-rcb6-uwnn-1ffn"
                },
                {
                    "vulnerability": "VCID-wvz9-9g5m-k3cn"
                },
                {
                    "vulnerability": "VCID-y21n-ekwz-ayep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51198?format=api",
            "purl": "pkg:nuget/libpng@1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4se8-jgv9-f3cb"
                },
                {
                    "vulnerability": "VCID-8t7j-kq5w-3kd3"
                },
                {
                    "vulnerability": "VCID-97n4-usr2-m3b1"
                },
                {
                    "vulnerability": "VCID-9whv-nakg-7uep"
                },
                {
                    "vulnerability": "VCID-bem6-n5ch-j3c4"
                },
                {
                    "vulnerability": "VCID-m97q-c2fu-7kd9"
                },
                {
                    "vulnerability": "VCID-nyc6-h81f-rqav"
                },
                {
                    "vulnerability": "VCID-p2gz-v2eb-n3bs"
                },
                {
                    "vulnerability": "VCID-wvz9-9g5m-k3cn"
                },
                {
                    "vulnerability": "VCID-y21n-ekwz-ayep"
                },
                {
                    "vulnerability": "VCID-yfe1-js79-y3hv"
                },
                {
                    "vulnerability": "VCID-z7uy-uene-gkb8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/183946?format=api",
            "purl": "pkg:rpm/redhat/libpng@2:1.2.46-1?arch=el6_1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8t7j-kq5w-3kd3"
                },
                {
                    "vulnerability": "VCID-97n4-usr2-m3b1"
                },
                {
                    "vulnerability": "VCID-wvz9-9g5m-k3cn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/libpng@2:1.2.46-1%3Farch=el6_1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2011-2501.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2011-2501.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2011-2501",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02245",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84875",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.02245",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84898",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.02245",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84902",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.02245",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84896",
                    "published_at": "2026-06-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2011-2501"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=717084",
            "reference_id": "717084",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=717084"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2501",
            "reference_id": "CVE-2011-2501",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2501"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201206-15",
            "reference_id": "GLSA-201206-15",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201206-15"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2011:1105",
            "reference_id": "RHSA-2011:1105",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2011:1105"
        },
        {
            "reference_url": "https://usn.ubuntu.com/1175-1/",
            "reference_id": "USN-1175-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/1175-1/"
        }
    ],
    "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": 125,
            "name": "Out-of-bounds Read",
            "description": "The product reads data past the end, or before the beginning, of the intended 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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wvz9-9g5m-k3cn"
}