Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Bastien Roucaries
Fri, 09 Oct 2026 15:30
Bug#1150224: imagemagick: regression in bookworm security updates: SVG <image> with data: URI fails ("unable to open image")
Author: Bastien Roucaries
Date: Fri, 09 Oct 2026 15:30
Date: Fri, 09 Oct 2026 15:30
185 lines
8396 bytes
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--
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