Skip to content
Memory corruption Advisory Advanced CVE-2026-8824

VTK vtkBMPReader ExecuteDataWithInformation memory corruption vulnerability

A crafted BMP file with an unsupported bit depth causes the reader to write three colour components per pixel into a buffer sized for one, producing a heap out-of-bounds write. An attacker could corrupt heap memory by supplying a malicious image file.

Emmanuel Tacheau Follow

Originally disclosed on Cisco Talos

High 7.5 View original

A memory corruption vulnerability exists in the vtkBMPReader ExecuteDataWithInformation functionality of vtk (version(s): 9.6.1). A specially crafted .bmp file can lead to a buffer overflow.

Emmanuel Tacheau, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the information phase returns early on an unsupported bit depth without setting an error code, so the data phase still runs and a catch-all branch writes three components per pixel into a buffer sized for one.

Impact

The out-of-bounds write corrupts adjacent heap memory and could crash the process; on builds without instrumentation the corruption is silent and the process continues with a compromised heap state.

What the attacker needed

Attacker supplies a crafted .bmp file; victim opens the file with vtkBMPReader

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A program that reads image files trusts a number in the file header that says how many bits each pixel uses. When that number is not one the program expects, it prints an error but keeps going, and later writes more data per pixel than the memory it reserved can hold. That spills into neighbouring memory, which can crash the program or let an attacker influence what happens next.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Emmanuel Tacheau

View all

58 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.