CVE-2025-62171
CVE-2025-62171 · ImageMagick vulnerable to denial of service via integer overflow in BMP decoder on 32-bit systems
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
ImageMagick is an open source software suite for displaying, converting, and editing raster image files. In ImageMagick versions prior to 7.1.2-7 and 6.9.13-32, an integer overflow vulnerability exists in the BMP decoder on 32-bit systems. The vulnerability occurs in coders/bmp.c when calculating the extent value by multiplying image columns by bits per pixel. On 32-bit systems with size_t of 4 bytes, a malicious BMP file with specific dimensions can cause this multiplication to overflow and wrap to zero. The overflow check added to address CVE-2025-57803 is placed after the overflow occurs, making it ineffective. A specially crafted 58-byte BMP file with width set to 536,870,912 and 32 bits per pixel can trigger this overflow, causing the bytes_per_line calculation to become zero. This vulnerability only affects 32-bit builds of ImageMagick where default resource limits for width, height, and area have been manually increased beyond their defaults. 64-bit systems with size_t of 8 bytes are not vulnerable, and systems using default ImageMagick resource limits are not vulnerable. The vulnerability is fixed in versions 7.1.2-7 and 6.9.13-32.
CVSS 5.9 · Media · EPSS 0,8% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
imagemagick
- Versiones
- < 6.9.13-32: Afectada
- >= 7.0.0-0, < 7.1.2-7: Afectada
Sin corrección publicada
imagemagick Debian:12
- Versiones
- 8:6.9.11.60+dfsg-1.6
- 8:6.9.11.60+dfsg-1.6+deb12u1
- 8:6.9.11.60+dfsg-1.6+deb12u2
- 8:6.9.11.60+dfsg-1.6+deb12u3
- 8:6.9.11.60+dfsg-1.6+deb12u4
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:6.9.11.60+dfsg-1.6+deb12u5
Actualiza a 8:6.9.11.60+dfsg-1.6+deb12u5
imagemagick Debian:13
- Versiones
- 8:7.1.1.43+dfsg1-1
- 8:7.1.1.43+dfsg1-1+deb13u1
- 8:7.1.1.43+dfsg1-1+deb13u2
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:7.1.1.43+dfsg1-1+deb13u3
Actualiza a 8:7.1.1.43+dfsg1-1+deb13u3
imagemagick Debian:14
- Versiones
- 8:7.1.1.43+dfsg1-1
- 8:7.1.1.46+dfsg1-1
- 8:7.1.1.47+dfsg1-1
- 8:7.1.1.47+dfsg1-2
- 8:7.1.2.1+dfsg1-1
- 8:7.1.2.3+dfsg1-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:7.1.2.7+dfsg1-1
Actualiza a 8:7.1.2.7+dfsg1-1
imagemagick Ubuntu:Pro:14.04:LTS
- Versiones
- 8:6.7.7.10-5ubuntu3
- 8:6.7.7.10-5ubuntu4
- 8:6.7.7.10-6ubuntu1
- 8:6.7.7.10-6ubuntu2
- 8:6.7.7.10-6ubuntu3
- 8:6.7.7.10-6ubuntu3.1
- 8:6.7.7.10-6ubuntu3.2
- 8:6.7.7.10-6ubuntu3.3
- 8:6.7.7.10-6ubuntu3.4
- 8:6.7.7.10-6ubuntu3.5
- 8:6.7.7.10-6ubuntu3.6
- 8:6.7.7.10-6ubuntu3.7
- 8:6.7.7.10-6ubuntu3.8
- 8:6.7.7.10-6ubuntu3.9
- 8:6.7.7.10-6ubuntu3.11
- 8:6.7.7.10-6ubuntu3.12
- 8:6.7.7.10-6ubuntu3.13
- 8:6.7.7.10-6ubuntu3.13+esm1
- 8:6.7.7.10-6ubuntu3.13+esm2
- 8:6.7.7.10-6ubuntu3.13+esm3
- 8:6.7.7.10-6ubuntu3.13+esm4
- 8:6.7.7.10-6ubuntu3.13+esm5
- 8:6.7.7.10-6ubuntu3.13+esm6
- 8:6.7.7.10-6ubuntu3.13+esm7
- 8:6.7.7.10-6ubuntu3.13+esm8
- 8:6.7.7.10-6ubuntu3.13+esm9
- 8:6.7.7.10-6ubuntu3.13+esm10
- 8:6.7.7.10-6ubuntu3.13+esm11
- 8:6.7.7.10-6ubuntu3.13+esm12
- 8:6.7.7.10-6ubuntu3.13+esm13
- 8:6.7.7.10-6ubuntu3.13+esm14
- 8:6.7.7.10-6ubuntu3.13+esm15
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:6.7.7.10-6ubuntu3.13+esm16
Actualiza a 8:6.7.7.10-6ubuntu3.13+esm16
imagemagick Ubuntu:Pro:16.04:LTS
- Versiones
- 8:6.8.9.9-5ubuntu2
- 8:6.8.9.9-6
- 8:6.8.9.9-6build1
- 8:6.8.9.9-7
- 8:6.8.9.9-7ubuntu1
- 8:6.8.9.9-7ubuntu2
- 8:6.8.9.9-7ubuntu3
- 8:6.8.9.9-7ubuntu4
- 8:6.8.9.9-7ubuntu5
- 8:6.8.9.9-7ubuntu5.1
- 8:6.8.9.9-7ubuntu5.2
- 8:6.8.9.9-7ubuntu5.3
- 8:6.8.9.9-7ubuntu5.4
- 8:6.8.9.9-7ubuntu5.5
- 8:6.8.9.9-7ubuntu5.6
- 8:6.8.9.9-7ubuntu5.7
- 8:6.8.9.9-7ubuntu5.8
- 8:6.8.9.9-7ubuntu5.9
- 8:6.8.9.9-7ubuntu5.11
- 8:6.8.9.9-7ubuntu5.12
- 8:6.8.9.9-7ubuntu5.13
- 8:6.8.9.9-7ubuntu5.14
- 8:6.8.9.9-7ubuntu5.15
- 8:6.8.9.9-7ubuntu5.16
- 8:6.8.9.9-7ubuntu5.16+esm1
- 8:6.8.9.9-7ubuntu5.16+esm2
- 8:6.8.9.9-7ubuntu5.16+esm3
- 8:6.8.9.9-7ubuntu5.16+esm4
- 8:6.8.9.9-7ubuntu5.16+esm5
- 8:6.8.9.9-7ubuntu5.16+esm6
- 8:6.8.9.9-7ubuntu5.16+esm7
- 8:6.8.9.9-7ubuntu5.16+esm8
- 8:6.8.9.9-7ubuntu5.16+esm9
- 8:6.8.9.9-7ubuntu5.16+esm10
- 8:6.8.9.9-7ubuntu5.16+esm11
- 8:6.8.9.9-7ubuntu5.16+esm12
- 8:6.8.9.9-7ubuntu5.16+esm13
- 8:6.8.9.9-7ubuntu5.16+esm14
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:6.8.9.9-7ubuntu5.16+esm15
Actualiza a 8:6.8.9.9-7ubuntu5.16+esm15
imagemagick Ubuntu:Pro:18.04:LTS
- Versiones
- 8:6.9.7.4+dfsg-16ubuntu2
- 8:6.9.7.4+dfsg-16ubuntu3
- 8:6.9.7.4+dfsg-16ubuntu4
- 8:6.9.7.4+dfsg-16ubuntu5
- 8:6.9.7.4+dfsg-16ubuntu6
- 8:6.9.7.4+dfsg-16ubuntu6.2
- 8:6.9.7.4+dfsg-16ubuntu6.3
- 8:6.9.7.4+dfsg-16ubuntu6.4
- 8:6.9.7.4+dfsg-16ubuntu6.7
- 8:6.9.7.4+dfsg-16ubuntu6.8
- 8:6.9.7.4+dfsg-16ubuntu6.9
- 8:6.9.7.4+dfsg-16ubuntu6.11
- 8:6.9.7.4+dfsg-16ubuntu6.12
- 8:6.9.7.4+dfsg-16ubuntu6.13
- 8:6.9.7.4+dfsg-16ubuntu6.14
- 8:6.9.7.4+dfsg-16ubuntu6.15
- 8:6.9.7.4+dfsg-16ubuntu6.15+esm1
- 8:6.9.7.4+dfsg-16ubuntu6.15+esm2
- 8:6.9.7.4+dfsg-16ubuntu6.15+esm3
- 8:6.9.7.4+dfsg-16ubuntu6.15+esm4
- 8:6.9.7.4+dfsg-16ubuntu6.15+esm5
- 8:6.9.7.4+dfsg-16ubuntu6.15+esm6
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
Actualiza a 8:6.9.7.4+dfsg-16ubuntu6.15+esm7
imagemagick Ubuntu:Pro:20.04:LTS
- Versiones
- 8:6.9.10.23+dfsg-2.1ubuntu3
- 8:6.9.10.23+dfsg-2.1ubuntu8
- 8:6.9.10.23+dfsg-2.1ubuntu9
- 8:6.9.10.23+dfsg-2.1ubuntu10
- 8:6.9.10.23+dfsg-2.1ubuntu11
- 8:6.9.10.23+dfsg-2.1ubuntu11.1
- 8:6.9.10.23+dfsg-2.1ubuntu11.2
- 8:6.9.10.23+dfsg-2.1ubuntu11.4
- 8:6.9.10.23+dfsg-2.1ubuntu11.4+esm1
- 8:6.9.10.23+dfsg-2.1ubuntu11.5
- 8:6.9.10.23+dfsg-2.1ubuntu11.6
- 8:6.9.10.23+dfsg-2.1ubuntu11.6+esm1
- 8:6.9.10.23+dfsg-2.1ubuntu11.7
- 8:6.9.10.23+dfsg-2.1ubuntu11.7+esm1
- 8:6.9.10.23+dfsg-2.1ubuntu11.9
- 8:6.9.10.23+dfsg-2.1ubuntu11.9+esm1
- 8:6.9.10.23+dfsg-2.1ubuntu11.9+esm2
- 8:6.9.10.23+dfsg-2.1ubuntu11.10
- 8:6.9.10.23+dfsg-2.1ubuntu11.10+esm1
- 8:6.9.10.23+dfsg-2.1ubuntu11.11
- 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm1
- 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2
- 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3
- 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm4
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm5
Actualiza a 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm5
imagemagick Ubuntu:Pro:22.04:LTS
- Versiones
- 8:6.9.11.60+dfsg-1ubuntu1
- 8:6.9.11.60+dfsg-1.3
- 8:6.9.11.60+dfsg-1.3build1
- 8:6.9.11.60+dfsg-1.3build2
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.2
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.2+esm1
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm3
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm1
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3
- 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm4
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
Actualiza a 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm5
imagemagick Ubuntu:Pro:24.04:LTS
- Versiones
- 8:6.9.11.60+dfsg-1.6ubuntu1
- 8:6.9.12.98+dfsg1-5
- 8:6.9.12.98+dfsg1-5.2build1
- 8:6.9.12.98+dfsg1-5.2build2
- 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1
- 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2
- 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm3
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
Actualiza a 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm4
imagemagick Ubuntu:25.10
- Versiones
- 8:7.1.1.43+dfsg1-1
- 8:7.1.1.43+dfsg1-1ubuntu1
- 8:7.1.1.43+dfsg1-1ubuntu2
- 8:7.1.2.3+dfsg1-1
- 8:7.1.2.3+dfsg1-1ubuntu0.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
imagemagick Ubuntu:26.04:LTS
- Versiones
- 8:7.1.2.3+dfsg1-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 8:7.1.2.8+dfsg1-1
Actualiza a 8:7.1.2.8+dfsg1-1