CVE catalog

CVE-2024-53427

jq vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

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).

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjqsid1.8.2-1fixed
Debianjqforky1.8.2-1fixed
Debianjqtrixie1.7.1-6+deb13u3fixed
Debianjqtrixie-security1.7.1-6+deb13u4fixed
Debianjqbookworm1.6-2.1+deb12u2not affected
Debianjqbookworm-security1.6-2.1+deb12u3not affected
UbuntujqnobleNot reportednot affected
Ubuntujqnoble1.7.1-3ubuntu0.24.04.1fixed
Ubuntulibjq-devnoble1.7.1-3ubuntu0.24.04.1fixed
Ubuntulibjq1noble1.7.1-3ubuntu0.24.04.1fixed
Alpinejq3.221.8.0-r0fixed
Alpinejq3.231.8.0-r0fixed
Alpinejq3.241.8.0-r0fixed
Ubuntujq24.041.6-3vulnerable
Ubuntujq24.041.7-1vulnerable
Ubuntujq24.041.7.1-2vulnerable
Ubuntujq24.041.7.1-3vulnerable
Ubuntujq24.041.7.1-3build1vulnerable
Ubuntujq24.041.7.1-3ubuntu0.24.04.1fixed
Opensusejqtumbleweed1.7.1-3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjqsourcesid1.7.1-5not yet assignedNot reported[1102679]
Debianjqsourceforky1.7.1-5not yet assignedNot reported[1102679]
Debianjqsourcetrixie1.7.1-6+deb13u3not yet assignedNot reported[1102679]
DebianjqsourcebookwormNot affectedunimportantNot reported[1102679]
Ubuntujqdebnoble1.7.1-3ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibjq-devdebnoble1.7.1-3ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibjq1debnoble1.7.1-3ubuntu0.24.04.1Not reportedNot reportedNot reported
Alpinejqapk3.221.8.0-r0Not reportedALPINE-CVE-2024-53427Not reported
Alpinejqapk3.231.8.0-r0Not reportedALPINE-CVE-2024-53427Not reported
Alpinejqapk3.241.8.0-r0Not reportedALPINE-CVE-2024-53427Not reported
Ubuntujqdeb24.041.7.1-3ubuntu0.24.04.1Not reportedUBUNTU-CVE-2024-53427Not reported
Opensusejqrpmtumbleweed1.7.1-3.1Not reportedOPENSUSE-SU-2025:15161-1Not reported

[Debian bug #1102679]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References