diff options
| author | Nitin Wankhade <nitin.wankhade333@gmail.com> | 2026-03-18 02:09:13 -0700 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-03-18 13:39:24 +0100 |
| commit | fe311fe0dd57326c2668326a232eb49ffdf58a34 (patch) | |
| tree | d458415f5d88dc51094d5b4dd1082c1dcc39b193 | |
| parent | 62131e97218901f402d0fa922453236d0aa55e26 (diff) | |
| download | meta-openembedded-fe311fe0dd57326c2668326a232eb49ffdf58a34.tar.gz | |
imagemagick: Fix CVE-2025-43965
Reference: https://github.com/ImageMagick/ImageMagick/commit/bac413a26073923d3ffb258adaab07fb3fe8fdc9
Signed-off-by: Nitin Wankhade <nitin.wankhade333@gmail.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/imagemagick/files/CVE-2025-43965.patch | 21 | ||||
| -rw-r--r-- | meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/imagemagick/files/CVE-2025-43965.patch b/meta-oe/recipes-support/imagemagick/files/CVE-2025-43965.patch new file mode 100644 index 0000000000..385536957f --- /dev/null +++ b/meta-oe/recipes-support/imagemagick/files/CVE-2025-43965.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | From bac413a26073923d3ffb258adaab07fb3fe8fdc9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Dirk Lemstra <dirk@lemstra.org> | ||
| 3 | Date: Sat, 8 Feb 2025 23:31:39 +0100 | ||
| 4 | |||
| 5 | Subject: [PATCH] imagemagick: Fix CVE-2025-43965 | ||
| 6 | CVE: CVE-2025-43965 | ||
| 7 | Upstream-Status: Backport [https://github.com/ImageMagick/ImageMagick/commit/bac413a26073923d3ffb258adaab07fb3fe8fdc9] | ||
| 8 | Signed-off-by: Nitin Wankhade <nitin.wankhade333@gmail.com> | ||
| 9 | === | ||
| 10 | diff --git a/coders/miff.c b/coders/miff.c | ||
| 11 | index 21b91d0..91bd36a 100644 | ||
| 12 | --- a/coders/miff.c | ||
| 13 | +++ b/coders/miff.c | ||
| 14 | @@ -1307,6 +1307,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, | ||
| 15 | if (quantum_format != UndefinedQuantumFormat) | ||
| 16 | { | ||
| 17 | status=SetQuantumFormat(image,quantum_info,quantum_format); | ||
| 18 | + image->depth=quantum_info->depth; | ||
| 19 | if (status == MagickFalse) | ||
| 20 | ThrowMIFFException(ResourceLimitError,"MemoryAllocationFailed"); | ||
| 21 | } | ||
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb index 81f4596456..c4e48b4bbe 100644 --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb | |||
| @@ -48,6 +48,7 @@ SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=htt | |||
| 48 | file://CVE-2022-1115.patch \ | 48 | file://CVE-2022-1115.patch \ |
| 49 | file://CVE-2025-65955.patch \ | 49 | file://CVE-2025-65955.patch \ |
| 50 | file://CVE-2025-62171.patch \ | 50 | file://CVE-2025-62171.patch \ |
| 51 | file://CVE-2025-43965.patch \ | ||
| 51 | " | 52 | " |
| 52 | 53 | ||
| 53 | SRCREV = "35b4991eb0939a327f3489988c366e21068b0178" | 54 | SRCREV = "35b4991eb0939a327f3489988c366e21068b0178" |
