openSUSE-SU-2026:21500-1: important: Security update for yq

[email protected] Fri, 31 Jul 2026 17:53:48 +0200 (CEST)
Newsgroups gmane.linux.suse.security.announce
Message-ID <[email protected]>
openSUSE security update: security update for yq
-------------------------------------------------------------

Announcement ID: openSUSE-SU-2026:21500-1
Rating: important
References:

  * bsc#1267199
  * bsc#1271994



Cross-References:

  * CVE-2026-39821
  * CVE-2026-56852



CVSS scores:

  * CVE-2026-39821 ( SUSE ): 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  * CVE-2026-39821 ( SUSE ): 9.1 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
  * CVE-2026-56852 ( SUSE ): 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  * CVE-2026-56852 ( SUSE ): 6 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected Products:

         openSUSE Leap 16.0

-------------------------------------------------------------

An update that solves 2 vulnerabilities and has 2 bug fixes can now be installed.

Description:

This update for yq fixes the following issues:

Changes in yq:

- Update the golang.org/x/net dependency to version v0.57.0
  to fix CVE-2026-39821 for good (bsc#1267199).

- update to v4.53.3
  Add --ini-preserve-quotes flag for INI round-trip quote preservation.
  Fix: reset INI decoder state on init.
  Fix: decode properties array bracket paths.
  Fix: preserve floats with trailing zero when encoding YAML to JSON.
  Fix: JSON to TOML root scope and null handling.
  Fix: reset TOML decoder finished flag on Init for multi-doc evaluation.
  Fix: reset TOML decoder between files when evaluating all at once.
  Fix: preserve TOML inline table array scope.
  Fix: preserve empty TOML arrays in tables
  Fix: TOML encoder uses inline tables for YAML FlowStyle mappings.
  Fix nested inline YAML merge explode.
  Fix repeatString overflow test on 32-bit platforms.

- Fix CVE-2026-56852 (GO-2026-5970) (bsc#1271994):
  A norm.Iter can enter an infinite loop when handling input
  containing invalid UTF-8 bytes.


Patch instructions:

   To install this openSUSE security update use the suse recommended installation methods
   like YaST online_update or "zypper patch".
   Alternatively you can run the command listed for your product:

- openSUSE Leap 16.0

   zypper in -t patch openSUSE-Leap-16.0-packagehub-451=1

Package List:

- openSUSE Leap 16.0:

  yq-4.53.3-bp160.1.1
  yq-bash-completion-4.53.3-bp160.1.1
  yq-fish-completion-4.53.3-bp160.1.1
  yq-zsh-completion-4.53.3-bp160.1.1

References:

  * https://www.suse.com/security/cve/CVE-2026-39821.html
  * https://www.suse.com/security/cve/CVE-2026-56852.html