CVE-2007-1942

FastStone Image Viewer 2.9 - Denial of Service and Possible Remote Code Execution via Crafted BMP Image

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-1942. PoCs published by Ivan Fratric.

AI-analyzed exploit summary This exploit generates malformed BMP files to trigger denial-of-service conditions in FastStone Image Viewer by exploiting integer overflows and buffer overflows in palette and image dimension handling. It includes multiple test cases for different overflow scenarios.

Description

Integer overflow in FastStone Image Viewer 2.9 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via a crafted BMP image, as demonstrated by wh3intof.bmp and wh4intof.bmp.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Ivan Fratric · cdoswindows
https://www.exploit-db.com/exploits/29816

This exploit generates malformed BMP files to trigger denial-of-service conditions in FastStone Image Viewer by exploiting integer overflows and buffer overflows in palette and image dimension handling. It includes multiple test cases for different overflow scenarios.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: FastStone Image Viewer 2.9 and 3.6
No auth needed
Prerequisites: Ability to deliver malformed BMP files to the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/23312
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/464726/100/0/threaded
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24784
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/2558
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/34664

Scores

EPSS 0.0908
EPSS Percentile 94.6%

Details

Status published
Products (1)
faststone/image_viewer 2.9
Published Apr 11, 2007
Tracked Since Feb 18, 2026