CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed
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.
- Products
- cfitsio
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-111124
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 11:18 UTC · Revision 2
Source evidence
CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed
core-cve · Original sourcePublished 15 Oct 2026, 18:57 UTC
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.
cve:CVE-2026-111124
cfitsio
Fixed versions: Not specified
Complete source record
{
"id": "10be4bdbe5e20f6259ce5245073342f245b6d8434328f69e839f851dd6af05f6",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-111124",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed",
"summary": "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.",
"evidence": "cve:CVE-2026-111124",
"products": [
{
"name": {
"value": "cfitsio",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2026-111124",
"aliases": [
"CVE-2026-111124"
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"version": "4.0",
"baseScore": 6.9,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"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",
"userInteraction": "PASSIVE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "LOW"
}
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.1,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
}
}
],
"affected": [
{
"repo": "https://github.com/HEASARC/cfitsio",
"vendor": "HEASARC",
"product": "cfitsio",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "4.7.0"
}
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected"
}
],
"modified": "2026-10-26T15:02:09.903Z",
"provider": "cve",
"references": [
"https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read",
"https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L5353-L5362",
"https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L7495-L7516",
"https://github.com/HEASARC/cfitsio",
"https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-negative-zdither0-seed"
],
"provider_metadata": {
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-111124",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-26T15:02:01.055497Z"
}
}
}
],
"references": [
{
"url": "https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-26T15:02:09.903Z"
}
}
],
"cna": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-15T18:57:21.328Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-111124",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 314029,
"published_at": "2026-10-15T18:57:21.328+00:00"
}