View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009504 | Kali Linux | Kali Package Bug | public | 2026-01-15 11:13 | 2026-01-16 10:36 |
| Reporter | erikdervishi | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Summary | 0009504: [Patch & Vulnerability Report] Steghide 0.5.1 - Fix for DoS via Memory Exhaustion (CWE-770) | ||||
| Description |
Component: src/BmpFile.cc, function BmpFile::readdata. Root Cause: The BitmapData.resize() method is called with a size calculated directly from the file header without upper-bound checks. Risk: 64-bit: Memory Exhaustion (DoS). 32-bit: Integer Overflow leading to Heap Buffer Overflow (Potential RCE).
import struct filename = "dos.bmp" BMP Header + DIB Header (claiming 50k x 50k pixels)
print(f"[+] Created {filename}. Run: steghide info {filename}")
Applied Fix:
[!] SECURITY ERROR: BMP requires 7499900000 bytes. Limit is 524288000 bytes. | ||||
|
You know that you should report this to the development team of that software itself? |
|
|
I would normally report this upstream, but the original project on SourceForge is abandoned and unmaintained (last update was in 2005). There is no active upstream development team to report to anymore. Since Kali and Debian continue to ship this package, and this is a reproducible security vulnerability (Stack Buffer Overflow causing Information Disclosure via core dumps), the fix needs to be applied at the distribution packaging level (e.g., via debian/patches). A fix is already available in the community fork "StegHigh" (PR 0000021), which simply replaces the unsafe sprintf with snprintf |
|
|
Same as in 0009503 |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-01-15 11:13 | erikdervishi | New Issue | |
| 2026-01-16 06:17 | kali-bugreport | Note Added: 0021255 | |
| 2026-01-16 10:24 | erikdervishi | Note Added: 0021258 | |
| 2026-01-16 10:36 | kali-bugreport | Note Added: 0021261 |