jq: decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which...
CVE-2024-53427 is fixed in 5 products on 1 platform, first by DEBIAN-CVE-2024-53427, released February 26, 2025. It is not reported as exploited. Patch Radar priority: High.
decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which has a resultant stack-based buffer overflow and out-of-bounds write, as demonstrated by use of --slurp with subtraction, such as a filter of .-. when the input has a certain form of digit string with NaN (e.g., "1 NaN123" immediately followed by many more digits).
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| jq · Debian 13.5 (trixie) | 1.7.1-6+deb13u3 | DEBIAN-CVE-2024-53427 | Feb 26, 2025 |
| jq · Debian 14 | 1.7.1-5 | DEBIAN-CVE-2024-53427 | Feb 26, 2025 |
| jq · Ubuntu 24.04.5 LTS (noble) | 1.7.1-3ubuntu0.24.04.1 | jq 1.7.1-3ubuntu0.24.04.1 | May 21, 2025 |
| jq · Ubuntu 25.04 (plucky) | 1.7.1-3ubuntu1.1 | jq 1.7.1-3ubuntu1.1 | Jan 16, 2026 |
| jq · amzn 2023 | 1.7.1-49.amzn2023.0.2 | ALAS2023-2025-919 | Mar 26, 2025 |
| jq · sles 15.6 | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 | Sep 21, 2026 |
| jq · sles 15.7 | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 | Sep 21, 2026 |
| jq-debuginfo · amzn 2023 | 1.7.1-49.amzn2023.0.2 | ALAS2023-2025-919 | Mar 26, 2025 |
| jq-debugsource · amzn 2023 | 1.7.1-49.amzn2023.0.2 | ALAS2023-2025-919 | Mar 26, 2025 |
| jq-devel · amzn 2023 | 1.7.1-49.amzn2023.0.2 | ALAS2023-2025-919 | Mar 26, 2025 |
| libjq1 · Ubuntu 24.04.5 LTS (noble) | 1.7.1-3ubuntu0.24.04.1 | libjq1 1.7.1-3ubuntu0.24.04.1 | May 21, 2025 |
| libjq1 · Ubuntu 25.04 (plucky) | 1.7.1-3ubuntu1.1 | libjq1 1.7.1-3ubuntu1.1 | Jan 16, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.