CVE catalog

CVE-2026-41256

jq is a command-line JSON processor. In 1.8.1 and earlier, Top-level jq programs loaded from a file with -f are truncated at the first embedded NUL byte on current upstream HEAD. A crafted filter file

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

jq is a command-line JSON processor. In 1.8.1 and earlier, Top-level jq programs loaded from a file with -f are truncated at the first embedded NUL byte on current upstream HEAD. A crafted filter file such as . followed by \x00 and arbitrary suffix compiles and executes as only the prefix before the NUL. This leaves jq with a post-CVE-2026-33948 prefix/full-buffer mismatch on the compilation path even though the JSON parser path has already been fixed.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjqsid1.8.2-1fixed
Debianjqforky1.8.2-1fixed
Debianjqtrixie1.7.1-6+deb13u3fixed
Debianjqtrixie-security1.7.1-6+deb13u4fixed
Debianjqbookworm1.6-2.1+deb12u2fixed
Debianjqbookworm-security1.6-2.1+deb12u3fixed
CpejqNot reportedNot reportedunknown
CpejqNot reported1.6-2.1+deb12u2fixed
Alpinejq3.221.8.2-r0fixed
Alpinejq3.231.8.2-r0fixed
Alpinejq3.241.8.2-r0fixed
CpejqNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjqsourcesid1.8.1-6not yet assignedNot reported[1136445]
Debianjqsourceforky1.8.1-6not yet assignedNot reported[1136445]
Debianjqsourcetrixie1.7.1-6+deb13u3not yet assignedNot reported[1136445]
Debianjqsourcebookworm1.6-2.1+deb12u2not yet assignedNot reported[1136445]
CpejqcpeNot reported1.6-2.1+deb12u2Not reportedNot reportedNot reported
Alpinejqapk3.221.8.2-r0Not reportedALPINE-CVE-2026-41256Not reported
Alpinejqapk3.231.8.2-r0Not reportedALPINE-CVE-2026-41256Not reported
Alpinejqapk3.241.8.2-r0Not reportedALPINE-CVE-2026-41256Not reported

[Debian bug #1136445]

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [jq]Affected
    Details (5)
    • 1.7.1-6+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u4 · amd64 · trixie-security

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

  • [libjq1]Affected

    Source package: [jq]

    Details (5)
    • 1.7.1-6+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u4 · amd64 · trixie-security

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

  • [libjq-dev]Affected

    Source package: [jq]

    Details (5)
    • 1.7.1-6+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u4 · amd64 · trixie-security

      Fixed · Fixed: 1.7.1-6+deb13u3

      nvd · jq · debian · 13

[Debian 12 (Bookworm)]

  • [jq]Fixed
    Details (4)
    • 1.6-2.1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

  • [libjq1]Fixed

    Source package: [jq]

    Details (4)
    • 1.6-2.1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

  • [libjq-dev]Fixed

    Source package: [jq]

    Details (4)
    • 1.6-2.1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

    • 1.6-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.6-2.1+deb12u2

      nvd · jq · debian · bookworm; nvd · jq · debian · 12

Observed:

References