{"id":"CVE-2024-53427","aliases":["CVE-2024-53427"],"related":[],"kind":"vulnerability","state":"published","title":"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…","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"jq v1.7.1 contiene un desbordamiento de búfer de pila en la función decNumberCopy dentro de decNumber.c.","source":"nvd"}],"published":"2025-02-26T00:00:00.000Z","modified":"2026-06-17T08:08:52.940Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1.7.1","status":"affected"}],"vendor":"jqlang","product":"jq","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.7.1"}],"vendor":"jqlang","product":"jq","cpe":"cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jqlang/jq/issues/3196","tags":["exploit","issue-tracking","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/jqlang/jq/blob/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297/src/decNumber/decNumber.c#L3375","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-x6c3-qv5r-7q22","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/jqlang/jq/issues/3296","tags":["issue-tracking","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-03-05T15:33:30.589Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-53427","url":"https://www.cve.org/CVERecord?id=CVE-2024-53427","licence":"CVE Terms of Use","modified":"2025-03-28T16:39:39.470Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-53427","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53427","licence":"Public domain","modified":"2026-06-17T08:08:52.940Z"}],"updatedAt":"2026-11-25T22:58:52.072Z","epss":{"score":0.00391,"percentile":0.35311,"date":"2026-12-01T12:00:22.000Z"}}