CVE-2025-49014 jq heap use after free vulnerability in f_strflocaltime
MediumCVSS 5.5
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
Description
jq 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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner jq(CBL-Mariner:2.0) | All versions | No fix listed |
| debian/jq(Debian:14) | < 1.8.1-1 | 1.8.1-1 |
| debian/jq(Debian:14) | = 1.8.0-1 | No fix listed |
| jqlang jq | = = 1.8.0 | No fix listed |
| alpine/jq(Alpine:v3.21) | < 1.8.2-r0 | 1.8.2-r0 |
| alpine/jq(Alpine:v3.22) | < 1.8.1-r0 | 1.8.1-r0 |
| alpine/jq(Alpine:v3.23) | < 1.8.1-r0 | 1.8.1-r0 |
| alpine/jq(Alpine:v3.24) | < 1.8.1-r0 | 1.8.1-r0 |
References
- MSRC Security Update Guide vendor-advisory
- Debian Security Tracker CVE-2025-49014 vendor-advisory
- https://github.com/jqlang/jq/security/advisories/GHSA-rmjp-cr27-wpg2
- https://github.com/jqlang/jq/commit/499c91bca9d4d027833bc62787d1bb075c03680e
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking