CVE catalog

CVE-2026-66758

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

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangimpsid3.2.6-1fixed
Debiangimpforky3.2.6-1fixed
Debiangimptrixie3.0.4-3+deb13u10fixed
Debiangimptrixie-security3.0.4-3+deb13u11fixed
Debiangimpbookworm2.10.34-1+deb12u10vulnerable
Debiangimpbookworm-security2.10.34-1+deb12u10vulnerable
CpegimpNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangimpsourcesid3.2.6-1not yet assignedNot reported[1142991]
Debiangimpsourceforky3.2.6-1not yet assignedNot reported[1142991]
Debiangimpsourcetrixie3.0.4-3+deb13u10not yet assignedNot reported[1142991]
Debiangimpsourcebookworm(unfixed)not yet assignedNot reported[1142991]

[Debian bug #1142991]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gimp]Affected
    Details (4)
    • 2.10.34-1+deb12u10 · amd64 · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · arm64 · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · amd64 · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · arm64 · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

  • [gimp-data]Affected

    Source package: [gimp]

    Details (4)
    • 2.10.34-1+deb12u10 · all · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · all · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · all · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · all · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

  • [libgimp2.0]Affected

    Source package: [gimp]

    Details (4)
    • 2.10.34-1+deb12u10 · amd64 · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · arm64 · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · amd64 · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · arm64 · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

  • [libgimp2.0-dev]Affected

    Source package: [gimp]

    Details (4)
    • 2.10.34-1+deb12u10 · amd64 · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · arm64 · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · amd64 · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · arm64 · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

  • [libgimp2.0-doc]Affected

    Source package: [gimp]

    Details (4)
    • 2.10.34-1+deb12u10 · all · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · all · bookworm

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · all · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

    • 2.10.34-1+deb12u10 · all · bookworm-security

      Affected

      nvd · gimp · debian · bookworm; nvd · gimp · debian · 12

[Debian 13 (Trixie)]

  • [gimp]Affected
    Details (6)
    • 3.0.4-3+deb13u9 · amd64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u9 · arm64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · arm64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u8 · amd64 · trixie-security · Historical version

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

  • [gimp-data]Affected

    Source package: [gimp]

    Details (6)
    • 3.0.4-3+deb13u9 · all · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u9 · all · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · all · trixie-security · Historical version

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · all · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u11 · all · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u8 · all · trixie-security · Historical version

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

  • [gir1.2-gimp-3.0]Affected

    Source package: [gimp]

    Details (6)
    • 3.0.4-3+deb13u9 · amd64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u9 · arm64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · arm64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u8 · amd64 · trixie-security · Historical version

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

  • [libgimp-3.0-0]Affected

    Source package: [gimp]

    Details (6)
    • 3.0.4-3+deb13u9 · amd64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u9 · arm64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · arm64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u8 · amd64 · trixie-security · Historical version

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

  • [libgimp-3.0-bin]Affected

    Source package: [gimp]

    Details (6)
    • 3.0.4-3+deb13u9 · amd64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u9 · arm64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · arm64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u8 · amd64 · trixie-security · Historical version

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

  • [libgimp-3.0-dev]Affected

    Source package: [gimp]

    Details (6)
    • 3.0.4-3+deb13u9 · amd64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u9 · arm64 · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · arm64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u8 · amd64 · trixie-security · Historical version

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

  • [libgimp-3.0-doc]Affected

    Source package: [gimp]

    Details (6)
    • 3.0.4-3+deb13u9 · all · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u9 · all · trixie

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · all · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u10 · all · trixie-security · Historical version

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u11 · all · trixie-security

      Fixed · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

    • 3.0.4-3+deb13u8 · all · trixie-security · Historical version

      Affected · Fixed: 3.0.4-3+deb13u10

      nvd · gimp · debian · 13

Observed:

References