CVE-2022-34998: JPEGDEC commit be4843c was discovered to contain a global buffer overflow via JPEGDecodeMCU at /src/jpeg.inl.
CVE-2022-34998 is a high-severity flaw (CVSS 7.8) affecting jpegdec. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
JPEGDEC commit be4843c was discovered to contain a global buffer overflow via JPEGDecodeMCU at /src/jpeg.inl.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 73%) |
| CISA exploited list | No |
| Weakness | CWE-120 |
| Published | 2022-08-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-34998?
jpegdec: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-34998 being exploited?
CVE-2022-34998 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-34998 affect?
CVE-2022-34998 affects jpegdec. Severity is high (CVSS 7.8). JPEGDEC commit be4843c was discovered to contain a global buffer overflow via JPEGDecodeMCU at /src/jpeg.inl.
How urgent is CVE-2022-34998?
Priority 39/100. High severity; Public exploit reference
Related CVEs
- CVE-2022-35004 MEDIUM 5.5 DOWNGRADE JPEGDEC commit be4843c was discovered to contain a FPE via TIFFSHORT at /src/jpeg.inl.
- CVE-2022-35003 HIGH 7.8 DOWNGRADE JPEGDEC commit be4843c was discovered to contain a global buffer overflow via ucDitherBuffer at /src/jpeg.inl.
- CVE-2022-35002 MEDIUM 5.5 DOWNGRADE JPEGDEC commit be4843c was discovered to contain a segmentation fault via TIFFSHORT at /src/jpeg.inl.
- CVE-2022-35000 MEDIUM 5.5 DOWNGRADE JPEGDEC commit be4843c was discovered to contain a segmentation fault via fseek at /libio/fseek.c.
- CVE-2022-34999 MEDIUM 5.5 DOWNGRADE JPEGDEC commit be4843c was discovered to contain a FPE via DecodeJPEG at /src/jpeg.inl.