CVE-2012-0897
MediumPublic exploitStack-based buffer overflow in the JPEG2000 plugin in IrfanView PlugIns before 4.33 allows remote attackers to execute arbitrary code via a JPEG2000 (JP2) file with a crafted Quantization Default (QCD) marker segment.
Published Jan 20, 2012 · Updated Apr 28, 2026
Key Facts
Patch immediately- CVE-2012-0897 is a medium-severity vulnerability (CVSS 6.8 v2) affecting Irfanview.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 52% probability of exploitation in the next 30 days.
- Fixed versions are available, including Irfanview 4.32.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v2
6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
52%
Higher than 98.9% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2012-0897 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Stack-based buffer overflow in the JPEG2000 plugin in IrfanView PlugIns before 4.33 allows remote attackers to execute arbitrary code via a JPEG2000 (JP2) file with a crafted Quantization Default (QCD) marker segment.
Affected Products
86 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| IrfanviewIrfanview | 1.70, 1.75, 1.80, 1.85, 1.90, 1.95, 1.97, 1.98 | 4.32 |
Patched Releases
Irfanview
4.32
Timeline
Publicly disclosed
Jan 20, 2012
Last updated
Apr 28, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- advisory47360
- exploitMSF irfanview_jpeg2000_bof.rb
- exploitExploitDB-19519
- other78333
- otherirfanview-qcd-bo(72398)
FAQ
Common Questions.
Stack-based buffer overflow in the JPEG2000 plugin in IrfanView PlugIns before 4.33 allows remote attackers to execute arbitrary code via a JPEG2000 (JP2) file with a crafted Quantization Default (QCD) marker segment.
Affected: Irfanview versions 1.70, 1.75, 1.80, 1.85, 1.90, 1.95, 1.97, 1.98. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Irfanview 4.32.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2012-0897 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo