CVE-2021-33657

Affected packages

Git / github.com/libsdl-org/sdl

Affected ranges

Type
GIT
Repo
https://github.com/libsdl-org/sdl
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.0.0"
        },
        {
            "last_affected": "2.0.18"
        }
    ]
}

Database specific

vanir_signatures_modified
"2026-04-11T17:26:01Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33657.json"
vanir_signatures
[
    {
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2021-33657-493fc812",
        "source": "https://github.com/libsdl-org/sdl/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9",
        "signature_version": "v1",
        "target": {
            "file": "src/video/SDL_pixels.c",
            "function": "Map1to1"
        },
        "digest": {
            "length": 673.0,
            "function_hash": "135559890956021690986487977211098728481"
        }
    },
    {
        "id": "CVE-2021-33657-52cbc3ff",
        "signature_type": "Function",
        "source": "https://github.com/libsdl-org/sdl/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9",
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "file": "src/video/SDL_pixels.c",
            "function": "Map1toN"
        },
        "digest": {
            "length": 860.0,
            "function_hash": "120029847142050598506380381411279339480"
        }
    },
    {
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2021-33657-795aa1c9",
        "source": "https://github.com/libsdl-org/sdl/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9",
        "target": {
            "file": "src/video/SDL_pixels.c"
        },
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "237541296599115013407641409675079124889",
                "272085526378248488061226745576933115711",
                "235132022122211645155266490537828432366",
                "103230726993537480189666107780129338690",
                "159352565534071501880625154615757691494",
                "63061321940708442293120198552799010986",
                "43469035986305709707052829820256164457",
                "101640187021522532256005357573848813681"
            ]
        }
    }
]