CVE Explorer
CVE-2025-62495
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, several functions, such as re_emit_op_u32 and other internal parsing routines, incorrectly cast or store this DynBuf $\text{size}\_\text{t}$ value
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://bellard.org/quickjs/","defaultStatus":"unaffected","packageName":"libregexp","product":"QuickJS","vendor":"QuickJS","versions":[{"lessThan":"2025-09-13","status":"affected","version":"2025-04-26","versionType":"date"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c729c278be25822eec0799a190c84ecf6fd2de78f991d629c92b4b851e114a49 · sha256:ed65177399b4d3f9… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"ADJACENT","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact"…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c729c278be25822eec0799a190c84ecf6fd2de78f991d629c92b4b851e114a49 · sha256:ed65177399b4d3f9… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-191","description":"CWE-191 Integer Underflow (Wrap or Wraparound)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c729c278be25822eec0799a190c84ecf6fd2de78f991d629c92b4b851e114a49 · sha256:ed65177399b4d3f9… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://bellard.org/quickjs/Changelog"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c729c278be25822eec0799a190c84ecf6fd2de78f991d629c92b4b851e114a49 · sha256:ed65177399b4d3f9… · /containers/cna/references/0
{"url":"https://issuetracker.google.com/434196926"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c729c278be25822eec0799a190c84ecf6fd2de78f991d629c92b4b851e114a49 · sha256:ed65177399b4d3f9… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.