SecurityContext

CVE-2025-46688: quickjs-ng - Buffer Overflow

  • Cve: CVE-2025-46688
  • Name: quickjs-ng - Buffer Overflow
  • Description: 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.
  • Impact: Attackers can execute arbitrary code or cause denial of service through buffer overflow.
  • Remediation: Update to a version later than 0.9.0.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.4
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00331
  • Epss percentile: 0.26543
  • Assignee: [email protected]
  • Published at: 2025-04-27T20:15:15Z
  • Age in days: 576
  • Modified at: 2026-06-17T09:26:49Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 6
  • Products total: 2
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-46688
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-131Incorrect Calculation of Buffer Size

Public exploits

UrlSourceAdded date
https://github.com/bellard/quickjs/issues/399nvd2025-04-27

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/bellard/quickjs/commit/1eb05e44fad89daafa8ee3eb74b8520b4a37ec9aPatch
https://github.com/quickjs-ng/quickjs/commit/28fa43d3ddff2c1ba91b6e3a788b2d7ba82d1465Patch
https://github.com/quickjs-ng/quickjs/pull/1020Patch
https://github.com/bellard/quickjs/issues/399Exploit, Third Party Advisory
https://github.com/quickjs-ng/quickjs/issues/1018Third Party Advisory
https://bellard.org/quickjs/ChangelogProduct

Products

ProductAffectedPlatform boundSourcesUrl
quickjs_project:quickjs< 2025-04-26nonvd/v1/products/quickjs_project/quickjs
quickjs-ng:quickjs<= 0.9.0nonvd/v1/products/quickjs-ng/quickjs

Projects

RepositoryLink kindsIndexedUrl
bellard/quickjscommit, issuesyes/v1/repositories/bellard/quickjs
quickjs-ng/quickjscommit, fix, issues, pullyes/v1/repositories/quickjs-ng/quickjs

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-04-27
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts