JavaScript is the Netscape-developed object scripting language used in millions
of web pages and server applications worldwide. Netscape's JavaScript is a
superset of the ECMA-262 Edition 3 (ECMAScript) standard scripting language,
with only mild differences from the published standard.
This package contains the JavaScript's library.
Provides
Requires
License
MPL-2.0
Changelog
* Tue Sep 29 2026 Max Lin <mlin@suse.com>
- Add mozjs115-rust1.98.patch: Fix detection of rust target when
building against Rust 1.98
* Tue Jun 02 2026 Michael Gorse <mgorse@suse.com>
- Add mozjs115-CVE-2025-70103.patch: libjxl: take EC into account
when checking required PNM input length (bsc#1266463
CVE-2025-70103).
* Sat Apr 25 2026 Michael Gorse <mgorse@suse.com>
- Add security fixes:
+ mozjs115-CVE-2026-32776.patch (bsc#1259728 CVE-2026-32776)
+ mozjs115-CVE-2026-32777.patch (bsc#1259713 CVE-2026-32777)
+ mozjs115-CVE-2026-32778.patch (bsc#1259731 CVE-2026-32778)
* Wed Nov 12 2025 Michael Gorse <mgorse@suse.com>
- Drop mozjs115-CVE-2025-62813.patch. The CVE has been rejected,
so this patch is not needed after all.
* Tue Oct 28 2025 Michael Gorse <mgorse@suse.com>
- Add mozjs115-CVE-2025-62813.patch: fix possible crash when
processing untrusted LZ4 frames (bsc#1252607 CVE-2025-62813).
* Thu Apr 10 2025 Michael Gorse <mgorse@suse.com>
- Add libtheora-avoid-negative-shift.patch: avoid negative shift in
huffdec.c (bsc#1234837 CVE-2024-56431).
* Wed Dec 11 2024 Cliff Zhao <qzhao@suse.com>
- Add mozjs115-CVE-2024-11498.patch:
Backporting bf4781a2 from upstream, Check height limit in modular
trees. Also rewrite the implementation to use iterative checking
instead of recursive checking of tree property values, to ensure
stack usage is low. Before, it was possible for
appropriately-crafted files to use a significant amount of stack.
(CVE-2024-11498, bsc#1233786)
* Mon Dec 09 2024 Cliff Zhao <qzhao@suse.com>
- Add mozjs115-CVE-2024-11403.patch:
Backporting 9cc451b9 from upstream, Port the Huffman lookup table
size fix from brunsli.
(CVE-2024-11403, bsc#1233766)
* Thu Dec 05 2024 Cliff Zhao <qzhao@suse.com>
- Add mozjs115-CVE-2024-50602.patch:
Backporting 51c70190 from upstream,
* lib: Make XML_StopParser refuse to stop/suspend an unstarted parser.
* lib: Be explicit about XML_PARSING in XML_StopParser.
(CVE-2024-50602, bsc#1232599, bsc#1232602)
* Wed Nov 20 2024 Bjørn Lie <bjorn.lie@gmail.com>
- Fix build against icu 76.1: link the correct libraries (icu-uc
instead of icu-i18n).
* Mon Oct 21 2024 Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 115.15.0:
+ Various security fixes and other quality improvements.
- This is the last version from Mozilla, please port to newer
versions: At minimum version 128.
* Mon Sep 30 2024 Cliff Zhao <qzhao@suse.com>
- Add mozjs115-CVE-2024-45492.patch:
Backporting 9bf0f2c1 from libexpat upstream, Detect integer
overflow in function nextScaffoldPart.
(CVE-2024-45492, bsc#1230038)
* Mon Sep 30 2024 Cliff Zhao <qzhao@suse.com>
- Add mozjs115-CVE-2024-45491.patch:
Backporting 8e439a99 from libexpat upstream, Detect integer
overflow in dtdCopy.
(CVE-2024-45491, bsc#1230037)
* Mon Sep 30 2024 Cliff Zhao <qzhao@suse.com>
- Add mozjs115-CVE-2024-45490-part01-5c1a3164.patch:
Backporting 5c1a3164 from libexpat upstream, Reject negative len
for XML_ParseBuffer.
CVE-2024-45490's fixes including 3 parts: 5c1a3164 for libexpat
sources; c12f039b for libexpat tests; 2db23301 for libexpat docs;
Because mozjs only embeds libexpat sources, so unnecessary to
port prart02 and part03.
(CVE-2024-45490, bsc#1230036)
* Thu Apr 04 2024 Dominique Leuenberger <dimstar@opensuse.org>
- Properly tag patches.
* Thu Dec 07 2023 Yifan Jiang <yfjiang@suse.com>
- mozjs115 requires gcc >= 8.1, icu >= 73.1. Specify them in spec.
* Wed Dec 06 2023 Yifan Jiang <yfjiang@suse.com>
- Update icu data file name in spec to build in big endian machine.
* Tue Nov 28 2023 Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -p N instead of deprecated %patchN.
* Thu Nov 09 2023 Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 115.4.0:
+ Various security fixes and other quality improvements.
+ CVE-2023-5721: Queued up rendering could have allowed websites
to clickjack
+ CVE-2023-5732: Address bar spoofing via bidirectional
characters
+ CVE-2023-5724: Large WebGL draw could have led to a crash
+ CVE-2023-5725: WebExtensions could open arbitrary URLs
+ CVE-2023-5726: Full screen notification obscured by file open
dialog on macOS
+ CVE-2023-5727: Download Protections were bypassed by .msix,