🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Bastien Roucaries Thu, 08 Oct 2026 22:40
Bug#1150224: imagemagick: regression in bookworm security updates: SVG <image> with data: URI fails ("unable to open image")
#178
Author: Bastien Roucaries
Date: Thu, 08 Oct 2026 22:40
149 lines
7312 bytes
--nextParteVVuEa6MSQCqyNtp4gdISQ
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Bastien Roucaries <rouca@debian.org>
Date: Fri, 09 Oct 2026 00:22:20 +0200
Message-ID: <FuQJ3NY4TqeS-sSFenSXIg@debian.org>
In-Reply-To:
 <CAA6tu3mu-GYV_Z50tYUdwvmji7mPCnbSgXGzQnyJ+xLF2LjjnQ@mail.gmail.com>
MIME-Version: 1.0

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,
>=20
> Thank you for your quick answer, I tried with no policy at all but I get
> the same error with deb12u13:
>=20
> $ sudo mv /etc/ImageMagick-6/policy.xml /etc/ImageMagick-6/policy.xml.bak
>=20
> $ convert -list policy
> > Path: [built-in]
>    Policy: Undefined
>      rights: None
>=20
> $ convert min.svg out.png
> > convert-im6.q16: unable to open image
> `image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAQMAAAC3/F3+AAAABGdBTUE=
AALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABl=
BMVEX/AAD///9BHTQRAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+oKBwkDILP++tgAAAALSURBVAjXY=
2DABwAAHgABboVHMgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyNi0xMC0wN1QwOTowMzozMiswMDow=
MJNBWGAAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjYtMTAtMDdUMDk6MDM6MzIrMDA6MDDiHODcAAA=
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
> 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,
>=20
> Guillaume
>=20
> Guillaume Bihet
> immat=C3=A9riel technical team
>=20
> Le mer. 7 oct. 2026 =C3=A0 14:00, Bastien Roucaries <rouca@debian.org> a =
=C3=A9crit :
>=20
> > 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 securi=
ty
> > 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 <imag=
e>
> > > 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 was
> > 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


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

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

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmrIF5wACgkQADoaLapB
CF8krg/6Aw2v+OzwwT8X02wHroALY2RTviGEu5ZMaiRrYVSPRUphYYvJo5zUTXEg
/nPdHEV2C/AKFJBEYdK3+p1rz6/VWaBGLlBtkiQuNhRoVqmPL82GjTmeI+VJuJ+Y
CNdsY99y/hnDc8tMt/TX57NLF4ICt0hi6D9GWdZAi6rtb0/7grfrkHLY4eJjlWLW
nCzwtD8V65kbQmU3/aWb/QF0ODf85u//KqXmWdDpL88Wh1XDziYu9Hu0yO8TwAB7
iAw9wx5qlGCyd3p5qQ1ajVBX1F/Y1vMlFGg3q+OwbEwgpyfh5nw/Y6sRUFsuQOCu
71nDqcl26nRFNXxKQ9wq0Y4+YWWReY0/RTDvo13nY8gC+ggPmEObdA7ypJkH2Kmx
4CiyPxySWhDFzHhkUxG8SMSxNA+SJBUPcNxco8bw1nCfhMk6mRcLYCbVEeymrvui
l1sXrMjcI4rfJpJZfL2LMFLs7frfShu5RvhP7G/yIADHDYVk4xhgMiKy8xRDFrSa
cTAa+ppImXsuqgh2VbWgRxu8f8fcNxXPPJgpGVfmjfAsMmqdt2uYap/ZAmLrSzzv
ZMAMQiGBVYfwOz4GBpvuIEoYYp+2GiooJZg+J6ECibQkvIpro1k26lDr7KqYRAqU
oMQsEqfZjQ4JI/ZI/kePu0k59+qor9ifAN5q10ACOXtxsTDqAFs=
=/hJ2
-----END PGP SIGNATURE-----

--nextParteVVuEa6MSQCqyNtp4gdISQ--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads