Bugzilla – Bug 983455
VUL-0: CVE-2016-5241: GraphicsMagick: arithmetic exception (div by 0) in SVG conversion
Last modified: 2016-08-15 13:11:35 UTC
via oss-sec * Arithmetic exception converting a svg file caused by a X%0 operation in magick/render.c:3800 (long) (y-fill_pattern->tile_info.y) % fill_pattern->rows, Use CVE-2016-5241. References: http://seclists.org/oss-sec/2016/q2/460
Created attachment 679838 [details] sigfpe.svg QA REPRODUCER: convert sigfpe.svg foo.gif ... it should crash with arithmetic exception, but does not crash for me on x86-64
bugbot adjusting priority
(In reply to Marcus Meissner from comment #1) > Created attachment 679838 [details] > sigfpe.svg > > QA REPRODUCER: > > convert sigfpe.svg foo.gif > > ... it should crash with arithmetic exception, but does not crash for me on > x86-64 It would not, you are using librsvg, but neither $ convert msvg:sigfpe.svg blabla.png convert: Must specify image size `/tmp/magick-XXTTf1s2'. convert: missing an image filename `blabla.png'. $ does not. I get $ gm convert sigfpe.svg foo.gif Aborted (core dumped) $ for 13.2 but not 11.
http://hg.code.sf.net/p/graphicsmagick/code/rev/8d175c4edfe7
AFTER on 13.2 $ gm convert sigfpe.svg blabla.png gm convert: Unable to open file (#a) [No such file or directory]. $ $ ls sigfpe.svg $ gm convert sigfpe.svg blabla.png gm convert: Unable to open file (#a) [No such file or directory]. $
11/GraphicsMagick: code is there, considering affected (the check on zero before module will not harm) I failed to find the code in ImageMagick.
QA: the reproducer exposes the issue only on 13.2, not on 11
I believe all fixed.
This is an autogenerated message for OBS integration: This bug (983455) was mentioned in https://build.opensuse.org/request/show/404238 13.2 / GraphicsMagick
This is an autogenerated message for OBS integration: This bug (983455) was mentioned in https://build.opensuse.org/request/show/404251 13.2 / GraphicsMagick
openSUSE-SU-2016:1724-1: An update that fixes 37 vulnerabilities is now available. Category: security (important) Bug References: 965853,983234,983259,983309,983455,983521,983523,983533,983752,983794,983796,983799,983803,984028,984032,984035,984135,984142,984144,984145,984150,984166,984181,984193,984372,984373,984375,984379,984394,984398,984400,984408,984409,984433,984436,985442 CVE References: CVE-2014-9805,CVE-2014-9807,CVE-2014-9808,CVE-2014-9809,CVE-2014-9810,CVE-2014-9811,CVE-2014-9813,CVE-2014-9814,CVE-2014-9815,CVE-2014-9816,CVE-2014-9817,CVE-2014-9818,CVE-2014-9819,CVE-2014-9820,CVE-2014-9828,CVE-2014-9829,CVE-2014-9830,CVE-2014-9831,CVE-2014-9834,CVE-2014-9835,CVE-2014-9837,CVE-2014-9839,CVE-2014-9840,CVE-2014-9844,CVE-2014-9845,CVE-2014-9846,CVE-2014-9847,CVE-2014-9853,CVE-2015-8894,CVE-2015-8896,CVE-2015-8901,CVE-2015-8903,CVE-2016-2317,CVE-2016-2318,CVE-2016-5240,CVE-2016-5241,CVE-2016-5688 Sources used: openSUSE 13.2 (src): GraphicsMagick-1.3.20-9.1
SUSE-SU-2016:1783-1: An update that fixes 37 vulnerabilities is now available. Category: security (important) Bug References: 965853,983234,983259,983309,983455,983521,983523,983533,983752,983794,983796,983799,983803,984028,984032,984035,984135,984142,984144,984145,984150,984166,984181,984193,984372,984373,984375,984379,984394,984398,984400,984408,984409,984433,984436,985442 CVE References: CVE-2014-9805,CVE-2014-9807,CVE-2014-9808,CVE-2014-9809,CVE-2014-9810,CVE-2014-9811,CVE-2014-9813,CVE-2014-9814,CVE-2014-9815,CVE-2014-9816,CVE-2014-9817,CVE-2014-9818,CVE-2014-9819,CVE-2014-9820,CVE-2014-9828,CVE-2014-9829,CVE-2014-9830,CVE-2014-9831,CVE-2014-9834,CVE-2014-9835,CVE-2014-9837,CVE-2014-9839,CVE-2014-9840,CVE-2014-9844,CVE-2014-9845,CVE-2014-9846,CVE-2014-9847,CVE-2014-9853,CVE-2015-8894,CVE-2015-8896,CVE-2015-8901,CVE-2015-8903,CVE-2016-2317,CVE-2016-2318,CVE-2016-5240,CVE-2016-5241,CVE-2016-5688 Sources used: SUSE Studio Onsite 1.3 (src): GraphicsMagick-1.2.5-4.41.1 SUSE Linux Enterprise Software Development Kit 11-SP4 (src): GraphicsMagick-1.2.5-4.41.1 SUSE Linux Enterprise Debuginfo 11-SP4 (src): GraphicsMagick-1.2.5-4.41.1
This is an autogenerated message for OBS integration: This bug (983455) was mentioned in https://build.opensuse.org/request/show/417050 42.1 / GraphicsMagick
openSUSE-SU-2016:2073-1: An update that fixes 22 vulnerabilities is now available. Category: security (important) Bug References: 965853,983309,983455,983521,983523,983533,983752,983794,983799,984142,984145,984150,984166,984372,984375,984379,984394,984400,984408,984436,985442 CVE References: CVE-2014-9805,CVE-2014-9807,CVE-2014-9809,CVE-2014-9815,CVE-2014-9817,CVE-2014-9819,CVE-2014-9820,CVE-2014-9831,CVE-2014-9834,CVE-2014-9835,CVE-2014-9837,CVE-2014-9839,CVE-2014-9845,CVE-2014-9846,CVE-2014-9853,CVE-2015-8894,CVE-2015-8896,CVE-2016-2317,CVE-2016-2318,CVE-2016-5240,CVE-2016-5241,CVE-2016-5688 Sources used: openSUSE Leap 42.1 (src): GraphicsMagick-1.3.21-11.1