CVE-2022-31796: jpeg libjpeg Out-of-bounds Read
Vulnerability summary
CVE-2022-31796 is a medium (CVSS 6.5) Out-of-bounds Read vulnerability in jpeg libjpeg. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 62.1% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 29-05-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
libjpeg 1.63 has a heap-based buffer over-read in HierarchicalBitmapRequester::FetchRegion in hierarchicalbitmaprequester.cpp because the MCU size can be different between allocation and use.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.94%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.94% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- libjpeg< 0.0~git20220615.842c7ba-1
Jpeg1 product
- libjpeg1.63
Ubuntu1 product
- libjpegAll versions (No fix recorded)
3 vendors · 3 products
References
5 links- github.com/thorfdbg/libjpeg/commit/187035b9726710b4fe11d565c7808975c930895dX Refsource MISCPatchThird Party Advisory