Buffer Overflow in node-weakauras-parserGHSA-86mr-6m89-vgj3
Fix: Zireael-N/node-weakauras-parser@bc146daGHSA-86mr-6m89-vgj3 is a remote code execution vulnerability in node-weakauras-parser. A fix is available for node-weakauras-parser — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
node-weakauras-parsernpmDescription
Affected versions of node-weakauras-parser are vulnerable to a Buffer Overflow. The encode_weakaura function fails to properly validate the input size. A buffer of 13835058055282163711 bytes causes an overflow on 64-bit systems.
Recommendation
Upgrade to versions 1.0.5, 2.0.2, 3.0.1 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | node-weakauras-parser | ≥ 1.0.4&&< 1.0.5 | 1.0.5npm install node-weakauras-parser@1.0.5 |
| 📦npm | node-weakauras-parser | ≥ 2.0.0&&< 2.0.2 | 2.0.2npm install node-weakauras-parser@2.0.2 |
| 📦npm | node-weakauras-parser | ≥ 3.0.0&&< 3.0.1 | 3.0.1npm install node-weakauras-parser@3.0.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for node-weakauras-parser, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update node-weakauras-parser to 1.0.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-86mr-6m89-vgj3 is resolved across your whole dependency graph.
Workarounds
Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.
Frequently Asked Questions
Is GHSA-86mr-6m89-vgj3 in your dependencies?
Find it across npm, including transitive dependencies.