# GHSA-86mr-6m89-vgj3: Buffer Overflow in node-weakauras-parser

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:51:38.000Z
- Modified: 2021-10-04T21:10:07.000Z
- Weaknesses: CWE-120

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- node-weakauras-parser (npm): from 1.0.4 before 1.0.5; from 2.0.0 before 2.0.2; from 3.0.0 before 3.0.1

## References

- <https://github.com/Zireael-N/node-weakauras-parser/commit/bc146da09db689e554d28e948f1cf1c138f09f69#diff-023afe6291ac9ada88788108cb3367b3R38-R43> (web)
- <https://github.com/Zireael-N/node-weakauras-parser> (package)
- <https://www.npmjs.com/advisories/1504> (web)

## Sources

- GitHub Advisory Database: [GHSA-86mr-6m89-vgj3](https://github.com/advisories/GHSA-86mr-6m89-vgj3), CC-BY-4.0, modified 2021-10-04

---

Page: https://cve.day/GHSA-86mr-6m89-vgj3 · Whole record: https://cve.day/GHSA-86mr-6m89-vgj3.json · Rebuilt by cve.day 2026-11-25T22:56:44.675Z
