ESTsoft Alyac NT header out of bounds read
The antivirus scanner's PE parsing routine validates the DOS header's e_lfanew offset against the file size but allows a value equal to the file size, so the computed NT header pointer lands just past the buffer. A crafted PE file causes an out-of-bounds read that crashes the scanning process, giving a local denial of service.
Originally disclosed on Cisco Talos
A denial of service vulnerability exists in the malware scan functionality of ESTsoft Alyac 2.5.8.645. A specially-crafted PE file can lead to killing target process.
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 bounds check compares the NT header offset against the file size with a strict greater-than test, so an offset equal to the file size passes even though the NT header cannot fit in the remaining bytes.
Impact
A crafted file could crash the malware scanning process, causing a local denial of service; the CVSS vector rates availability high with no confidentiality or integrity impact.
What the attacker needed
Local access to submit a file; user interaction to scan the file
The fix
The offset check should ensure the NT header fits within the file, not merely that the offset is not larger than the file size; the vendor released a patch.
How it was found
- Craft a PE file whose DOS header e_lfanew value equals the total file size.
- Submit the file to the scanner so coen.aym selects the default scan strategy.
- The scanner locates the NT header at the computed offset and reads out of bounds, crashing the scan process.
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.
Antivirus software opens files and reads their structure to decide how to scan them. This scanner trusted a number stored in the file that says where the next header begins, and only checked it was not bigger than the file, not that the header itself would fit. A file that sets that number to exactly the file size makes the scanner read past the end of its buffer and crash.
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.