CVE-2026-42144
Last modified
CVE-2026-42144 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the W*H*D size computation inside _load_pnm() that can bypass the memory allocation guard. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the W*H*D size computation inside _load_pnm() that can bypass the memory allocation guard. A crafted PNM/PGM/PPM file with large dimension values causes the overflow to wrap around, allocating an undersized buffer and potentially triggering a heap buffer overflow. Any application using CImg to load untrusted image files is affected. This issue has been patched via commit 4ca26bc.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-42144?
How severe is CVE-2026-42144?
How do I fix CVE-2026-42144?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42138Dify is an open-source LLM app development platform. Prior t…6.1
- CVE-2026-4214A flaw has been found in D-Link DNS-120, DNR-202L, DNS-315L,…9.8
- CVE-2026-42140PlantUML Macro is a macro for rendering UML diagrams from si…4.4
- CVE-2026-42141Xibo is an open source digital signage platform with a web c…7.7
- CVE-2026-42142TypeBot is a chatbot builder tool. Prior to version 3.17.0, …7.1
- CVE-2026-42143Coolify is an open-source and self-hostable tool for managin…8.8
- CVE-2026-42145Coolify is an open-source and self-hostable tool for managin…3.1
- CVE-2026-42146CImg Library is a C++ library for image processing. Prior to…5.5
- CVE-2026-42147Coolify is an open-source and self-hostable tool for managin…4.9
- CVE-2026-42148Coolify is an open-source and self-hostable tool for managin…3.8
- CVE-2026-4215A security flaw has been discovered in FlowCI flow-core-x up…6.3
- CVE-2026-42150wlc is a Weblate command-line client using Weblate's REST AP…4.8
Are you affected by CVE-2026-42144?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
