Improper Input Validation Affecting jq package, versions <1.8.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.15% (4th 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 IDSNYK-ALPINE324-JQ-19477751
  • published2 Sept 2026
  • disclosed11 May 2026

Introduced: 11 May 2026

CVE-2026-43895  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-158  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 jq to version 1.8.2-r0 or higher.

NVD Description

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

jq is a command-line JSON processor. In 1.8.1 and earlier, jq accepts embedded NUL bytes in import paths at the jq-language level, but later resolves those paths through C string operations during module and data-file lookup. This creates a mismatch between the logical import string that policy or audit code may validate and the on-disk path that jq actually opens.

CVSS Base Scores

version 3.1