{"answers":{"affected":"1 open source package ship an affected version, including Pillow.","exploited":"There is no known exploitation of CVE-2026-128067 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls TiffImagePlugin._save or ImagingLibTiffEncode. Many projects that include it are not exposed.","fix":"Upgrade Pillow to 13.0.0 or later.","what":"CVE-2026-128067 is a high-severity memory corruption vulnerability in python-pillow Pillow, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-128067 and fix it if it is affected.\n\nWhat it is: CVE-2026-128067 is a high-severity memory corruption vulnerability in python-pillow Pillow, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-128067 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls TiffImagePlugin._save or ImagingLibTiffEncode. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- Pillow (PyPI): affected all versions; fixed in 13.0.0\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.\n   If an affected version is present, also search the code for calls to TiffImagePlugin._save or ImagingLibTiffEncode and report whether any exist.\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-128067/ (Markdown: https://insights.sbomify.com/CVE-2026-128067/index.md)","id":"CVE-2026-128067","markdown":"https://insights.sbomify.com/CVE-2026-128067/index.md","name":"CVE-2026-128067","record":{"aliases":["GHSA-xcvg-w56q-r89m","UBUNTU-CVE-2026-128067"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python imaging library","requires_auth":"none","requires_specific_call":true,"summary":"Attacker-controlled image geometry tags can make Pillow save compressed TIFFs with libtiff read heap memory or crash; apps saving untrusted images should care.","user_interaction":"not_required","vuln_class":"memory_corruption","vulnerable_functions":["TiffImagePlugin._save","ImagingLibTiffEncode"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Pillow is a Python imaging library. From 2.3.0 through 12.3.0, Pillow applications that save compressed TIFF images through libtiff can pass attacker-controlled image geometry tags to the encoder while allocating its row buffer from the actual image dimensions. The affected TiffImagePlugin._save path allows ImageWidth, ImageLength, or SamplesPerPixel from exif=, tiffinfo=, or a source TIFF IFD to make libtiff consume a larger scanline than the buffer supplied by ImagingLibTiffEncode. This can read heap memory into the generated TIFF or crash the process. When TIFF Predictor 2 is enabled, libtiff can rewrite the oversized scanline in place and corrupt memory beyond the buffer. A carried-over PlanarConfiguration value of 2 instead makes libtiff use a shorter scanline and can produce an undecodable output file, but is not established to cause the out-of-bounds access. This issue is fixed in version 13.0.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size","id":"CVE-2026-128067","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":1,"n_references":4,"n_vendor_status":1,"next":{"headline":"rails-html-sanitizer: Possible regular expression denial of service with certain configurations","id":"CVE-2026-128068"},"nickname":null,"packages":[{"ecosystem":"PyPI","fixed":["13.0.0"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"Pillow","purl":"pkg:pypi/pillow","purl_source":"derived","scope":"upstream","source":"GHSA-xcvg-w56q-r89m"}],"prev":{"headline":"Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data","id":"CVE-2026-128066"},"products":["Pillow"],"published":"2026-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-13","vendor_status":[{"n_packages":1,"name":"Upstream","packages":[{"fixed":["13.0.0"],"name":"Pillow","purl":"pkg:pypi/pillow","sources":["GHSA-xcvg-w56q-r89m"],"status":"fixed"}],"release":null,"scope":"upstream","status":"fixed","statuses":{"fixed":1},"vendor":null}],"vendors":["python-pillow"]},"summary":"Attacker-controlled image geometry tags can make Pillow save compressed TIFFs with libtiff read heap memory or crash; apps saving untrusted images should care.","url":"https://insights.sbomify.com/CVE-2026-128067/"}