Out-of-bounds read In imagemagick
Description
ImageMagick: MSL - Stack overflow in ProcessMSLScript
Summary
Magick fails to check for circular references between two MSLs, leading to a stack overflow.
Details
After reading a.msl using magick, the following is displayed:
MSLStartElement -> ReadImage -> ReadMSLImage -> ProcessMSLScript -> xmlParseChunk -> xmlParseTryOrFinish -> MSLStartElement
AddressSanitizer:DEADLYSIGNAL ================================================================= ==114345==ERROR: AddressSanitizer: UNKNOWN SIGNAL on unknown address 0x000000000000 (pc 0x72509fc7d804 bp 0x7ffd6598b390 sp 0x7ffd6598ab20 T0) #0 0x72509fc7d804 in strlen ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:388 [...]
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 8:6.9.11.60+dfsg-1.6+deb12u9 | ||
debian 11 | 8:6.9.11.60+dfsg-1.3+deb11u11 | ||
debian 14 | 8:7.1.2.15+dfsg1-1 | ||
debian 13 | 8:7.1.1.43+dfsg1-1+deb13u6 | ||
nuget | 14.10.3 | ||
nuget | 14.10.3 | ||
nuget | 14.10.3 | ||
rpm rhel6 | - | - | |
rpm rhel7 | - | - | |
nuget | 14.10.3 |
1-10 of 25
10
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2.