cve.bz

CVE-2024-53427 jqlang jq: Type Confusion

8.1 highExploit referenceEPSS 0.4%

High (8.1) in jqlang jq. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-03-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-843 Access of Resource Using Incompatible Type (Type Confusion)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-53427 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-53427?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-53427?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-53427 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jqlang jqthrough 1.7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13jq1.7.1-6+deb13u3DEBIAN-CVE-2024-53427 DSA-6416-1
Debian14jq1.7.1-5DEBIAN-CVE-2024-53427
Ubuntu22.04:LTSjq1.6-2.1ubuntu3.1USN-7657-1
Ubuntu24.04:LTSjq1.7.1-3ubuntu0.24.04.1UBUNTU-CVE-2024-53427 USN-7657-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 morejq1.7.1-150000.3.25.1SUSE-SU-2026:4275-1
SUSELinux Micro 6.0jq1.7.1-1.1SUSE-SU-2026:23873-1
SUSELinux Micro 6.1jq1.7.1-slfo.1.1_2.1SUSE-SU-2025:20591-1
openSUSETumbleweedjq1.7.1-3.1openSUSE-SU-2025:15161-1
Alpinev3.21jq1.8.2-r0ALPINE-CVE-2024-53427
Alpinev3.22, v3.23, v3.24jq1.8.0-r0ALPINE-CVE-2024-53427
Azure Linux3jq1.7.1-2AZL-57376
Alpaquita25, streamjq1.8.0-r0BELL-CVE-2024-53427

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ceph Storage 4jqNot affected
Red Hat Enterprise Linux 10jqFix deferred
Red Hat Enterprise Linux 8jqNot affected
Red Hat Enterprise Linux 9jqNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-53427.

References

Check your stackJSON