LEADTOOLS libltdic.so LDicomAssociate::SetBinary denial-of-service vulnerability
A specially crafted DICOM packet can cause an infinite loop in the LEADTOOLS library when parsing presentation context items, leading to a denial of service. An attacker can send such a packet to disable the server.
Originally disclosed on Cisco Talos
An exploitable denial-of-service vulnerability exists in the Dicom-packet parsing functionality of LEADTOOLS libltdic.so version 20. A specially crafted packet can cause an infinite loop, resulting in a denial of service.
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 loops without advancing the input pointer when the byte is neither 0x30 nor 0x40, causing an infinite loop.
Impact
A remote attacker could send a crafted packet to cause a denial of service, making the server unresponsive.
What the attacker needed
Network access to the DICOM service
The fix
The vendor patched the issue.
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 imaging library. When the library reads a network message, it checks a byte to decide what to do next. If the byte is not one of two expected values, the code gets stuck in a loop and never finishes, so the server stops responding.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.