Use After Free Affecting stedolan/jq package, versions [1.8.0,1.8.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-STEDOLANJQ-10649008
  • published7 Jul 2025
  • disclosed19 Jun 2025
  • creditSofi Aberegg

Introduced: 19 Jun 2025

CVE-2025-49014  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade stedolan/jq to version 1.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the f_strftime and f_strflocaltime functions in the builtin.c file. An attacker can execute arbitrary code or cause a denial of service by triggering use of memory after it has been freed.

References

CVSS Base Scores

version 4.0
version 3.1