CVE catalog

CVE-2023-50246

jq affected and fixed versions

[CVE catalog]

jq is a command-line JSON processor. Version 1.7 is vulnerable to heap-based buffer overflow. Version 1.7.1 contains a patch for this issue.

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

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixie-securityjq1.7.1-6+deb13u4Fixed[CVE-2023-50246]
Debiantrixiejq1.7.1-1FixedDistribution-reported fixed boundary[CVE-2023-50246]
Debiantrixiejq1.7.1-6+deb13u3Fixed[CVE-2023-50246]
Debiansidjq1.7.1-1FixedDistribution-reported fixed boundary[CVE-2023-50246]
Debiansidjq1.8.2-1Fixed[CVE-2023-50246]
Debianforkyjq1.7.1-1FixedDistribution-reported fixed boundary[CVE-2023-50246]
Debianforkyjq1.8.2-1Fixed[CVE-2023-50246]

Showing 7 fix observations. All 16 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedjqNot reportedUnknownSource applicability is not establishedProvider not reported
Alpine3.19jq1.7.1-r0UnknownSource applicability is not established[ALPINE-CVE-2023-50246]
Alpine3.22jq1.7.1-r0UnknownSource applicability is not established[ALPINE-CVE-2023-50246]
Alpine3.23jq1.7.1-r0UnknownSource applicability is not established[ALPINE-CVE-2023-50246]
Alpine3.24jq1.7.1-r0UnknownSource applicability is not established[ALPINE-CVE-2023-50246]
DebianbookwormjqNot reportedNot affectedDistribution reports not affected[CVE-2023-50246]
Debianbookwormjq1.6-2.1+deb12u2Not affected[CVE-2023-50246]
Debianbookworm-securityjq1.6-2.1+deb12u3Not affected[CVE-2023-50246]
Debianforkyjq1.7.1-1FixedDistribution-reported fixed boundary[CVE-2023-50246]
Debianforkyjq1.8.2-1Fixed[CVE-2023-50246]
Debiansidjq1.7.1-1FixedDistribution-reported fixed boundary[CVE-2023-50246]
Debiansidjq1.8.2-1Fixed[CVE-2023-50246]
Debiantrixiejq1.7.1-1FixedDistribution-reported fixed boundary[CVE-2023-50246]
Debiantrixiejq1.7.1-6+deb13u3Fixed[CVE-2023-50246]
Debiantrixie-securityjq1.7.1-6+deb13u4Fixed[CVE-2023-50246]
Opensusetumbleweedjq1.7.1-1.1UnknownSource applicability is not established[OPENSUSE-SU-2024:13521-1]
Original provider fields
{
  "package_releases": [
    {
      "name": "jq",
      "status": "fixed",
      "release": "sid",
      "version": "1.8.2-1"
    },
    {
      "name": "jq",
      "status": "fixed",
      "release": "forky",
      "version": "1.8.2-1"
    },
    {
      "name": "jq",
      "status": "fixed",
      "release": "trixie",
      "version": "1.7.1-6+deb13u3"
    },
    {
      "name": "jq",
      "status": "fixed",
      "release": "trixie-security",
      "version": "1.7.1-6+deb13u4"
    },
    {
      "name": "jq",
      "status": "not affected",
      "release": "bookworm",
      "version": "1.6-2.1+deb12u2"
    },
    {
      "name": "jq",
      "status": "not affected",
      "release": "bookworm-security",
      "version": "1.6-2.1+deb12u3"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1058763,
      "name": "jq",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.7.1-1"
    },
    {
      "bug": 1058763,
      "name": "jq",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.7.1-1"
    },
    {
      "bug": 1058763,
      "name": "jq",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.7.1-1"
    },
    {
      "bug": 1058763,
      "name": "jq",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": "0"
    }
  ],
  "distribution_packages": [
    {
      "name": "jq",
      "fixed_version": "0",
      "applicability_unknown": true
    },
    {
      "name": "jq",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.1-r0"
            }
          ]
        }
      ],
      "release": "3.19",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-50246",
      "fixed_version": "1.7.1-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2023-50246",
      "provider_updated_at": "2026-10-26T17:17:58.658182079Z",
      "applicability_unknown": true
    },
    {
      "name": "jq",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.1-r0"
            }
          ]
        }
      ],
      "release": "3.22",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-50246",
      "fixed_version": "1.7.1-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2023-50246",
      "provider_updated_at": "2026-10-26T17:17:58.658182079Z",
      "applicability_unknown": true
    },
    {
      "name": "jq",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.1-r0"
            }
          ]
        }
      ],
      "release": "3.23",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-50246",
      "fixed_version": "1.7.1-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2023-50246",
      "provider_updated_at": "2026-10-26T17:17:58.658182079Z",
      "applicability_unknown": true
    },
    {
      "name": "jq",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.1-r0"
            }
          ]
        }
      ],
      "release": "3.24",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-50246",
      "fixed_version": "1.7.1-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2023-50246",
      "provider_updated_at": "2026-10-26T17:17:58.658182079Z",
      "applicability_unknown": true
    },
    {
      "name": "jq",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.1-1.1"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2024:13521-1",
      "fixed_version": "1.7.1-1.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2024:13521-1",
      "provider_updated_at": "2026-02-04T03:58:33.677146Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #1058763]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

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

      Not affected

      dsa · jq · debian · bookworm

    • 1.6-2.1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · jq · debian · bookworm

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

      Not affected

      dsa · jq · debian · bookworm

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

      Not affected

      dsa · jq · debian · bookworm

  • [libjq1]Unknown

    Source package: [jq]

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

      Not affected

      dsa · jq · debian · bookworm

    • 1.6-2.1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · jq · debian · bookworm

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

      Not affected

      dsa · jq · debian · bookworm

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

      Not affected

      dsa · jq · debian · bookworm

  • [libjq-dev]Unknown

    Source package: [jq]

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

      Not affected

      dsa · jq · debian · bookworm

    • 1.6-2.1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · jq · debian · bookworm

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

      Not affected

      dsa · jq · debian · bookworm

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

      Not affected

      dsa · jq · debian · bookworm

[Debian 13 (Trixie)]

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

  • [libjq1]Unknown

    Source package: [jq]

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

  • [libjq-dev]Unknown

    Source package: [jq]

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

    • 1.7.1-6+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

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

      Fixed · Fixed: 1.7.1-1

      dsa · jq · debian · 13

[openSUSE Tumbleweed]

  • [jq]Unknown

    Source package: [jq]

    Details (1)
    • 1.8.2-1.3 · x86_64 · tumbleweed

      Fixed · Fixed: 1.7.1-1.1

      dsa · jq · opensuse · tumbleweed

  • [libjq1]Unknown

    Source package: [jq]

    Details (1)
    • 1.8.2-1.3 · x86_64 · tumbleweed

      Unknown · Fixed: 1.7.1-1.1

      Version impact unknown

      dsa · jq · opensuse · tumbleweed

  • [libjq-devel]Unknown

    Source package: [jq]

    Details (1)
    • 1.8.2-1.3 · x86_64 · tumbleweed

      Unknown · Fixed: 1.7.1-1.1

      Version impact unknown

      dsa · jq · opensuse · tumbleweed

Observed:

References