SecurityContext

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

  • Cve: CVE-2025-46687
  • Name: quickjs-ng - Buffer Overflow
  • Description: quickjs-ng through 0.9.0 has a missing length check in JS_ReadString for a string, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.
  • Impact: Attackers can cause memory corruption or crashes, potentially leading to denial of service or arbitrary code execution.
  • Remediation: Update to version 0.9.1 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0031
  • Epss percentile: 0.24208
  • Assignee: [email protected]
  • Published at: 2025-04-27T20:15:15Z
  • Age in days: 576
  • Modified at: 2026-06-17T09:26:48Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 6
  • Products total: 2
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-46687
  • 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-770Allocation of Resources Without Limits or Throttling

Public exploits

UrlSourceAdded date
https://github.com/bellard/quickjs/issues/399nvd2025-04-27
https://github.com/quickjs-ng/quickjs/issues/1018nvd2025-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/1020Issue Tracking, Patch
https://github.com/bellard/quickjs/issues/399Exploit, Issue Tracking, Vendor Advisory
https://github.com/quickjs-ng/quickjs/issues/1018Exploit, Issue Tracking, Vendor Advisory
https://bellard.org/quickjs/ChangelogRelease Notes

Products

ProductAffectedPlatform boundSourcesUrl
quickjs-ng:quickjs<= 0.9.0nonvd/v1/products/quickjs-ng/quickjs
bellard:quickjs< 2025-04-26nonvd/v1/products/bellard/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: 2
  • Public exploit first date: 2025-04-27
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts