Skip to content
OpenAdvisories
Medium · 5.5 CVE-2025-49014 EUVD-2025-18920

jq heap use after free vulnerability in f_strflocaltime

Published Jun 19, 2025 · Updated Jun 23, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
jqlang jq = 1.8.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jq 1.8.1-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed jq 1.8.1-1.1 openSUSE-SU-2025:15233-1
ReleasePackageFixed inAdvisory
Alpine v3.24 jq 1.8.1-r0 —
Alpine v3.23 jq 1.8.1-r0 —
Alpine v3.22 jq 1.8.1-r0 —

Advisories 1

References