Medium severity · published Jun 19, 2025
CVE-2025-49014
jq heap use after free vulnerability in f_strflocaltime
5.5
CVSS
0.4%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JQ
jq · jqlang
= 1.8.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-49014
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-49014
github.com
https://github.com/jqlang/jq/commit/499c91bca9d4d027833bc62787d1bb075c03680e
github.com
https://github.com/jqlang/jq/security/advisories/GHSA-rmjp-cr27-wpg2
More from jq
8.1
CVE-2024-53427
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…
7.5
CVE-2026-40164
jq: Algorithmic complexity DoS via hardcoded MurmurHash3 seed
7.5
CVE-2026-32316
jq: Integer overflow in jvp_string_append() allows Heap-based Buffer Overflow
7.5
CVE-2025-48060
AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
7.5
CVE-2023-49355
decToString in decNumber/decNumber.c in jq 88f01a7 has a one-byte out-of-bounds write via the " []-1.2e-1111111111" input
