Every CVE Search/ Get API key

CVE-2026-66757

Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images

5.5 MediumFix available

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.23%Up 0.1 points since Jul 28, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.5

Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Record
CVE-2026-66757
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-190
Updated
2026-11-05
EUVDEUVD-2026-49403 5.5

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Record
EUVD-2026-49403
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-05
GitHub AdvisoriesGHSA-3xfh-g29g-69hj 5.5

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the...

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Record
GHSA-3xfh-g29g-69hj
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-190
Updated
2026-11-02
NVD 5.5

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Record
CVE-2026-66757
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-190
Updated
2026-11-06
OSV 5.5

Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Record
CVE-2026-66757
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-190
Updated
2026-11-07
OSVDEBIAN-CVE-2026-66757 5.5

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Record
DEBIAN-CVE-2026-66757
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-06
Show 11 moreShow less
OSVOESA-2026-3245 7.8

gimp security update

GIMP is a cross-platform image editor available for GNU/Linux, OS X, Windows and more operating systems. It is free software, you can change its source code and distribute your changes. Whether you are a graphic designer, photographer, illustrator, or scientist, GIMP provides you with sophisticated tools to get your job done. You can further enhance your productivity with GIMP thanks to many customization options and 3rd party plugins.

Security Fix(es):

(CVE-2026-59087)

(CVE-2026-59088)

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.(CVE-2026-66757)

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.(CVE-2026-66758)

A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.(CVE-2026-66759)

Record
OESA-2026-3245
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3246 7.8

gimp security update

GIMP is a cross-platform image editor available for GNU/Linux, OS X, Windows and more operating systems. It is free software, you can change its source code and distribute your changes. Whether you are a graphic designer, photographer, illustrator, or scientist, GIMP provides you with sophisticated tools to get your job done. You can further enhance your productivity with GIMP thanks to many customization options and 3rd party plugins.

Security Fix(es):

(CVE-2026-59088)

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.(CVE-2026-66757)

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.(CVE-2026-66758)

A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.(CVE-2026-66759)

Record
OESA-2026-3246
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3247 7.8

gimp security update

GIMP is a cross-platform image editor available for GNU/Linux, OS X, Windows and more operating systems. It is free software, you can change its source code and distribute your changes. Whether you are a graphic designer, photographer, illustrator, or scientist, GIMP provides you with sophisticated tools to get your job done. You can further enhance your productivity with GIMP thanks to many customization options and 3rd party plugins.

Security Fix(es):

(CVE-2026-59088)

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.(CVE-2026-66757)

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.(CVE-2026-66758)

A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.(CVE-2026-66759)

Record
OESA-2026-3247
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-66757 5.5

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Record
UBUNTU-CVE-2026-66757
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1787057425 No score

gimp: Fix of CVE-2026-66757

  • CVE-2026-66757: prevent integer overflow in SGI row-table allocations by casting the size multiplication to gsize and using g_try_malloc
Record
CLSA-2026-1787057425
Updated
2026-11-02
OSVCLSA-2026-1787058577 No score

gimp: Fix of CVE-2026-66757

  • CVE-2026-66757: prevent integer overflow in SGI row-table allocations by casting the size multiplication to gsize and using g_try_malloc
Record
CLSA-2026-1787058577
Updated
2026-11-02
OSVopenSUSE-SU-2026:11449-1 No score

gimp-3.2.4-3.1 on GA media

These are all security issues fixed in the gimp-3.2.4-3.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11449-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21521-1 No score

Security update for gimp

This update for gimp fixes the following issues:

Changes in gimp:

  • CVE-2026-66757: signed integer overflow in file-sgi causes the plugin to crash when RLE-compressed SGI images are processed (bsc#1273151)
  • CVE-2026-66758: integer overflow in file-fits plugin causes a heap-based buffer overflow when crafted FITS images are processed (bsc#1273152)
  • CVE-2026-66759: out-of-bounds read in file-icns plugin causes information disclosure or crash when crafted ICNS images are processed (bsc#1273153)
Record
openSUSE-SU-2026:21521-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21733-1 No score

Security update for gimp

This update for gimp fixes the following issues:

Changes in gimp:

  • Update CVE-2026-66757 patch. The original patch wasn't allocating enough bytes.
Record
openSUSE-SU-2026:21733-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21839-1 No score

Security update for gimp

This update for gimp fixes the following issues:

Changes in gimp:

  • CVE-2026-66757: Fixed signed integer overflow in file-sgi causes the plugin to crash when RLE-compressed SGI images are processed (bsc#1279838).
Record
openSUSE-SU-2026:21839-1
Updated
2026-11-02
OSVSUSE-SU-2026:4309-1 No score

Security update for gimp

This update for gimp fixes the following issues:

Security issues fixed:

  • CVE-2026-59088: denial of service via signed integer overflow in FLI file processing (bsc#1274837).
  • CVE-2026-59090: arbitrary code execution in PSD plugin due to unsigned underflow (bsc#1274840).
  • CVE-2026-66757: signed integer overflow in file-sgi causes the plugin to crash when RLE-compressed SGI images are processed (bsc#1273151).
  • CVE-2026-78465: 32-bit integer overflow in PCX image memory calculations can cause undersized heap allocations (bsc#1277378).
  • CVE-2026-80101: independent header field validation in the XWD loader can cause heap out-of-bounds reads (bsc#1276911).

Non security issues fixed:

  • RLE-compressed SGI files are written with a bad offset table and 57 of 144 scanlines fail to decode, on the patched and the released build alike (bsc#1279838).
  • XWD bytes-per-line guard can never fire, and load_xwd_f1_d24_b1() still allocates the unchecked header field (bsc#1279839).
Record
SUSE-SU-2026:4309-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gimp
TuxCare:AlmaLinux:9.2
before 2:2.99.8-4.el9.2.tuxcare.els15
2:2.99.8-4.el9.2.tuxcare.els15
gimp-devel
TuxCare:AlmaLinux:9.2
before 2:2.99.8-4.el9.2.tuxcare.els15
2:2.99.8-4.el9.2.tuxcare.els15
gimp-devel-tools
TuxCare:AlmaLinux:9.2
before 2:2.99.8-4.el9.2.tuxcare.els15
2:2.99.8-4.el9.2.tuxcare.els15
gimp-libs
TuxCare:AlmaLinux:9.2
before 2:2.99.8-4.el9.2.tuxcare.els15
2:2.99.8-4.el9.2.tuxcare.els15
gimp
TuxCare:AlmaLinux:9.6
before 2:2.99.8-4.el9_6.2.tuxcare.els15
2:2.99.8-4.el9_6.2.tuxcare.els15
gimp-devel
TuxCare:AlmaLinux:9.6
before 2:2.99.8-4.el9_6.2.tuxcare.els15
2:2.99.8-4.el9_6.2.tuxcare.els15
gimp-devel-tools
TuxCare:AlmaLinux:9.6
before 2:2.99.8-4.el9_6.2.tuxcare.els15
2:2.99.8-4.el9_6.2.tuxcare.els15
gimp-libs
TuxCare:AlmaLinux:9.6
before 2:2.99.8-4.el9_6.2.tuxcare.els15
2:2.99.8-4.el9_6.2.tuxcare.els15
gimp
Debian:12
All versions, plus listed versions
2.10.34-12.10.34-1+deb12u12.10.34-1+deb12u102.10.34-1+deb12u22.10.34-1+deb12u3
Show 45 moreShow less
2.10.34-1+deb12u42.10.34-1+deb12u52.10.34-1+deb12u62.10.34-1+deb12u72.10.34-1+deb12u82.10.34-1+deb12u92.10.36-12.10.36-22.10.36-32.10.38-12.10.38-22.99.10-12.99.12-12.99.12-22.99.14-12.99.14-22.99.16-12.99.16-22.99.18-13.0.0-13.0.0-23.0.0~RC1-13.0.0~RC1-33.0.0~RC1-43.0.0~RC2-13.0.0~RC3-13.0.2-13.0.2-23.0.2-33.0.2-3.13.0.4-13.0.4-23.0.4-33.0.4-43.0.4-53.0.4-63.0.4-6.13.0.4-6.23.0.6-13.2.0-13.2.0~RC2-13.2.0~RC2-23.2.0~RC2-33.2.0~RC2-3.13.2.0~RC2-3.2
None known
gimp
Debian:13
All versions, plus listed versions
3.0.4-33.0.4-3+deb13u13.0.4-3+deb13u103.0.4-3+deb13u113.0.4-3+deb13u2
Show 27 moreShow less
3.0.4-3+deb13u33.0.4-3+deb13u43.0.4-3+deb13u53.0.4-3+deb13u63.0.4-3+deb13u73.0.4-3+deb13u83.0.4-3+deb13u93.0.4-43.0.4-53.0.4-63.0.4-6.13.0.4-6.23.0.6-13.2.0-13.2.0~RC2-13.2.0~RC2-23.2.0~RC2-33.2.0~RC2-3.13.2.0~RC2-3.23.2.0~RC2-3.33.2.0~RC3-13.2.2-13.2.4-13.2.4-23.2.4-33.2.6-13.2.8-1
None known
Show 17 moreShow less
Affected packages
PackageAffectedFixed
gimp
Debian:14
before 3.2.6-1, plus listed versions
3.0.4-33.0.4-43.0.4-53.0.4-63.0.4-6.1
Show 14 moreShow less
3.0.4-6.23.0.6-13.2.0-13.2.0~RC2-13.2.0~RC2-23.2.0~RC2-33.2.0~RC2-3.13.2.0~RC2-3.23.2.0~RC2-3.33.2.0~RC3-13.2.2-13.2.4-13.2.4-23.2.4-3
3.2.6-1
gimp
openEuler:24.03-LTS-SP4
From an advisory covering 5 CVEs
before 3.2.4-5.oe2403sp4
3.2.4-5.oe2403sp4
gimp
openEuler:24.03-LTS-SP1
From an advisory covering 4 CVEs
before 3.0.2-17.oe2403sp1
3.0.2-17.oe2403sp1
gimp
openEuler:24.03-LTS-SP3
From an advisory covering 4 CVEs
before 3.0.2-17.oe2403sp3
3.0.2-17.oe2403sp3
gimp
SUSE:Linux Enterprise Module for Package Hub 15 SP7
From an advisory covering 5 CVEs
before 2.10.30-150400.3.74.1
2.10.30-150400.3.74.1
gimp
SUSE:Linux Enterprise Workstation Extension 15 SP7
From an advisory covering 5 CVEs
before 2.10.30-150400.3.74.1
2.10.30-150400.3.74.1
gimp
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.8.14-1ubuntu22.8.14-1.2ubuntu12.8.16-1ubuntu12.8.16-1ubuntu1.12.8.16-1ubuntu1.1+esm12.8.16-1ubuntu1.1+esm22.8.16-1ubuntu1.1+esm3
None known
gimp
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
2.8.20-12.8.20-1.12.8.20-22.8.22-12.8.22-1ubuntu0.1~esm12.8.22-1ubuntu0.1~esm22.8.22-1ubuntu0.1~esm3
None known
gimp
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
2.10.8-22.10.14-22.10.14-2build12.10.14-2ubuntu12.10.14-3
Show 5 moreShow less
2.10.18-12.10.18-1ubuntu0.12.10.18-1ubuntu0.1+esm12.10.18-1ubuntu0.1+esm22.10.18-1ubuntu0.1+esm3
None known
gimp
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
2.10.24-22.10.28-12.10.30-12.10.30-1build12.10.30-1ubuntu0.12.10.30-1ubuntu0.1+esm12.10.30-1ubuntu0.1+esm22.10.30-1ubuntu0.1+esm3
None known
gimp
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
2.10.34-12.10.36-12.10.36-22.10.36-3build22.10.36-3build3
Show 4 moreShow less
2.10.36-3ubuntu0.24.04.12.10.36-3ubuntu0.24.04.1+esm12.10.36-3ubuntu0.24.04.1+esm22.10.36-3ubuntu0.24.04.1+esm3
None known
gimp
Ubuntu:26.10
All versions, plus listed versions
3.2.2-13.2.4-13.2.4-23.2.4-33.2.6-1
None known
gimp
Ubuntu:26.04:LTS
All versions, plus listed versions
3.0.4-6.13.0.4-6.23.0.6-13.2.0~RC2-23.2.0~RC2-3
Show 7 moreShow less
3.2.0~RC2-3.13.2.0~RC2-3.23.2.0~RC2-3.33.2.0~RC3-13.2.0-13.2.2-13.2.2-1ubuntu0.26.04.1
None known
gimp
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 3.2.4-3.1
3.2.4-3.1
gimp
openSUSE:Leap 16.0
From an advisory covering 3 CVEs
before 3.0.8-bp160.6.1
3.0.8-bp160.6.1
gimp
openSUSE:Leap 16.0
before 3.0.8-bp160.7.1
3.0.8-bp160.7.1
gimp
openSUSE:Leap 16.0
before 3.0.8-bp160.8.1
3.0.8-bp160.8.1

History

History
RecordedChangedSources
affectedOSV
affectedCVE List, NVD
factsEUVD
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-66757 is a medium vulnerability (CVSS 5.5) in Gimp, published July 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.23%, the 14th percentile. Fixed in gimp 2:2.99.8-4.el9.2.tuxcare.els15.

References

Show 32 moreShow less
This page doesn't list everything

Left out here: 8 versions. The JSON record has them.

MoveEnter Open