#1141820 node-js-yaml: CVE-2026-59869

Package:
src:node-js-yaml
Source:
src:node-js-yaml
Submitter:
Salvatore Bonaccorso
Date:
2026-08-19 10:21:04 UTC
Severity:
normal
Tags:
#1141820#5
Date:
2026-07-10 13:01:49 UTC
From:
To:
Hi,

The following vulnerability was published for node-js-yaml.

CVE-2026-59869[0]:
| js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before
| 3.15.0 and from 4.0.0 before 4.3.0, js-yaml can spend quadratic CPU
| time parsing a document whose size grows only linearly when a chain
| of mappings uses merge keys where each mapping merges the previous
| one. This issue is fixed in versions 3.15.0 and 4.3.0.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-59869
https://www.cve.org/CVERecord?id=CVE-2026-59869
[1] https://github.com/nodeca/js-yaml/security/advisories/GHSA-52cp-r559-cp3m
[2] https://github.com/nodeca/js-yaml/commit/59423c6f8cdc78742ac00e25a4dd39ef16b702e4

Regards,
Salvatore

#1141820#12
Date:
2026-08-19 09:59:26 UTC
From:
To:
Hello,

Bug #1141820 in node-js-yaml reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-js-yaml/-/commit/0e7efbb4e9b9fcabae586bb383a37b9daebb52f9

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1141820

#1141820#19
Date:
2026-08-19 10:19:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-js-yaml, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1141820@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-js-yaml package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 19 Aug 2026 11:56:46 +0200
Source: node-js-yaml
Architecture: source
Version: 4.2.0+~4.0.9-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1141820
Changes:
 node-js-yaml (4.2.0+~4.0.9-2) unstable; urgency=medium
 .
   * Team upload
   * Patch: replace `maxMergeSeqLength` option with `maxTotalMergeKeys`
     (Closes: #1141820, CVE-2026-59869)
Checksums-Sha1:
 02588aa370b7a7409ccf1c06a07f364e61881d01 2578 node-js-yaml_4.2.0+~4.0.9-2.dsc
 1a6e6fc2dbe7244a385abbd68b54b5c35b80c2a8 85368 node-js-yaml_4.2.0+~4.0.9-2.debian.tar.xz
Checksums-Sha256:
 c16030ff7f3907203c78a69d3743eca7b6037eeeaa5fc379d8a5537215582b51 2578 node-js-yaml_4.2.0+~4.0.9-2.dsc
 8ef97712698e9ed8885d6a7233f449991603605ffb37d28e9118470478738dc8 85368 node-js-yaml_4.2.0+~4.0.9-2.debian.tar.xz
Files:
 326bab26b12cdcba8c49a96af2f2824f 2578 javascript optional node-js-yaml_4.2.0+~4.0.9-2.dsc
 da28ff5230ec8fc5fb191fbe03de231c 85368 javascript optional node-js-yaml_4.2.0+~4.0.9-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqFfmgACgkQ9tdMp8mZ
7ul3xRAAkzdt94EW/EGTZZ1KfyH5c8OODkfHD6eNqLDRJyM1hhANR4yjOq5wZJg5
Skg6TG0638Thq6NMTsS3OY2jBEmobNAfPO4ouPn2csbh0NctlHiBIO5IPLnRqq10
keYYNBS+HVKJa/4I4ByaCnIPgGU/OdpRwbjA40xwNpcSwoFzXKs3ABzDzJ+l4VIW
xAYZ3GdGzT15T4Zm7TSIcfcxHI8LHdQrhhLaOZD4IcyaUfOJZLU+1/+tv20UdoMM
x2HGNM162ICiFOFsjHb7GleO3utQmhyTD9tbecfbPiIZWcm5QepbeHMbv8fZa/S3
sjpDF4XF09rtO3+Zo061734yr6UnY1LBzLmEq4XDJlcxgaJHBu5L8FIkMeFkH5q2
ySL6Gxh/nKDFpbTc66TdRj+5McEhqIdenxE9z5BlGo/HfWpSUdyx544/tpUd6MuL
9SJ9OxCJ0oe/SY7RDnI/BRQYEyOZncbnXNoDORRwhGbvRNV3uGuj88SYRIObc9RY
gzj1NM8LWKKE3QavFYnDR3BoynmkZT4+tKIsGZRFGAmmxev0Lo1JhNs+gKkVkD87
BqAB4uk0fs5RFl3PxjDkL0kd0DXoRKcIhPw4gcWAJKbKh4mRfhI6iS6gbwucI/kC
NrB8ZghIu97FiB0kwFcQjgsfpo/NLkUfT99cbc5GqZvcarMPxX0=
=PZQW
-----END PGP SIGNATURE-----