-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-4840-1                [email protected]
https://www.debian.org/lts/security/                        Simon Quigley
October 16, 2026                              https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : jq
Version        : 1.6-2.1+deb12u3
CVE ID         : CVE-2026-32316

The fix for CVE-2026-32316 in 1.6-2.1+deb12u2 stopped one string from
growing past its limit, but repeating a string with * could still keep
appending. A repeat that cannot fit now fails with "Repeat string
result too long". Upstream fixed this in 1.8 by adding
jv_string_repeat(), which would be a new symbol in libjq1, so this update
checks the length in the multiply function that is already there. A
count below 1 still returns the same result as before.

This update also fixes two memory errors that have no CVE id.
args2obj() freed a name and its value twice when jq_compile_args() was
given an array (GHSA-gf4g-95wj-4q4r). The jq command line always passes
an object, so this only affects programs that link libjq and pass an
array. f_multiply() reused the string it was repeating, so
("a"*200)*30 copied from memory that had already been freed. That is
upstream commit 9163e096.

A very deep delpaths still aborts in jv_array_length(), which is the
crash reported after DLA-4662-1. A fix for that is being sent upstream
before it is applied here.

For Debian 12 bookworm, this problem has been fixed in version
1.6-2.1+deb12u3.

We recommend that you upgrade your jq packages.

For the detailed security status of jq please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/jq

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmrSkMQACgkQ4n8s+EWM
L6QZ9g//dW4lhUFrfPmD5SVzjcHW3xgrwrCIu0ulcB3LexHgzDhRek1jfq8IqFEK
EYEgNA6HH0p6ZnEGmw7lLAiVtcLFReintDfX4NAmHooW84RlPiTfrzPhL6eaHSR6
M16tVG4Hd5qMvSxzg0XF9JTt1W2W1GbbRwY5CdTSLSIXWB7N2KiyuIhEnmyD1T93
lX2T5K0ZeLeiZlfrrQzEQd5FrSuqrZqNhSBuoHFSlacApBN94V9Xzl23iDdKSUv7
4k1jtMI2SaX5UBwa2Q7PbqLtNdhJF08hiS/ToigyYIoHCNeyJ0U+VsgmyQp4McW8
fphurVVoD/v+798zjO/Bb9HVAsHR74WJO/FXC2wSSuwUDAe4l8I/PUYAabrhjUYa
iEo37bmlxxVQKhRsUilaYCAFEHP7S01JDyIDF1rCd2rgsImH4m/MDikwByQ2vlWO
Q/oLiMyEI2nj/Mj7w4n7mhMJj5IEGuMgtddUce0hXriu31AuQ2j0ZyC36WbJlVyq
hCoeUvsRBplK+oYRXBOJ5wW7ETLijh4PjeD/GRKCAhHkszCWTtXH0wz0PV+eBe0+
+jwVbObKoizDSuW6v2Y4xJJSY576SljjkyXGBDAXunoQLRhNAiQ3G2+JB1lfj0OE
qhaE+WFluUfPk6+TNSaRNFqs8/DK/i+VQ5OUJzwwEPtWK8m3teg=
=FNYr
-----END PGP SIGNATURE-----

Reply via email to