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 | — | Upgrade jq | Aug 8, 2025 | Feb 26, 2025 |
| Amazon_linux_2023 | — | Upgrade jq-develUpgrade jq-debugsourceUpgrade jq-debuginfoUpgrade jq | Apr 2, 2025 | Feb 26, 2025 |
| Debian | — | Upgrade jq | May 15, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade jqUpgrade 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