Article View: linux.debian.bugs.dist
Article #37Bug#1150224: imagemagick: regression in bookworm security updates: SVG <image> with data: URI fails ("unable to open image")
From: Bastien Roucaries
Date: Wed, 07 Oct 2026 12:10
Date: Wed, 07 Oct 2026 12:10
98 lines
5581 bytes
5581 bytes
--nextPart4UAiDOa9QFacnDHRWlqFqA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Bastien Roucaries <rouca@debian.org> To: Guillaume Bihet <guillaume@immateriel.fr>, 1150224@bugs.debian.org Date: Wed, 07 Oct 2026 13:59:52 +0200 Message-ID: <SbAq4Xf7QlaRnSD7H7aOVg@debian.org> In-Reply-To: <CAA6tu3=pi1+Qz-b2ouq7+UvQuB5tTbwux=qoWBKgWSK40wM5MQ@mail.gmail.com> References: <CAA6tu3=pi1+Qz-b2ouq7+UvQuB5tTbwux=qoWBKgWSK40wM5MQ@mail.gmail.com> MIME-Version: 1.0 Le mercredi 7 octobre 2026, 12:37:16 heure d=E2=80=99=C3=A9t=C3=A9 d=E2=80= =99Europe centrale Guillaume Bihet a =C3=A9crit : > Package: imagemagick > Version: 8:6.9.11.60+dfsg-1.6+deb12u13 > Severity: important > Tags: regression >=20 > Dear Maintainer, >=20 > Converting an SVG that includes a PNG image through a data: URI fails on > deb12u13 Does removing policy hardening work ?=20 Could you change policy.xml to allow all coder. If so it is a feature not a bug, we blocker url due to potential security i= mpact. it is up to sysadmin to unblock, after risk analysis If not they are another suspect but could you please try the policy fix rouca >=20 > Steps to reproduce: >=20 > The attached image min.svg is a minimal SVG containing a single <image> > element whose href is a data: URI (a small PNG). >=20 > Command line : > $ convert min.svg out.png >=20 > Observed with 8:6.9.11.60+dfsg-1.6+deb12u13: >=20 > > convert-im6.q16: unable to open image > `image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAQMAAAC3/F3+AAAABGdBTUE= AALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABl= BMVEX/AAD///9BHTQRAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+oKBwkDHJyRhl8AAAALSURBVAjXY= 2DABwAAHgABboVHMgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyNi0xMC0wN1QwOTowMzoyOCswMDow= MPubB7AAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjYtMTAtMDdUMDk6MDM6MjgrMDA6MDCKxr8MAAA= AAElFTkSuQmCC': > No such file or directory @ error/blob.c/OpenBlob/2990. > > convert-im6.q16: no images defined `out.png' @ > error/convert.c/ConvertImageCommand/3234. >=20 > Expected: out.png is written. The same command works with deb12u4 and > deb12u6 but fails with deb12u11 and deb12u13, so the regression was likely > introduced between deb12u6 and deb12u11 >=20 > System information: > Debian 12 (bookworm), amd64 > Kernel: Linux 6.1.0-34-amd64 Debian 6.1.135-1 > libc6: 2.36-9+deb12u14 > rsvg-convert is not installed >=20 >=20 > *Guillaume Bihet* > immateriel technical team >=20 --nextPart4UAiDOa9QFacnDHRWlqFqA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmrGNDgACgkQADoaLapB CF+75BAAmyYDwuotmoWGyE1jm/HmRyJcizfA2sdDp5dsFDtKaiLkXQeYTJ2H4vIm BgEywY4ViG0eoVxmV/GMTg8ZkXmSJauNjIYF49ibEYyGkjxAZMsWH6mZmAep9sD4 lOIZL37hvGeo40Ua9e3p0rDNHvzHx8qnvp+W6hYUh97Wx6hNCN1SqhglKtyiP7uQ t1+VDT0UMeBgZG2fjN6kdD5M2bMZHc1hXcPmZ0yfnT2b1+j4F2O/oSRbQE1XYVj6 cvffbK6rwGJBp/mdGVt92II8ZqsIWLtGbi6uHn3kK7KoL9Rflj6l1quhvRMr7/Ib 1v1g8pKq600ZBJItM7gDbKZEGpuKcGf/Ec4/PE9fUU+aC3quZUOtaVQ5xRSQ1I9Z ak6kfLCJ/pwtE9PaCsyYIjGjn+Ud92VV+OoYN57K+U7Py/xKqYzscLhQVExBf9tL QjbRlcDc//WUCfQr/Lq62pcHM6Z12IP82Yq2+PlhBhcbgZ022adNxdiFg7VcckUP JGGnsDn5Y+LKlwEhiR6V+Ew6hLF6Ma8lRQM5fT0GF0ZX5lXKSGoxVZDgVE50pOCs 4LZ1GxUInEDkNdLxpyszpzbfqMXoD3sCugyF6NuQ9nJ33ZAmg61soqFkrG2+CIjD 9ROM9byq0JQRB+kgs1zV8LOGM9B6/2+SVYMN1BpXNtcuNhl9n/o= =f3cT -----END PGP SIGNATURE----- --nextPart4UAiDOa9QFacnDHRWlqFqA--
Technical Details
Message-ID:
<NLyD7-44Gd-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NLyD7-44Gd-11@gated-at.bofh.it> <NLyD7-44Gd-11@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Bastien Roucaries <rouca@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150224: imagemagick: regression in bookworm security updates: SVG <image> with data: URI fails ("unable to open image")
Date: Wed, 07 Oct 2026 14:10:01 +0200
Message-ID: <NLyD7-44Gd-9@gated-at.bofh.it>
References: <NLyD7-44Gd-11@gated-at.bofh.it> <NLyD7-44Gd-11@gated-at.bofh.it>
X-Original-To: Guillaume Bihet <guillaume@immateriel.fr>, 1150224@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Oct 7 12:01:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Bastien Roucaries <rouca@debian.org>, 1150224@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-gmagick-im-team@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1150224
X-Debian-Pr-Package: imagemagick
X-Debian-Pr-Source: imagemagick
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart4UAiDOa9QFacnDHRWlqFqA";
micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Debian-User: rouca
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995529
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 98
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 07 Oct 2026 14:00:21 +0200
X-Original-Message-ID: <SbAq4Xf7QlaRnSD7H7aOVg@debian.org>
X-Original-References: <CAA6tu3=pi1+Qz-b2ouq7+UvQuB5tTbwux=qoWBKgWSK40wM5MQ@mail.gmail.com> <CAA6tu3=pi1+Qz-b2ouq7+UvQuB5tTbwux=qoWBKgWSK40wM5MQ@mail.gmail.com>