Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/74781?format=api",
    "vulnerability_id": "VCID-weae-zqfg-akad",
    "summary": "Kitty is a cross-platform GPU based terminal. In versions 0.46.2 and below, the handle_compose_command() function in kitty/graphics.c performs bounds validation on composition offsets using unsigned 32-bit arithmetic that is subject to integer wrapping, potentially leading to Heap Buffer Over-Read/Write. An attacker who can write escape sequences to a kitty terminal (e.g., via a malicious file, SSH login banner, or piped content) can supply crafted x_offset/y_offset values that pass the bounds check after wrapping but cause massive out-of-bounds heap memory access in compose_rectangles(). No user interaction is required. No non-default configuration is required. The attacker only needs the ability to produce output in a kitty terminal window. This issue has been fixed in version 0.47.0.",
    "aliases": [
        {
            "alias": "CVE-2026-33642"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100568?format=api",
            "purl": "pkg:deb/debian/kitty@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100563?format=api",
            "purl": "pkg:deb/debian/kitty@0.19.3-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rbtm-8gfk-sfb8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0.19.3-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/509781?format=api",
            "purl": "pkg:deb/debian/kitty@0.41.1-2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0.41.1-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100565?format=api",
            "purl": "pkg:deb/debian/kitty@0.41.1-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0.41.1-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100571?format=api",
            "purl": "pkg:deb/debian/kitty@0.41.1-2%2Bdeb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0.41.1-2%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100570?format=api",
            "purl": "pkg:deb/debian/kitty@0.47.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0.47.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100564?format=api",
            "purl": "pkg:deb/debian/kitty@0.47.0-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0.47.0-3%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/509780?format=api",
            "purl": "pkg:deb/debian/kitty@0.26.5-5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fahg-kn3w-gfdv"
                },
                {
                    "vulnerability": "VCID-rbtm-8gfk-sfb8"
                },
                {
                    "vulnerability": "VCID-weae-zqfg-akad"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0.26.5-5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100562?format=api",
            "purl": "pkg:deb/debian/kitty@0.26.5-5?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fahg-kn3w-gfdv"
                },
                {
                    "vulnerability": "VCID-rbtm-8gfk-sfb8"
                },
                {
                    "vulnerability": "VCID-weae-zqfg-akad"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/kitty@0.26.5-5%3Fdistro=trixie"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-33642",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00062",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19635",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-33642"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1137210",
            "reference_id": "1137210",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1137210"
        },
        {
            "reference_url": "https://github.com/kovidgoyal/kitty/commit/e9661f0f3afb4e4dbffa509adfb3df3c9780ad34",
            "reference_id": "e9661f0f3afb4e4dbffa509adfb3df3c9780ad34",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-05-19T19:12:56Z/"
                }
            ],
            "url": "https://github.com/kovidgoyal/kitty/commit/e9661f0f3afb4e4dbffa509adfb3df3c9780ad34"
        },
        {
            "reference_url": "https://github.com/kovidgoyal/kitty/security/advisories/GHSA-qfgm-2c64-6x3x",
            "reference_id": "GHSA-qfgm-2c64-6x3x",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-05-19T19:12:56Z/"
                }
            ],
            "url": "https://github.com/kovidgoyal/kitty/security/advisories/GHSA-qfgm-2c64-6x3x"
        }
    ],
    "weaknesses": [
        {
            "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": 190,
            "name": "Integer Overflow or Wraparound",
            "description": "The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control."
        },
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.9 - 9.9",
    "exploitability": "0.5",
    "weighted_severity": "8.9",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-weae-zqfg-akad"
}