CVE catalog

CVE-2026-39979

jq is a command-line JSON processor. In commits before 2f09060afab23fe9390cce7cb860b10416e1bf5f, the jv_parse_sized() API in libjq accepts a counted buffer with an explicit length parameter, but its e

[CVE catalog]

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

jq is a command-line JSON processor. In commits before 2f09060afab23fe9390cce7cb860b10416e1bf5f, the jv_parse_sized() API in libjq accepts a counted buffer with an explicit length parameter, but its error-handling path formats the input buffer using %s in jv_string_fmt(), which reads until a NUL terminator is found rather than respecting the caller-supplied length. This means that when malformed JSON is passed in a non-NUL-terminated buffer, the error construction logic performs an out-of-bounds read past the end of the buffer. The vulnerability is reachable by any libjq consumer calling jv_parse_sized() with untrusted input, and depending on memory layout, can result in memory disclosure or process termination. The issue has been patched in commit 2f09060afab23fe9390cce7cb860b10416e1bf5f.

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 reported1.7.1-3ubuntu0.24.04.2fixed
Cpelibjq-devNot reported1.7.1-3ubuntu0.24.04.2fixed
Cpelibjq1Not reported1.7.1-3ubuntu0.24.04.2fixed
CpejqNot reported2026-04-12fixed
CpejqNot reported1.6-2.1+deb12u2fixed
Alpinejq3.221.8.2-r0fixed
Alpinejq3.231.8.2-r0fixed
Alpinejq3.241.8.2-r0fixed
Ubuntujqpro1.5+dfsg-2build1vulnerable
Ubuntujqpro1.6-1vulnerable
Ubuntujqpro1.6-1ubuntu0.20.04.1vulnerable
Ubuntujqpro1.6-1ubuntu0.20.04.1+esm1vulnerable
Ubuntujqpro1.6-1ubuntu0.20.04.1+esm2fixed
Ubuntujq22.041.6-2.1ubuntu2vulnerable
Ubuntujq22.041.6-2.1ubuntu3vulnerable
Ubuntujq22.041.6-2.1ubuntu3.1vulnerable
Ubuntujq22.041.6-2.1ubuntu3.2fixed
Ubuntujq24.041.6-3vulnerable
Ubuntujq24.041.7-1vulnerable
Ubuntujq24.041.7.1-2vulnerable
Ubuntujq24.041.7.1-3vulnerable
Ubuntujq24.041.7.1-3build1vulnerable
Ubuntujq24.041.7.1-3ubuntu0.24.04.1vulnerable
Ubuntujq24.041.7.1-3ubuntu0.24.04.2fixed
Ubuntujq25.101.7.1-3ubuntu1vulnerable
Ubuntujq25.101.7.1-6ubuntu1vulnerable
Ubuntujq25.101.8.1-3ubuntu1vulnerable
Ubuntujq25.101.8.1-3ubuntu1.1fixed
Ubuntujq26.041.8.1-3ubuntu1vulnerable
Ubuntujq26.041.8.1-4ubuntu1vulnerable
Ubuntujq26.041.8.1-4ubuntu2fixed
CpejqNot reported1.8.2fixed
Cpeai_inference_serverNot reported3.3.5fixed
Cpeansible_automation_platformNot reportedNot reportedunknown
Cpeceph_storageNot reportedNot reportedunknown
Cpecodeready_linux_builderNot reportedNot reportedunknown
Cpecodeready_linux_builder_eusNot reportedNot reportedunknown
Cpehardened_imagesNot reportedNot reportedunknown
Cpeopenshift_aiNot reported3.4.3fixed
Cpeopenshift_container_platformNot reported4.18.44fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjqsourcesid1.8.1-5not yet assignedNot reported[1133921]
Debianjqsourceforky1.8.1-5not yet assignedNot reported[1133921]
Debianjqsourcetrixie1.7.1-6+deb13u2not yet assignedNot reported[1133921]
Debianjqsourcebookworm1.6-2.1+deb12u2not yet assignedNot reported[1133921]
CpejqcpeNot reported1.7.1-3ubuntu0.24.04.2Not reportedNot reportedNot reported
Cpelibjq-devcpeNot reported1.7.1-3ubuntu0.24.04.2Not reportedNot reportedNot reported
Cpelibjq1cpeNot reported1.7.1-3ubuntu0.24.04.2Not reportedNot reportedNot reported
CpejqcpeNot reported2026-04-12Not reportedNot reportedNot reported
CpejqcpeNot reported1.6-2.1+deb12u2Not reportedNot reportedNot reported
Alpinejqapk3.221.8.2-r0Not reportedALPINE-CVE-2026-39979Not reported
Alpinejqapk3.231.8.2-r0Not reportedALPINE-CVE-2026-39979Not reported
Alpinejqapk3.241.8.2-r0Not reportedALPINE-CVE-2026-39979Not reported
Ubuntujqdebpro1.6-1ubuntu0.20.04.1+esm2Not reportedUBUNTU-CVE-2026-39979Not reported
Ubuntujqdeb22.041.6-2.1ubuntu3.2Not reportedUBUNTU-CVE-2026-39979Not reported
Ubuntujqdeb24.041.7.1-3ubuntu0.24.04.2Not reportedUBUNTU-CVE-2026-39979Not reported
Ubuntujqdeb25.101.8.1-3ubuntu1.1Not reportedUBUNTU-CVE-2026-39979Not reported
Ubuntujqdeb26.041.8.1-4ubuntu2Not reportedUBUNTU-CVE-2026-39979Not reported
CpejqcpeNot reported1.8.2Not reportedNVD-CVE-2026-39979Not reported
Cpeai_inference_servercpeNot reported3.3.5Not reportedNVD-CVE-2026-39979Not reported
Cpeopenshift_aicpeNot reported3.4.3Not reportedNVD-CVE-2026-39979Not reported
Cpeopenshift_container_platformcpeNot reported4.18.44Not reportedNVD-CVE-2026-39979Not reported

[Debian bug #1133921]

OpenFactory catalog packages

[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

[Debian 13 (Trixie)]

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

  • [libjq1]Fixed

    Source package: [jq]

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

  • [libjq-dev]Fixed

    Source package: [jq]

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-6+deb13u2

      nvd · jq · debian · 13

Observed:

References

[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]