Skip to content
Memory corruption Advisory Advanced CVE-2025-48429

Grassroot DICOM RLECodec::DecodeByStreams out-of-bounds read vulnerability

An out-of-bounds read vulnerability exists in the RLECodec::DecodeByStreams function of Grassroot DICOM 3.024. A specially crafted DICOM file can cause the function to read beyond the bounds of a fixed-size array, potentially leaking heap data.

Emmanuel Tacheau Follow

Originally disclosed on Cisco Talos

High 7.4 View original

An out-of-bounds read vulnerability exists in the RLECodec::DecodeByStreams functionality of Grassroot DICOM 3.024. A specially crafted DICOM file can lead to leaking heap data.

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

The number of segments read from the file is not validated against the fixed size of the Offset array, leading to an out-of-bounds read when the loop iterates beyond the array bounds.

Impact

A specially crafted DICOM file can cause an out-of-bounds read, potentially leaking heap data and crashing the application.

What the attacker needed

Malicious DICOM file

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.

This report describes a bug in a medical image library. When the library opens a special image file, it trusts a number in the file that says how many parts the image has. If that number is too big, the program reads past the end of a list, which can crash it or leak memory contents. An attacker could use this to see sensitive information from the program's memory.

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.