{"items":[{"id":"NVI-00010694","kind":"vulnerability","title":"Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-4558-3h8r-v8xp","CVE-2026-112394"],"plain_summary":"GitHub lists this reviewed advisory for Pillow. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-96d422386e51a56e3e6f231ce5de863b"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-26T21:01:19.090Z","value":"8.2 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-6f57378650976f686a01d3425c571688"},{"kind":"CVSS","as_of":"2026-10-26T21:01:19.090Z","value":"6.3 MEDIUM (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-6f57378650976f686a01d3425c571688"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.555%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.46308. Missing scores are unknown.","source_id":"sr-96d422386e51a56e3e6f231ce5de863b"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-aad5c8e99739ba5f95fae535fa6f953e","url":"https://github.com/advisories/GHSA-4558-3h8r-v8xp","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-4558-3h8r-v8xp","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:30.906Z"},{"id":"sr-6f57378650976f686a01d3425c571688","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112394","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-112394","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-03T09:58:37.778Z"},{"id":"sr-96d422386e51a56e3e6f231ce5de863b","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-112394","publisher":"FIRST EPSS","observed_at":"2026-10-31T23:13:27.688Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-aad5c8e99739ba5f95fae535fa6f953e"],"technology":"Pillow","known_exclusions":[],"conditions_summary":"### Summary\n\nOn `main`, even with the guard in #9725, it's possible to have these decoders read 1 to 3 bytes past the end of the passed buffer with a suitable width/height.\n\n### Details\n\n`ImagingRawDecode` and the `P;2L` / `P;4L` unpackers disagree about how many bytes a line of data occupies.\n\nThe raw decoder derives the line size from the bits per pixel\n\n```c\nstate->bytes = (state->xsize * state->bits + 7) / 8;\n```\n\nand uses it both for the bounds check and to advance to the next line. For `P;2L` and `P;4L`, `bits` is 2 and 4 respectively.\n\nBut these two rawmodes are not packed pixels but 2 or 4 *bit planes*, each padded to a whole number of bytes. `unpackP2L` computes `s = (pixels + 7) / 8` and reads plane *k* at offset `k * s`, and `unpackP4L` does the same across four planes. Their real footprint is therefore `planes * ((xsize + 7) / 8)`.\n\nFor some widths, padding each plane separately makes this footprint larger than `state->bytes`. For example, at width 1, the decoder accounts for one byte, while the unpackers read two or four bytes. The decoder accepts data that is too short for the last line and on the other hand advances to subsequent lines by less than a line, so every l","public_affected_ranges":["<= 12.3.0"]}],"null_published_at":"2026-11-07T07:07:42.492Z","source_updated_at":"2026-10-21T20:00:36.000Z","source_disclosed_at":"2026-10-21T20:00:32.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T22:07:30.906Z"},{"id":"NVI-00010694","kind":"vulnerability","title":"Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-4558-3h8r-v8xp","CVE-2026-112394"],"plain_summary":"GitHub lists this reviewed advisory for Pillow. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-96d422386e51a56e3e6f231ce5de863b"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.555%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.46308. Missing scores are unknown.","source_id":"sr-96d422386e51a56e3e6f231ce5de863b"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-aad5c8e99739ba5f95fae535fa6f953e","url":"https://github.com/advisories/GHSA-4558-3h8r-v8xp","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-4558-3h8r-v8xp","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:30.906Z"},{"id":"sr-96d422386e51a56e3e6f231ce5de863b","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-112394","publisher":"FIRST EPSS","observed_at":"2026-10-31T23:13:27.688Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-aad5c8e99739ba5f95fae535fa6f953e"],"technology":"Pillow","known_exclusions":[],"conditions_summary":"### Summary\n\nOn `main`, even with the guard in #9725, it's possible to have these decoders read 1 to 3 bytes past the end of the passed buffer with a suitable width/height.\n\n### Details\n\n`ImagingRawDecode` and the `P;2L` / `P;4L` unpackers disagree about how many bytes a line of data occupies.\n\nThe raw decoder derives the line size from the bits per pixel\n\n```c\nstate->bytes = (state->xsize * state->bits + 7) / 8;\n```\n\nand uses it both for the bounds check and to advance to the next line. For `P;2L` and `P;4L`, `bits` is 2 and 4 respectively.\n\nBut these two rawmodes are not packed pixels but 2 or 4 *bit planes*, each padded to a whole number of bytes. `unpackP2L` computes `s = (pixels + 7) / 8` and reads plane *k* at offset `k * s`, and `unpackP4L` does the same across four planes. Their real footprint is therefore `planes * ((xsize + 7) / 8)`.\n\nFor some widths, padding each plane separately makes this footprint larger than `state->bytes`. For example, at width 1, the decoder accounts for one byte, while the unpackers read two or four bytes. The decoder accepts data that is too short for the last line and on the other hand advances to subsequent lines by less than a line, so every l","public_affected_ranges":["<= 12.3.0"]}],"null_published_at":"2026-11-05T03:53:06.257Z","source_updated_at":"2026-10-21T20:00:36.000Z","source_disclosed_at":"2026-10-21T20:00:32.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T22:07:30.906Z"},{"id":"NVI-00010694","kind":"vulnerability","title":"Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-4558-3h8r-v8xp","CVE-2026-112394"],"plain_summary":"GitHub lists this reviewed advisory for Pillow. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-aad5c8e99739ba5f95fae535fa6f953e"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-aad5c8e99739ba5f95fae535fa6f953e","url":"https://github.com/advisories/GHSA-4558-3h8r-v8xp","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-4558-3h8r-v8xp","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:30.906Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-aad5c8e99739ba5f95fae535fa6f953e"],"technology":"Pillow","known_exclusions":[],"conditions_summary":"### Summary\n\nOn `main`, even with the guard in #9725, it's possible to have these decoders read 1 to 3 bytes past the end of the passed buffer with a suitable width/height.\n\n### Details\n\n`ImagingRawDecode` and the `P;2L` / `P;4L` unpackers disagree about how many bytes a line of data occupies.\n\nThe raw decoder derives the line size from the bits per pixel\n\n```c\nstate->bytes = (state->xsize * state->bits + 7) / 8;\n```\n\nand uses it both for the bounds check and to advance to the next line. For `P;2L` and `P;4L`, `bits` is 2 and 4 respectively.\n\nBut these two rawmodes are not packed pixels but 2 or 4 *bit planes*, each padded to a whole number of bytes. `unpackP2L` computes `s = (pixels + 7) / 8` and reads plane *k* at offset `k * s`, and `unpackP4L` does the same across four planes. Their real footprint is therefore `planes * ((xsize + 7) / 8)`.\n\nFor some widths, padding each plane separately makes this footprint larger than `state->bytes`. For example, at width 1, the decoder accounts for one byte, while the unpackers read two or four bytes. The decoder accepts data that is too short for the last line and on the other hand advances to subsequent lines by less than a line, so every l","public_affected_ranges":["<= 12.3.0"]}],"null_published_at":"2026-10-31T22:27:12.375Z","source_updated_at":"2026-10-21T20:00:36.000Z","source_disclosed_at":"2026-10-21T20:00:32.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T22:07:30.906Z"}],"next_cursor":null,"snapshot_revision":"42594"}