ImageMagick: Memory leak in the WritePDFImage function in coders/pdf.c
Published Feb 5, 2019
7.5
HIGHCVSS 3.1
EPSS 3.80%
Description
In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.
Affected products
No data.
Configuration 1
- < 6.9.10-25
- ≥ 7.0.0-0 · < 7.0.8-25
Configuration 2
- ≤ 1.3.31
Configuration 4
- 10.0
Configuration 5
- 16.04
- 18.04
- 18.10
- 19.04
No data.
Red Hat Enterprise Linux 7
ImageMagick-0:6.9.10.68-3.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
autotrace-0:0.31.1-38.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
emacs-1:24.3-23.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 7
inkscape-0:0.92.2-3.el7
Fixed · RHSA-2020:1180
Red Hat Enterprise Linux 5
ImageMagick
Will not fix
Red Hat Enterprise Linux 6
ImageMagick
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ImageMagick-0:6.9.10.68-3.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace-0:0.31.1-38.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-1:24.3-23.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-0:0.92.2-3.el7 | Fixed | RHSA-2020:1180 |
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.80% (0.03802) | 89.68th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.80% (0.03802) | 88.59th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.26% (0.00255) | 48.66th | v4 (v2025.03.14) |
| Nov 18, 2025 | 3.48% (0.03484) | 86.38th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.24% (0.00239) | 45.06th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.70% (0.00699) | 80.94th | v3 (v2023.03.01) |
| Jun 28, 2024 | 0.49% (0.00493) | 76.33th | v3 (v2023.03.01) |
| Mar 22, 2024 | 0.48% (0.00478) | 75.30th | v3 (v2023.03.01) |
| Jan 29, 2024 | 0.48% (0.00478) | 73.29th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.46% (0.00461) | 71.49th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Oct 19, 2022 | 1.18% (0.01183) | 60.79th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 19.17% (0.19173) | 93.71th | v2 (v2022.01.01) |
| Feb 3, 2022 | 7.85% (0.07855) | 85.01th | v1 |
| Jan 6, 2022 | 7.85% (0.07855) | 84.84th | v1 |
| Sep 1, 2021 | 1.86% (0.01865) | 76.13th | v1 |
| Apr 14, 2021 | 1.86% (0.01865) | 0.00th | v1 |
References (12)
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/11ad3aeb8ab1 x_refsource_MISCPatchThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00034.html vendor-advisoryx_refsource_SUSEBroken LinkThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00006.html vendor-advisoryx_refsource_SUSEBroken Link
- http://www.securityfocus.com/bid/106847 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2019-7397 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1672564 Issue Tracking
- https://github.com/ImageMagick/ImageMagick/commit/306c1f0fa5754ca78efd16ab752f0e981d4f6b82 x_refsource_MISCPatchThird Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/1454 x_refsource_MISCExploitPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-7397
- https://usn.ubuntu.com/4034-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-7397
- https://www.debian.org/security/2020/dsa-4712 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.