CVE-2025-49014

NameCVE-2025-49014
Descriptionjq is a command-line JSON processor. In version 1.8.0 a heap use after free vulnerability exists within the function f_strflocaltime of /src/builtin.c. This issue has been patched in commit 499c91b, no known fix version exists at time of publication.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1108062

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jq (PTS)bookworm, bullseye1.6-2.1fixed
trixie1.7.1-6vulnerable
sid1.8.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jqsourcebullseye(not affected)
jqsourcebookworm(not affected)
jqsource(unstable)(unfixed)1108062

Notes

[bookworm] - jq <not-affected> (Vulnerable code introduced later)
[bullseye] - jq <not-affected> (Vulnerable code introduced later)
https://github.com/jqlang/jq/security/advisories/GHSA-rmjp-cr27-wpg2
Introduced with: https://github.com/jqlang/jq/commit/4003202ccf241cedb01cbe5f81523bcc40d588ad (jq-1.8.0)
Fixed by: https://github.com/jqlang/jq/commit/499c91bca9d4d027833bc62787d1bb075c03680e

Search for package or bug name: Reporting problems