CVE-2022-27938: stb_image.h (aka the stb image loader) 2.19, as used in libsixel and other products, has a reachable assertion
CVE-2022-27938 is a medium-severity flaw (CVSS 5.5) affecting libsixel, libsixel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
stb_image.h (aka the stb image loader) 2.19, as used in libsixel and other products, has a reachable assertion in stbi__create_png_image_raw.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.6% (top 51%) |
| CISA exploited list | No |
| Weakness | CWE-617 |
| Published | 2022-03-26 |
| 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-27938?
libsixel: upgrade to 1.10.4; libsixel: upgrade to 1.8.7. Exact commands for each OS are on this page.
Is CVE-2022-27938 being exploited?
CVE-2022-27938 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-27938 affect?
CVE-2022-27938 affects libsixel, libsixel. Severity is medium (CVSS 5.5). stb_image.h (aka the stb image loader) 2.19, as used in libsixel and other products, has a reachable assertion in stbi__create_png_image_raw.
How urgent is CVE-2022-27938?
Priority 37/100. Public exploit reference
Related CVEs
- CVE-2026-44637 HIGH 7.1 UPGRADE libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel
- CVE-2026-44636 HIGH 7.4 UPGRADE libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel
- CVE-2026-44638 LOW 2.5 UPGRADE libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel
- CVE-2026-33023 HIGH 7.8 UPGRADE libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel
- CVE-2026-33021 HIGH 7.3 UPGRADE libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel