{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53427","id":"CVE-2024-53427","title":"decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which…","description":"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).","descriptionLong":"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).","published":"2025-02-26T00:00:00.000Z","updated":"2026-10-28T02:30:31.960174721Z","reserved":"2024-11-20T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"mitre"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"mitre"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"mitre.org"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["jqlang jq"],"affectedProducts":[{"vendor":"jqlang","product":"jq","defaultStatus":"unknown","versions":[{"lessThanOrEqual":"1.7.1","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-843"],"aliases":["GHSA-x6c3-qv5r-7q22"],"references":[{"url":"https://github.com/jqlang/jq/issues/3196","tags":["Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92","tags":["Third Party Advisory","web"]},{"url":"https://github.com/jqlang/jq/blob/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297/src/decNumber/decNumber.c#L3375","tags":["Product","web"]},{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-x6c3-qv5r-7q22","tags":["Vendor Advisory","advisory"]},{"url":"https://github.com/jqlang/jq/issues/3296","tags":["Issue Tracking","Vendor Advisory","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53427.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53427","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00391,"epssPercentile":0.34057,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53427","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53427","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53427","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53427","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}