{"id":"GHSA-j22f-vq7h-c4qm","revision":"804bc21652ef4fdaac9701d94e171c1e","records":[{"revision":"804bc21652ef4fdaac9701d94e171c1e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-j22f-vq7h-c4qm","aliases":["CVE-2026-92708"],"title":"devalue: `stringify`/`uneval` serialize shared memory","description":"### Impact\n\n`stringify` and `uneval` serialize a typed array by emitting its backing `ArrayBuffer`, not just the view. In the case of a Node `Buffer` object, the backing buffer is a process-wide shared pool, meaning unrelated memory can be serialized into a response that is then sent to the client. For a Node `Buffer` the backing store is Node's **process-wide shared pool**, so serializing a small `Buffer` copies up to 64 KB of unrelated process memory — including bytes from other in-flight requests — into the output. In an SSR framework (SvelteKit, Nuxt) a public page whose `load()` returns a 2-byte `Buffer`, or a small file read with `readFileSync`, ships another user's request body / `Authorization` header in its HTML. Unauthenticated, silent, ~43,000× amplification.\n\nThis is serialization-side, so the `parse`/`unflatten` prototype-pollution and DoS guards do not apply — it fires on every SSR render, not only when parsing untrusted input.\n\n### Workarounds\n\nConvert Node `Buffer` objects to `Uint8Array`:\n\n```diff\npayload = {\n- buffer\n+ buffer: new Uint8Array(buffer)\n}\n```","state":0,"publishedAt":"2026-10-01T15:18:06+00:00","modifiedAt":"2026-10-01T15:30:12.6787574+00:00","affected":[{"ecosystem":"npm","name":"devalue","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"5.1.0"},{"kind":"fixed","version":"5.9.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/sveltejs/devalue/security/advisories/GHSA-j22f-vq7h-c4qm","https://nvd.nist.gov/vuln/detail/CVE-2026-92708","https://github.com/sveltejs/devalue/commit/46dc877b3570dafb1cd3291b9bb48cecef8f7266","https://github.com/sveltejs/devalue","https://github.com/sveltejs/devalue/releases/tag/v5.9.3"],"sourceUrl":"https://github.com/advisories/GHSA-j22f-vq7h-c4qm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-j22f-vq7h-c4qm","identifiers":["GHSA-j22f-vq7h-c4qm","CVE-2026-92708"]},"retained":false,"historicalAffected":[]}],"coverage":[]}