# Buffer overrun in Mutable's GenerateAndAddLaplacianData 

**URL:** <https://forums.unrealengine.com/t/buffer-overrun-in-mutables-generateandaddlaplaciandata/2854989>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 13, 2026, 5:44pm UTC](https://forums.unrealengine.com/t/buffer-overrun-in-mutables-generateandaddlaplaciandata/2854989 "2026-10-13T17:44:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 13, 2026, 5:44pm UTC](https://forums.unrealengine.com/t/buffer-overrun-in-mutables-generateandaddlaplaciandata/2854989/1 "2026-10-13T17:44:12Z")

</div>

Hi,

We found a memory stomp coming from a buffer overrun in the memcpys in GenerateAndAddLaplacianData in OpMeshBind.h

The 3 memcpys use GetDataSize (which adds the size of the metadata to the size of the buffer) where they should use GetBufferDataSize

Cheers!

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 13, 2026, 5:44pm UTC](https://forums.unrealengine.com/t/buffer-overrun-in-mutables-generateandaddlaplaciandata/2854989/2 "2026-10-13T17:44:15Z")

</div>

**Steps to Reproduce** [Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/924220_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [October 14, 2026, 1:50pm UTC](https://forums.unrealengine.com/t/buffer-overrun-in-mutables-generateandaddlaplaciandata/2854989/3 "2026-10-14T13:50:25Z")

</div>

Hello!

You are correct! There is a 16 bytes overrun. It is sneaky as there might be allocation padding so it won’t happen all the time. I am working on pushing a fix for 5.8.5.

Thanks for the report!

Martin

[Attachment Removed]
