{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42046 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-42046 is a high-severity vulnerability in cacalabs libcaca, published on 11 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42046 and fix it if it is affected.\n\nWhat it is: CVE-2026-42046 is a high-severity vulnerability in cacalabs libcaca, published on 11 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42046 exists.\n\nAffected product: cacalabs libcaca. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42046/ (Markdown: https://insights.sbomify.com/CVE-2026-42046/index.md)","id":"CVE-2026-42046","markdown":"https://insights.sbomify.com/CVE-2026-42046/index.md","name":"CVE-2026-42046","record":{"aliases":["DEBIAN-CVE-2026-42046","ECHO-a932-eed9-9da1","GHSA-4vvg-vrqv-m56w","MGASA-2026-0171","SUSE-SU-2026:22175-1","SUSE-SU-2026:2394-1","SUSE-SU-2026:2423-1","SUSE-SU-2026:2424-1","UBUNTU-CVE-2026-42046","USN-8318-1","openSUSE-SU-2026:10834-1","openSUSE-SU-2026:21101-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ASCII art library","requires_auth":"none","summary":"An integer overflow in libcaca's canvas import allows attackers to trigger a heap out-of-bounds write via crafted files, potentially leading to code execution.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"libcaca is a colour ASCII art library. In 0.99.beta20 and earlier, an integer overflow vulnerability in libcaca's canvas import functionality allows an attacker to cause a controlled heap out-of-bounds write (heap overflow) by supplying a crafted file in the \"caca\" format. Depending on the build configuration and memory allocator, this may lead to memory corruption or remote code execution. This is the same vulnerability as CVE-2021-3410 but the fix at that time was not fully correct. Commit fb77acff9ba6bb01d53940da34fb10f20b156a23 fixes this vulnerability.","ecosystems":["SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"libcaca: Heap OOB write in canvas import functions caused by int overflow","id":"CVE-2026-42046","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":17,"n_references":3,"next":{"headline":"Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods","id":"CVE-2026-42047"},"packages":[{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["0.99.beta19.git20171003-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:2424-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["0.99.beta19.git20171003-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:2424-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["0.99.beta19.git20171003-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:2424-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["0.99.beta19.git20171003-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:2424-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["0.99.beta20-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:2423-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5-LTSS","fixed":["0.99.beta18-14.15.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSS","source":"SUSE-SU-2026:2394-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["0.99.beta19.git20171003-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:2424-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["0.99.beta19.git20171003-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:2424-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["0.99.beta20-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:2423-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["0.99.beta20-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:22175-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["0.99.beta18-14.15.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2026:2394-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["0.99.beta19.git20171003-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:2424-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["0.99.beta19.git20171003-150200.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:2424-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["0.99.beta20-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:2423-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["0.99.beta20-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/suse/libcaca\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:22175-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["0.99.beta20-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/opensuse/libcaca\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21101-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.99.beta20+git.1776622070.7c8e333-1.1"],"introduced":["0"],"last_affected":[],"package":"libcaca","purl":"pkg:rpm/opensuse/libcaca\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10834-1"}],"prev":{"headline":"LobeHub: Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE)","id":"CVE-2026-42045"},"products":["libcaca"],"published":"2026-05-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["cacalabs"]},"summary":"An integer overflow in libcaca's canvas import allows attackers to trigger a heap out-of-bounds write via crafted files, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-42046/"}