Recursive stack overflow in jpeg parsing code
Bug #304017 reported by
Scott Kitterman
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamav (Ubuntu) |
Fix Released
|
High
|
Scott Kitterman | ||
Dapper |
Fix Released
|
Undecided
|
Unassigned | ||
Gutsy |
Won't Fix
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
High
|
Scott Kitterman | ||
Jaunty |
Fix Released
|
High
|
Scott Kitterman |
Bug Description
Binary package hint: clamav
There is a recursive stack overflow in clamav 0.93.3 and 0.94 (and probably
older versions) in the jpeg parsing code.
it scan's the jpeg file, and if there is a thumbnail, it'll scan that too. the
thumbnail itself is just another jpeg
file and the same jpeg scanning function gets called without checking any kind
of recurising limit. this can easely
lead to a recurisive stack overflow. the vulnerable code looks like:
clamav-
int cli_check_
Fixed upstream in 0.94.2
To post a comment you must log in.
There is no CVE. Launchpad is being difficult and won't let me link the upstream bug without doing additional paperwork, so here it is:
https:/ /wwws.clamav. net/bugzilla/ show_bug. cgi?id= 1266