Advisory

UBUNTU-CVE-2025-48060

Also known as: CVE-2025-48060

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-05-21 18:15 UTC
Modified
2026-05-20 16:23 UTC

Affected packages and fixes

jq

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.6-2.1ubuntu3.1 (ecosystem)

Fixed versions

1.6-2.1ubuntu3.1

Fix

  • Fixed version 1.6-2.1ubuntu3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

jq

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.7.1-3ubuntu0.24.04.1 (ecosystem)

Fixed versions

1.7.1-3ubuntu0.24.04.1

Fix

  • Fixed version 1.7.1-3ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

jq

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 1.8.1-3ubuntu1 (ecosystem)

Fixed versions

1.8.1-3ubuntu1

Fix

  • Fixed version 1.8.1-3ubuntu1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

jq

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.8.1-3ubuntu1 (ecosystem)

Fixed versions

1.8.1-3ubuntu1

Fix

  • Fixed version 1.8.1-3ubuntu1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences