upload some files to virustotal.com and get some second opinion?
Usually they are false positives, specially when the found problems are vague (like "heuristic" or "gen(eric)")
This is not a virus detection but a vulnerability.
@Thread
CVE-2010-1205 is a vulnerability tracked by mitre as "Buffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in progressive applications, might allow remote attackers to execute arbitrary code via a PNG image that triggers an additional data row."
So the vulnerability is in libpng. Lazarus uses this lib but I think it is linked dynamically, not statically so this indicates to me that you simply have a vulnerable libpng version on your device, i.e. installed through your package manager.
Probably due to the fact that you are using an ancient Ubuntu version (5 years old), as this vulnerability is more than 10 years old this shouldn't happen on newer versions.