Stack-based Buffer Overflow Affecting jq-devel package, versions *


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

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 IDSNYK-RHEL9-JQDEVEL-10229439
  • published22 May 2025
  • disclosed21 May 2025

Introduced: 21 May 2025

NewCVE-2025-48060  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:9 jq-devel.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jq-devel package and not the jq-devel package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

jq is a command-line JSON processor. In versions up to and including 1.7.1, a heap-buffer-overflow is present in function jv_string_vfmt in the jq_fuzz_execute harness from oss-fuzz. This crash happens on file jv.c, line 1456 void* p = malloc(sz);. As of time of publication, no patched versions are available.

CVSS Base Scores

version 3.1