🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #257

Bug#1150224: imagemagick: regression in bookworm security updates: SVG <image> with data: URI fails ("unable to open image")

#257
From: Bastien Roucaries
Date: Fri, 09 Oct 2026 15:30
185 lines
8396 bytes
--nextPartk48SCNLUT1qAZ1gDlCj1lQ
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: Fri, 09 Oct 2026 17:21:19 +0200
Message-ID: <UVOrU1AkSr-1Yx5B3sMm1g@debian.org>
In-Reply-To:
 <CAA6tu3n8UbH4ZDMyZ16mCcSSvGOJkkKz6nF3voCj_wh2sOuDkg@mail.gmail.com>
MIME-Version: 1.0

Le vendredi 9 octobre 2026, 12:23:25 heure d=E2=80=99=C3=A9t=C3=A9 d=E2=80=
=99Europe centrale Guillaume Bihet a =C3=A9crit :
> Hi,
>=20
> Yes, it looks like it's exactly the same issue.
>=20
> I can test a package on my local deb12u13 test environment where I have t=
he
> bug.

I will first upload to trixie then fix the bookworm regression

rouca
>=20
> Thanks,
> Guillaume
>=20
>=20
>=20
> Le ven. 9 oct. 2026 =C3=A0 00:22, Bastien Roucaries <rouca@debian.org> a =
=C3=A9crit :
>=20
> > Le mercredi 7 octobre 2026, 15:03:19 heure d=E2=80=99=C3=A9t=C3=A9 d=E2=
=80=99Europe centrale
> > Guillaume Bihet a =C3=A9crit :
> > > Hi,
> > >
> > > Thank you for your quick answer, I tried with no policy at all but I =
get
> > > the same error with deb12u13:
> > >
> > > $ sudo mv /etc/ImageMagick-6/policy.xml /etc/ImageMagick-6/policy.xml=
=2Ebak
> > >
> > > $ convert -list policy
> > > > Path: [built-in]
> > >    Policy: Undefined
> > >      rights: None
> > >
> > > $ convert min.svg out.png
> > > > convert-im6.q16: unable to open image
> > >
> > `image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAQMAAAC3/F3+AAAABGdBT=
UEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA=
BlBMVEX/AAD///9BHTQRAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+oKBwkDILP++tgAAAALSURBVAj=
XY2DABwAAHgABboVHMgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyNi0xMC0wN1QwOTowMzozMiswMD=
owMJNBWGAAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjYtMTAtMDdUMDk6MDM6MzIrMDA6MDDiHODcA=
AAAAElFTkSuQmCC':
> > > No such file or directory @ error/blob.c/OpenBlob/2990.
> > > > convert-im6.q16: no images defined `out.png' @
> > > error/convert.c/ConvertImageCommand/3234.
> > >
> > > Doesn't seem to be policy-related...
> >
> > Look like
> > https://github.com/imagemagick/ImageMagick/issues/8803
> >
> > Could you try, if i post a patch and salsa and upload a private package=
 ?
> >
> > rouca
> >
> > > Best regards,
> > >
> > > Guillaume
> > >
> > > Guillaume Bihet
> > > immat=C3=A9riel technical team
> > >
> > > Le mer. 7 oct. 2026 =C3=A0 14:00, Bastien Roucaries <rouca@debian.org=
> a
> > =C3=A9crit :
> > >
> > > > 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
> > > > >
> > > > > Dear Maintainer,
> > > > >
> > > > > Converting an SVG that includes a PNG image through a data: URI
> > fails on
> > > > > deb12u13
> > > >
> > > > Does removing policy hardening work ?
> > > >
> > > > 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
> > > > impact.
> > > > 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
> > > > >
> > > > > Steps to reproduce:
> > > > >
> > > > > The attached image min.svg is a minimal SVG containing a single
> > <image>
> > > > > element whose href is a data: URI (a small PNG).
> > > > >
> > > > > Command line :
> > > > > $   convert min.svg out.png
> > > > >
> > > > > Observed with 8:6.9.11.60+dfsg-1.6+deb12u13:
> > > > >
> > > > > >  convert-im6.q16: unable to open image
> > > > >
> > > >
> > `image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAQMAAAC3/F3+AAAABGdBT=
UEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA=
BlBMVEX/AAD///9BHTQRAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+oKBwkDHJyRhl8AAAALSURBVAj=
XY2DABwAAHgABboVHMgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyNi0xMC0wN1QwOTowMzoyOCswMD=
owMPubB7AAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjYtMTAtMDdUMDk6MDM6MjgrMDA6MDCKxr8MA=
AAAAElFTkSuQmCC':
> > > > > No such file or directory @ error/blob.c/OpenBlob/2990.
> > > > > > convert-im6.q16: no images defined `out.png' @
> > > > > error/convert.c/ConvertImageCommand/3234.
> > > > >
> > > > > Expected: out.png is written. The same command works with deb12u4=
 and
> > > > > deb12u6 but fails with deb12u11 and deb12u13, so the regression w=
as
> > > > likely
> > > > > introduced between deb12u6 and deb12u11
> > > > >
> > > > > 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
> > > > >
> > > > >
> > > > > *Guillaume Bihet*
> > > > > immateriel technical team
> > > > >
> > > >
> > > >
> > >
> >
> >
>=20


--nextPartk48SCNLUT1qAZ1gDlCj1lQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmrJBm8ACgkQADoaLapB
CF9KSA//WaRgZP7o2hy80+7/D/STI5O6PBRKA/cBbB4WJ9nwm0swK6yFHGG4gL3s
c2dXoX61Ute9m58KF9wMRdNfQl2+HPZJEzP4HEFocqs+vybV8TC88yY3nmcCRNKk
D4c/W0+3vXneBAZpx52RGhpVtaa9Fe9Zb4Imc/UQfR2prYgWhs18iAM6EbZLVE6q
JKsnjMT1thfOidltgv0XMZ/dzQojIX37rkVj0KqCCBQX/r6dM+MiC9Di8Lh2fka5
xv5RhCV9ppMpo/EXg5Mfw4ZoB8whDLCLTttxmk4xsxFvDarfsDNLfnRIWWk9Emel
puGbu5ffb9l1gz/DxHOglNi9BOpkZKuhETFV+3kOvT6kmU0LfTT++Qo5/DiVHSZW
eNkZnivK2NyJRvm9x0ITCM+JOiOO/Ywy+o8FqCKmZMPdfjtwPrjz6BhXW2RY7iZI
SQRfJCouJQGVhemOx9oXq18E+bue9fT8IO3LroAwHchSjV1hd5o/2ldyp/DJQdQw
MUp/sGnK1enxEoGr0U2KIXfiaNN0zkbSWImtNC9DDfN3+4ka0Untp9XTG+ShvPzf
piy9gzRLTjf88z6TDwnQZw+h1YzzJ4wOPMFGg7BIgB4+/KT0yAVnrOOgh8yPiCGd
29CJjOiM/17rIG+039qTDRnLkArIwZEnlDHhB424WEzNhosciVM=
=fWtA
-----END PGP SIGNATURE-----

--nextPartk48SCNLUT1qAZ1gDlCj1lQ--
Technical Details
Message-ID: <NMkHL-4u6C-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NLyD7-44Gd-11@gated-at.bofh.it> <NMkHL-4u6C-3@gated-at.bofh.it> <NLyD7-44Gd-11@gated-at.bofh.it> <NMkHL-4u6C-3@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.corradoroberto.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: Fri, 09 Oct 2026 17:30:01 +0200
Message-ID: <NMkHL-4u6C-1@gated-at.bofh.it>
References: <NLyD7-44Gd-11@gated-at.bofh.it> <NMkHL-4u6C-3@gated-at.bofh.it> <NLyD7-44Gd-11@gated-at.bofh.it> <NMkHL-4u6C-3@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  Fri Oct  9 15:23:13 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="nextPartk48SCNLUT1qAZ1gDlCj1lQ";
 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/1995902
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 185
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1150224@bugs.debian.org,
 Technique immatériel <technique@immateriel.fr>
X-Original-Date: Fri, 09 Oct 2026 17:21:49 +0200
X-Original-Message-ID: <UVOrU1AkSr-1Yx5B3sMm1g@debian.org>
X-Original-References: <CAA6tu3=pi1+Qz-b2ouq7+UvQuB5tTbwux=qoWBKgWSK40wM5MQ@mail.gmail.com> <CAA6tu3n8UbH4ZDMyZ16mCcSSvGOJkkKz6nF3voCj_wh2sOuDkg@mail.gmail.com> <CAA6tu3=pi1+Qz-b2ouq7+UvQuB5tTbwux=qoWBKgWSK40wM5MQ@mail.gmail.com> <CAA6tu3n8UbH4ZDMyZ16mCcSSvGOJkkKz6nF3voCj_wh2sOuDkg@mail.gmail.com>