Ubuntu update for imagemagick



| Updated: 2025-04-23
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2019-19948
CVE-2019-19949
CWE-ID CWE-122
CWE-125
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #2 is available.
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

libmagickcore-6.q16-6 (Ubuntu package)
Operating systems & Components / Operating system package or component

libmagick++-6.q16-8 (Ubuntu package)
Operating systems & Components / Operating system package or component

imagemagick-6.q16 (Ubuntu package)
Operating systems & Components / Operating system package or component

imagemagick (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Heap-based buffer overflow

EUVDB-ID: #VU24029

Risk: Medium

CVSSv4.0: 7.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2019-19948

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due insufficient validation of row and column sizes in the "WriteSGIImage" function of coders/sgi.c. A remote attacker can trigger heap-based buffer overflow and cause a denial of service condition on the target system.

Mitigation

Update the affected package imagemagick to the latest version.

Vulnerable software versions

Ubuntu: 20.04

libmagickcore-6.q16-6 (Ubuntu package): before 8:6.9.10.23+dfsg-2.1ubuntu11.11

libmagick++-6.q16-8 (Ubuntu package): before 8:6.9.10.23+dfsg-2.1ubuntu11.11

imagemagick-6.q16 (Ubuntu package): before 8:6.9.10.23+dfsg-2.1ubuntu11.11

imagemagick (Ubuntu package): before 8:6.9.10.23+dfsg-2.1ubuntu11.11

CPE2.3 External links

https://ubuntu.com/security/notices/USN-4549-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Out-of-bounds read

EUVDB-ID: #VU24030

Risk: Medium

CVSSv4.0: 7.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2019-19949

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due missing length check prior pointer dereference in the "WritePNGImage" function of coders/png.c, related to Magick_png_write_raw_profile and LocaleNCompare. A remote attacker can cause a denial of service condition on the target system.

Mitigation

Update the affected package imagemagick to the latest version.

Vulnerable software versions

Ubuntu: 20.04

libmagickcore-6.q16-6 (Ubuntu package): before 8:6.9.10.23+dfsg-2.1ubuntu11.11

libmagick++-6.q16-8 (Ubuntu package): before 8:6.9.10.23+dfsg-2.1ubuntu11.11

imagemagick-6.q16 (Ubuntu package): before 8:6.9.10.23+dfsg-2.1ubuntu11.11

imagemagick (Ubuntu package): before 8:6.9.10.23+dfsg-2.1ubuntu11.11

CPE2.3 External links

https://ubuntu.com/security/notices/USN-4549-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###