All reports
Medium

jq: jq Heap Use-After-Free Vulnerability

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-49014

Probability of exploitation in the next 30 days: 0.40%

FIRST EPSS · 2026-11-21

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.

A flaw was found in jq. The f_strflocaltime function in builtin.c contains a heap use-after-free vulnerability, which can allow a local attacker to trigger a crash by providing a specially crafted input. This condition arises from the use of freed memory, leading to unpredictable program behavior. The vulnerability can directly result in an application level denial of service.