1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Dirk Lemstra <dirk@lemstra.org>
Date: Thu, 26 Jun 2025 23:01:07 +0200
Subject: Correct out of bounds read of a single byte.
origin: https://github.com/ImageMagick/ImageMagick/commit/29d82726c7ec20c07c49ba263bdcea16c2618e03
bug: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hm4x-r5hc-794f
bug-debian-security: https://security-tracker.debian.org/tracker/CVE-2025-53014
bug-debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109339
---
MagickCore/image.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MagickCore/image.c b/MagickCore/image.c
index 261d750..1b242f8 100644
--- a/MagickCore/image.c
+++ b/MagickCore/image.c
@@ -1678,7 +1678,7 @@ MagickExport size_t InterpretImageFilename(const ImageInfo *image_info,
q=(char *) p+1;
if (*q == '%')
{
- p=q+1;
+ p++;
continue;
}
field_width=0;
|