Security mailing lists by PureSourceCode

CVE-2026-112394

MEDIUM 6.3CVSS 4.0

Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates a packed-pixel row size, while the unpackers read separately padded bit planes. A caller can supply a buffer and image dimensions whose accepted size is smaller than the unpacker's actual footprint. This can disclose up to three adjacent heap bytes in output pixels or crash the process. This issue is fixed in version 13.0.0.

Published
19 Oct 2026
Last modified
27 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-126
Also known as
BIT-pillow-2026-112394GHSA-4558-3h8r-v8xpPYSEC-2026-4327
Sources
NVDJSONOSV GHSA-4558-3h8r-v8xpJSONOSV PYSEC-2026-4327JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
< 13.0.0 13.0.0
OSV PyPI pillow < 13.0.0 13.0.0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 19 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.