cfitsio — security advisory
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
- 4.2.0-3, 4.3.0-1, 4.3.0-2, 4.3.1-1, 4.3.1-1.1, 4.3.1-1.1~exp1, 4.4.1-1, 4.4.1-2, 4.5.0-1, 4.5.0-2, 4.5.0-3, 4.5.0-4, 4.5.0-5, 4.6.2-1, 4.6.2-2, 4.6.3-1, 4.6.4-1, 4.7.0-1, 4.7.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-111124
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:49 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-111124
cfitsio
Fixed versions: Not specified
cfitsio
Fixed versions: Not specified
cfitsio
Fixed versions: Not specified
Complete source record
{
"id": "898899a8b2ed50e55aecdd4f5b63d99ac6cd11154d53f996371226f172bba17d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-111124",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-111124",
"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": "osv:DEBIAN-CVE-2026-111124",
"products": [
{
"name": {
"value": "cfitsio",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.2.0-3",
"evidence": "/affected/0/versions"
},
{
"value": "4.3.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.3.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.3.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.3.1-1.1",
"evidence": "/affected/0/versions"
},
{
"value": "4.3.1-1.1~exp1",
"evidence": "/affected/0/versions"
},
{
"value": "4.4.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.4.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-3",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-4",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-5",
"evidence": "/affected/0/versions"
},
{
"value": "4.6.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.6.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.6.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.6.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.7.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.7.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "cfitsio",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.6.2-2",
"evidence": "/affected/1/versions"
},
{
"value": "4.6.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.6.4-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.7.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "4.7.0-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "cfitsio",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.6.2-2",
"evidence": "/affected/2/versions"
},
{
"value": "4.6.3-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.6.4-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.7.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.7.0-2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-111124",
"aliases": [
"DEBIAN-CVE-2026-111124"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cfitsio",
"purl": "pkg:deb/debian/cfitsio?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"4.2.0-3",
"4.3.0-1",
"4.3.0-2",
"4.3.1-1",
"4.3.1-1.1",
"4.3.1-1.1~exp1",
"4.4.1-1",
"4.4.1-2",
"4.5.0-1",
"4.5.0-2",
"4.5.0-3",
"4.5.0-4",
"4.5.0-5",
"4.6.2-1",
"4.6.2-2",
"4.6.3-1",
"4.6.4-1",
"4.7.0-1",
"4.7.0-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-111124.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cfitsio",
"purl": "pkg:deb/debian/cfitsio?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"4.6.2-2",
"4.6.3-1",
"4.6.4-1",
"4.7.0-1",
"4.7.0-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-111124.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cfitsio",
"purl": "pkg:deb/debian/cfitsio?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"4.6.2-2",
"4.6.3-1",
"4.6.4-1",
"4.7.0-1",
"4.7.0-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-111124.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T09:47:42.260320600Z",
"provider": "osv",
"upstream": [
"CVE-2026-111124"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-111124"
]
},
"related_cves": [
{
"value": "CVE-2026-111124",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461311,
"published_at": "2026-10-15T19:17:25.627+00:00"
}