> CVE-2026-49839 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-06-25 18:16
MODIFIED
2026-06-25 19:16
CVSS_SCORE V3
7.1
EPSS (Prob. Exploit)
0.17%
Top 94.3%
DATA SOURCES:
NVD đź”— 2026-06-25 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 OSV đź”— 2026-11-02 MSRC đź”— 2026-11-02

> DESCRIPTION

jq is a command-line JSON processor. Prior to 1.8.2,` jq --rawfile` can turn a handled oversized-string error into invalid-state reuse and a real heap out-of-bounds write in assertion-disabled builds. When jv_load_file(raw=1) reads an attacker-controlled file, it repeatedly appends file chunks to the same jv string accumulator. Once jv_string_append_buf() returns jv_invalid_with_msg("String too long"), the raw-file loop does not stop. If the file contains at least one more byte, the next loop iteration appends a new chunk to an object that is already invalid. With assertions enabled this aborts in jvp_string_ptr(). With assertions disabled, the invalid object is interpreted as a string object and ASan reports heap-buffer-overflow. This vulnerability is fixed in 1.8.2.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
EXPLOITABILITY
1.8
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-787

> CWE DETAILED DESCRIPTIONS

CWE-787: Out-of-bounds Write - The product writes data past the end, or before the beginning, of the intended buffer.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

jq --rawfile invalid-state reuse after String too long causes heap-buffer-overflow

AFFECTED PACKAGES:
Unknown / Unknown
17 versions affected
ALIASES:
GHSA-cfh2-vwfq-qfmm

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/06/2026 18:16
Source: NVD
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-787: Out-of-bounds Write - The product writes data past the end, or before the beginning, of the intended buffer.
Total des modifications: 1 Dernière mise à jour: 4 months ago

> REFERENCES

https://github.com/jqlang/jq/security/advisories/GHSA-cfh2-vwfq-qfmm
https://github.com/jqlang/jq/security/advisories/GHSA-cfh2-vwfq-qfmm
« BACK_TO_HOME