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).
CVSS Details
- CVSS 3.1 Base Score: 8.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-jq | Aug 8, 2025 | Feb 26, 2025 | |
| Amazon_linux_2023 | amazon-linux-2023-upgrade-jqamazon-linux-2023-upgrade-jq-debuginfoamazon-linux-2023-upgrade-jq-debugsourceamazon-linux-2023-upgrade-jq-devel | Apr 2, 2025 | Feb 26, 2025 | |
| Debian | no-fix-debian-deb-package | May 15, 2025 | Feb 26, 2025 | |
| Ubuntu | ubuntu-upgrade-jqubuntu-upgrade-libjq1 | Jul 17, 2025 | Feb 26, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub