DEBIAN-CVE-2026-66758

Source
https://security-tracker.debian.org/tracker/CVE-2026-66758
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66758.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-66758
Upstream
Published
2026-07-27T19:17:23Z
Modified
2026-09-18T11:00:07Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in the file-fits plugin in GIMP. When processing a FITS image file, the plugin calculates memory allocation sizes using signed 32-bit integers for width and height. If a crafted file sets both values to large values, their product exceeds 2^31 and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when cfitsio subsequently writes a full row of pixels in the buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.

References

Affected packages

Debian:12 / gimp

Package

Name
gimp
Purl
pkg:deb/debian/gimp?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.10.34-1
2.10.34-1+deb12u1
2.10.34-1+deb12u2
2.10.34-1+deb12u3
2.10.34-1+deb12u4
2.10.34-1+deb12u5
2.10.34-1+deb12u6
2.10.34-1+deb12u7
2.10.34-1+deb12u8
2.10.34-1+deb12u9
2.10.34-1+deb12u10
2.10.36-1
2.10.36-2
2.10.36-3
2.10.38-1
2.10.38-2
2.99.10-1
2.99.12-1
2.99.12-2
2.99.14-1
2.99.14-2
2.99.16-1
2.99.16-2
2.99.18-1
3.*
3.0.0~RC1-1
3.0.0~RC1-3
3.0.0~RC1-4
3.0.0~RC2-1
3.0.0~RC3-1
3.0.0-1
3.0.0-2
3.0.2-1
3.0.2-2
3.0.2-3
3.0.2-3.1
3.0.4-1
3.0.4-2
3.0.4-3
3.0.4-4
3.0.4-5
3.0.4-6
3.0.4-6.1
3.0.4-6.2
3.0.6-1
3.2.0~RC2-1
3.2.0~RC2-2
3.2.0~RC2-3
3.2.0~RC2-3.1
3.2.0~RC2-3.2
3.2.0~RC2-3.3
3.2.0~RC3-1
3.2.0-1
3.2.2-1
3.2.4-1
3.2.4-2
3.2.4-3
3.2.6-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66758.json"

Debian:13 / gimp

Package

Name
gimp
Purl
pkg:deb/debian/gimp?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.4-3+deb13u10

Affected versions

3.*
3.0.4-3
3.0.4-3+deb13u1
3.0.4-3+deb13u2
3.0.4-3+deb13u3
3.0.4-3+deb13u4
3.0.4-3+deb13u5
3.0.4-3+deb13u6
3.0.4-3+deb13u7
3.0.4-3+deb13u8
3.0.4-3+deb13u9

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66758.json"

Debian:14 / gimp

Package

Name
gimp
Purl
pkg:deb/debian/gimp?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.2.6-1

Affected versions

3.*
3.0.4-3
3.0.4-4
3.0.4-5
3.0.4-6
3.0.4-6.1
3.0.4-6.2
3.0.6-1
3.2.0~RC2-1
3.2.0~RC2-2
3.2.0~RC2-3
3.2.0~RC2-3.1
3.2.0~RC2-3.2
3.2.0~RC2-3.3
3.2.0~RC3-1
3.2.0-1
3.2.2-1
3.2.4-1
3.2.4-2
3.2.4-3

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66758.json"