{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-111124",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-10-15T17:03:50.803Z",
        "datePublished": "2026-10-15T18:57:21.328Z",
        "dateUpdated": "2026-10-15T18:57:21.328Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-10-15T18:57:21.328Z"
            },
            "datePublic": "2026-10-15T00:00:00.000Z",
            "title": "CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "CFITSIO through 4.7.0 contains a heap-based out-of-bounds read vulnerability in the imcompress.c unquantize helpers that allows attackers to read memory before the fits_rand_value table via a zero or negative ZDITHER0 seed. Attackers can supply a crafted FITS file with a SUBTRACTIVE_DITHER_1 compressed image, read through fits_open_file() and fits_read_pix(), to cause crashes or leak heap contents in decoded pixels."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Out-of-bounds Read",
                            "cweId": "CWE-125",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "HEASARC",
                    "product": "cfitsio",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "4.7.0",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "collectionURL": "https://github.com",
                    "repo": "https://github.com/HEASARC/cfitsio"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.9,
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.1,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L5353-L5362",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L7495-L7516",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/HEASARC/cfitsio",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-negative-zdither0-seed"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "HaiND from the Post and Telecommunication Institute of Technology",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}