{"id":"USN-8202-3","summary":"jq regression","details":"USN-8202-1 fixed vulnerabilities in jq. The update caused a regression\nfor Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. This update fixes the problem.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that jq did not correctly handle certain string\n concatenations. An attacker could possibly use this issue to cause a denial\n of service or execute arbitrary code. This issue was addressed in Ubuntu\n 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu\n 24.04 LTS and Ubuntu 25.10. (CVE-2026-32316)\n\n It was discovered that jq did not correctly handle recursion in certain\n circumstances. An attacker could possibly use this issue to cause a denial\n of service. (CVE-2026-33947)\n\n It was discovered that jq did not correctly handle improperly terminated\n strings. An attacker could possibly use this issue to cause a denial of\n service or execute arbitrary code. This issue was addressed in Ubuntu 16.04\n LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS\n and Ubuntu 25.10. (CVE-2026-33948)\n\n It was discovered that jq did not correctly handle checking certain\n variable types. An attacker could possibly use this issue to cause a denial\n of service or leak sensitive information. This issue was addressed in\n Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,\n Ubuntu 24.04 LTS and Ubuntu 25.10. (CVE-2026-39956)\n\n It was discovered that jq did not correctly handle certain string\n formatting. An attacker could possibly use this issue to leak sensitive\n information or cause a denial of service. (CVE-2026-39979)\n\n It was discovered that jq used a fixed seed for hash table operations. An\n attacker could possibly use this issue to cause a denial of service. This\n issue was addressed in Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04\n LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 25.10. (CVE-2026-40164)","modified":"2026-05-21T10:33:10.888868299Z","published":"2026-05-21T05:15:51Z","upstream":["CVE-2026-40164","UBUNTU-CVE-2026-40164"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8202-3"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40164"},{"type":"REPORT","url":"https://bugs.launchpad.net/ubuntu/+source/jq/+bug/2152052"}],"affected":[{"package":{"name":"jq","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/jq?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5+dfsg-2ubuntu0.1~esm3"}]}],"versions":["1.5+dfsg-2","1.5+dfsg-2ubuntu0.1~esm1","1.5+dfsg-2ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5+dfsg-2ubuntu0.1~esm3","binary_name":"jq"},{"binary_version":"1.5+dfsg-2ubuntu0.1~esm3","binary_name":"libjq1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2026-40164","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8202-3.json"}},{"package":{"name":"jq","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/jq?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6-1ubuntu0.20.04.1+esm3"}]}],"versions":["1.5+dfsg-2build1","1.6-1","1.6-1ubuntu0.20.04.1","1.6-1ubuntu0.20.04.1+esm1","1.6-1ubuntu0.20.04.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6-1ubuntu0.20.04.1+esm3","binary_name":"jq"},{"binary_version":"1.6-1ubuntu0.20.04.1+esm3","binary_name":"libjq1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2026-40164","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8202-3.json"}}],"schema_version":"1.7.5"}