Skip to content
Heist/ feed
Back to feed
UnratedFix available

Fix CVE(s): CVE-2026-54058, CVE-2026-59199

Type: advisorySources: OSV

* SECURITY UPDATE: heap out-of-bounds write via paste box coordinates near the signed 32-bit integer limits (ELSCVE-233283) - debian/patches/CVE-2026-59199.patch: compute the paste box dimensions as int64_t in ImagingPaste() and ImagingFill2() in src/libImaging/Paste.c. Adds a regression test in Tests/test_image_paste.py. - CVE-2026-59199 * SECURITY UPDATE: out-of-bounds read when memory-mapping McIdas AREA images with an undersized row stride (ELSCVE-233312) - debian/patches/CVE-2026-54058.patch: raise the row stride to at least one full row of pixels in PyImaging_MapBuffer() in src/map.c. Adds a regression test in Tests/test_file_mcidas.py. - CVE-2026-54058

Products
python-pil, python-pil-doc, python-pil.imagetk, python3-pil, python3-pil.imagetk
Affected versions
Not specified
Fixed versions
5.1.0-1ubuntu0.8+tuxcare.els2
CVEs
CVE-2026-54058, CVE-2026-59199
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 11:43 UTC · Revision 1

Source evidence

Fix CVE(s): CVE-2026-54058, CVE-2026-59199

core-osv · Original source

Published 16 Oct 2026, 15:27 UTC

* SECURITY UPDATE: heap out-of-bounds write via paste box coordinates near the signed 32-bit integer limits (ELSCVE-233283) - debian/patches/CVE-2026-59199.patch: compute the paste box dimensions as int64_t in ImagingPaste() and ImagingFill2() in src/libImaging/Paste.c. Adds a regression test in Tests/test_image_paste.py. - CVE-2026-59199 * SECURITY UPDATE: out-of-bounds read when memory-mapping McIdas AREA images with an undersized row stride (ELSCVE-233312) - debian/patches/CVE-2026-54058.patch: raise the row stride to at least one full row of pixels in PyImaging_MapBuffer() in src/map.c. Adds a regression test in Tests/test_file_mcidas.py. - CVE-2026-54058

osv:CLSA-2026-1792164435

python-pil

Fixed versions: 5.1.0-1ubuntu0.8+tuxcare.els2

python-pil-doc

Fixed versions: 5.1.0-1ubuntu0.8+tuxcare.els2

python-pil.imagetk

Fixed versions: 5.1.0-1ubuntu0.8+tuxcare.els2

python3-pil

Fixed versions: 5.1.0-1ubuntu0.8+tuxcare.els2

python3-pil.imagetk

Fixed versions: 5.1.0-1ubuntu0.8+tuxcare.els2

Complete source record
{
  "id": "c77658d827aefb9cd29d80741283c79271154da79ac5898e7bee4ad07d99419a",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1792164435",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Fix CVE(s): CVE-2026-54058, CVE-2026-59199",
    "summary": "* SECURITY UPDATE: heap out-of-bounds write via paste box coordinates near the signed 32-bit integer limits (ELSCVE-233283) - debian/patches/CVE-2026-59199.patch: compute the paste box dimensions as int64_t in ImagingPaste() and ImagingFill2() in src/libImaging/Paste.c. Adds a regression test in Tests/test_image_paste.py. - CVE-2026-59199 * SECURITY UPDATE: out-of-bounds read when memory-mapping McIdas AREA images with an undersized row stride (ELSCVE-233312) - debian/patches/CVE-2026-54058.patch: raise the row stride to at least one full row of pixels in PyImaging_MapBuffer() in src/map.c. Adds a regression test in Tests/test_file_mcidas.py. - CVE-2026-54058",
    "evidence": "osv:CLSA-2026-1792164435",
    "products": [
      {
        "name": {
          "value": "python-pil",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.1.0-1ubuntu0.8+tuxcare.els2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-pil-doc",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.1.0-1ubuntu0.8+tuxcare.els2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-pil.imagetk",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.1.0-1ubuntu0.8+tuxcare.els2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3-pil",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.1.0-1ubuntu0.8+tuxcare.els2",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python3-pil.imagetk",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.1.0-1ubuntu0.8+tuxcare.els2",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1792164435",
      "aliases": [
        "CLSA-2026-1792164435"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.1.0-1ubuntu0.8+tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "python-pil",
            "purl": "pkg:deb/tuxcare/python-pil?distro=ubuntu-18.04",
            "ecosystem": "TuxCare:Ubuntu:18.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1792164435.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.1.0-1ubuntu0.8+tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "python-pil-doc",
            "purl": "pkg:deb/tuxcare/python-pil-doc?distro=ubuntu-18.04",
            "ecosystem": "TuxCare:Ubuntu:18.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1792164435.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.1.0-1ubuntu0.8+tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "python-pil.imagetk",
            "purl": "pkg:deb/tuxcare/python-pil.imagetk?distro=ubuntu-18.04",
            "ecosystem": "TuxCare:Ubuntu:18.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1792164435.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.1.0-1ubuntu0.8+tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "python3-pil",
            "purl": "pkg:deb/tuxcare/python3-pil?distro=ubuntu-18.04",
            "ecosystem": "TuxCare:Ubuntu:18.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1792164435.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.1.0-1ubuntu0.8+tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "python3-pil.imagetk",
            "purl": "pkg:deb/tuxcare/python3-pil.imagetk?distro=ubuntu-18.04",
            "ecosystem": "TuxCare:Ubuntu:18.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1792164435.json"
          }
        }
      ],
      "modified": "2026-10-26T09:32:04.582147888Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54058",
        "CVE-2026-59199"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/ubuntu18.04els/CLSA-2026-1792164435.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-54058",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-59199"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54058",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-59199",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 449617,
  "published_at": "2026-10-16T15:27:27+00:00"
}