Skip to content
Memory corruption Advisory Advanced CVE-2025-53619CVE-2025-53618

Grassroot DICOM JPEGBITSCodec::InternalCode out-of-bounds read vulnerability

An out-of-bounds read vulnerability exists in the JPEGBITSCodec::InternalCode functionality of Grassroot DICOM 3.024. A specially crafted DICOM file can lead to an information leak.

Emmanuel Tacheau Follow

Originally disclosed on Cisco Talos

High 7.4 View original

An out-of-bounds read vulnerability exists in the JPEGBITSCodec::InternalCode functionality of Grassroot DICOM 3.024. A specially crafted DICOM file can lead to an information leak.

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 code fails to check that the computed row pointer stays within the bounds of the input buffer before passing it to JPEG compression routines.

Impact

A specially crafted DICOM file can trigger an out-of-bounds read, potentially leading to an information leak or crash.

What the attacker needed

Victim opens a 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 processes a malicious DICOM file, it reads memory outside the intended buffer, which can crash the program or leak sensitive data. An attacker could exploit this by tricking a victim into opening a crafted file.

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.