CVEfocus › CVE database › CVE-2025-49014

CVE-2025-49014jq heap use after free vulnerability in f_strflocaltime

CVSS 5.5 MediumEPSS 0.4% (higher than 35% of CVEs)Published 2025-06-19Updated 2025-06-23Assigner: GitHub_M

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.

CWE-416

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04jqNot affected
vulnerable_code_not_present
Ubuntu 22.04jqNot affected
vulnerable_code_not_present
Debian 14jqFixed1.8.1-1DEBIAN-CVE-2025-49014
Red Hat Enterprise Linux 10jqNot affected
Red Hat Enterprise Linux 10jq-develNot affected
Red Hat Enterprise Linux 9jqNot affected
Red Hat Enterprise Linux 9jq-develNot affected
Red Hat Enterprise Linux 8jqNot affected
Red Hat Enterprise Linux 8jq-develNot affected
Alpine Linux 3.24jqFixed1.8.1-r0ALPINE-CVE-2025-49014
Alpine Linux 3.23jqFixed1.8.1-r0ALPINE-CVE-2025-49014
Alpine Linux 3.22jqFixed1.8.1-r0ALPINE-CVE-2025-49014
Alpine Linux 3.21jqFixed1.8.2-r0ALPINE-CVE-2025-49014

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.