CVE and update status of the FreeBSD ports tree4,826 unaddressed CVEs in 618 portsAll times are CET

Port details

lang/quickjs-ng0.17.0

Embeddable Javascript interpreter in C (NG fork)

Maintainer
osa@FreeBSD.org
Packages
quickjs-ng 0.17.0
Upstream
up to date
CPE
quickjs_project:quickjs from the port
WWW
https://quickjs-ng.github.io/quickjs/
Links
cgit · VuXML

Unaddressed (11) · The CVE record lists this version as affected, no VuXML entry names the CVE

CVE-2025-624908.8published 2025-10-16

In quickjs, in js_print_object, when printing an array, the function first fetches the array length and then loops over it. The issue is, printing a value is not side-effect free. An attacker-defined callback could run during js_print_value, during which the array could get resized and len1 become out of bounds. This results in a use-after-free.A second ins…

CVE-2025-624918.8published 2025-10-16

A Use-After-Free (UAF) vulnerability exists in the QuickJS engine's standard library when iterating over the global list of unhandled rejected promises (ts->rejected_promise_list). * The function js_std_promise_rejection_check attempts to iterate over the rejected_promise_list to report unhandled rejections using a standard list loop. * The reason …

CVE-2023-481837.5published 2024-04-23

QuickJS before c4cdd61 has a build_for_in_iterator NULL pointer dereference because of an erroneous lexical scope of "this" with eval.

CVE-2020-228767.5published 2021-07-13

Buffer Overflow vulnerability in quickjs.c in QuickJS, allows remote attackers to cause denial of service. This issue is resolved in the 2020-07-05 release.

CVE-2025-624957.1published 2025-10-16

An integer overflow vulnerability exists in the QuickJS regular expression engine (libregexp) due to an inconsistent representation of the bytecode buffer size. * The regular expression bytecode is stored in a DynBuf structure, which correctly uses a $\text{size}\_\text{t}$ (an unsigned type, typically 64-bit) for its size member. * However, severa…

CVE-2025-624967.1published 2025-10-16

A vulnerability exists in the QuickJS engine's BigInt string parsing logic (js_bigint_from_string) when attempting to create a BigInt from a string with an excessively large number of digits. The function calculates the necessary number of bits (n_bits) required to store the BigInt using the formula: $$\text{n\_bits} = (\text{n\_digits} \times 27 + 7) / 8…

CVE-2025-624947.1published 2025-10-16

A type confusion vulnerability exists in the handling of the string addition (+) operation within the QuickJS engine. * The code first checks if the left-hand operand is a string. * It then attempts to convert the right-hand operand to a primitive value using JS_ToPrimitiveFree. This conversion can trigger a callback (e.g., toString or valueOf). …

CVE-2025-624925.9published 2025-10-16

A vulnerability stemming from floating-point arithmetic precision errors exists in the QuickJS engine's implementation of TypedArray.prototype.indexOf() when a negative fromIndex argument is supplied. * The fromIndex argument (read as a double variable, $d$) is used to calculate the starting position for the search. * If d is negative, the index is…

CVE-2025-624935.9published 2025-10-16

A vulnerability exists in the QuickJS engine's BigInt string conversion logic (js_bigint_to_string1) due to an incorrect calculation of the required number of digits, which in turn leads to reading memory past the allocated BigInt structure. * The function determines the number of characters (n_digits) needed for the string representation by calculating…

CVE-2025-466885.6published 2025-04-27

quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

CVE-2023-481843.9published 2024-04-23

QuickJS before 7414e5f has a quickjs.h JS_FreeValueRT use-after-free because of incorrect garbage collection of async functions with closures.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (13)

Sergey A. Osokin (osa) · 0.17.0
lang/quickjs-ng: update: 0.16.2 -> 0.17.0

ChangeLog:	https://github.com/quickjs-ng/quickjs/compare/v0.16.2...v0.17.0
Reported by:	portscout

Sponsored by:	tipi.work
c02e79c178
Sergey A. Osokin (osa) · 0.16.2
lang/quickjs-ng: update: 0.16.1 -> 0.16.2

ChangeLog:	https://github.com/quickjs-ng/quickjs/compare/v0.16.1...v0.16.2

Sponsored by:	tipi.work
1689928e35
Sergey A. Osokin (osa) · 0.16.1
lang/quickjs-ng: update: 0.15.1 -> 0.16.1

ChangeLog:	https://github.com/quickjs-ng/quickjs/compare/v0.15.1...v0.16.1

Sponsored by:	tipi.work
e5eabf6dc2
Sergey A. Osokin (osa) · 0.15.1
lang/quickjs-ng: update: 0.14.0 -> 0.15.1

ChangeLog:	https://github.com/quickjs-ng/quickjs/compare/v0.14.0...v0.15.1

Sponsored by:	tipi.work
9088da386c
Sergey A. Osokin (osa) · 0.14.0
lang/quickjs-ng: update: 0.13.0 -> 0.14.0

ChangeLog:	https://github.com/quickjs-ng/quickjs/compare/v0.13.0...v0.14.0

Sponsored by:	tipi.work
85f60ea497
Sergey A. Osokin (osa) · 0.13.0
lang/quickjs-ng: update: 0.12.1 -> 0.13.0

ChangeLog:	https://github.com/quickjs-ng/quickjs/compare/v0.12.1...v0.13.0

Sponsored by:	tipi.work
80d297824a
Sergey A. Osokin (osa) · 0.12.1
lang/quickjs-ng: update: 0.11.0 -> 0.12.1

ChangeLog:	https://github.com/quickjs-ng/quickjs/compare/v0.11.0...v0.12.1

Sponsored by:	tipi.work
4fb0ecca8b
Sergey A. Osokin (osa) · 0.11.0
lang/quickjs-ng: update 0.10.1 -> 0.11.0

Make portlint(1) happy.
7a0797c111
Sergey A. Osokin (osa) · 0.10.1
lang/quickjs-ng: update from 0.10.0 to 0.10.1

Remove added to the upstream patch.
fcdbacbdcd
Sergey A. Osokin (osa) · 0.10.0
lang/quickjs-ng: update from 0.9.0 to 0.10.0

https://github.com/quickjs-ng/quickjs/compare/v0.9.0...v0.10.0
0a3c08e86c
Sergey A. Osokin (osa) · 0.9.0
lang/quickjs-ng: update 0.8.0 -> 0.9.0

ChangeLog:	https://github.com/quickjs-ng/quickjs/compare/v0.8.0...v0.9.0
07cd99d5e8
Sergey A. Osokin (osa) · 0.8.0_1
lang/quickjs-ng: update the port to fix several issues (+)

- usage GITHUB* family variables
- remove needless options from the USES variable
- add a quick patch to fix a build issue on some platform

Reported by:	diizzy
Reviewed by:	diizzy
Fixes:		6c458c3785dfc12064350c2e0aee9105105a5fd4

Bump PORTREVISION.
31bf272f72
Sergey A. Osokin (osa) · 0.8.0
lang/quickjs-ng: add a new port quickjs-ng

QuickJS, the Next Generation: a mighty JavaScript engine
6c458c3785