{
  "schema": "varexis-public-evidence-record/0.3",
  "generated_at_utc": "2026-10-11T20:40:40.676Z",
  "record_id": "VXI-EXT-ADVISORY-PILLOW-50447-01-v1",
  "record_kind": "external_reference",
  "title": "Pillow: Trace ImageMath input control before inferring exposure",
  "system": "Pillow",
  "evidence_family": "reviewed_advisory_applicability",
  "index_status": "PUBLIC_SAFE_SOURCE_REVIEW",
  "evidence_state": "PRIMARY_DOCUMENTATION_REVIEW_ONLY",
  "canonical_question": "Does accepting image uploads establish the input conditions of Pillow CVE-2023-50447?",
  "near_questions": [
    "How should an agent review Pillow ImageMath input control?",
    "Do image uploads alone match CVE-2023-50447?",
    "Does the application actually call ImageMath.eval?",
    "Who controls environment argument keys in image evaluation?",
    "Is image decoding the same as expression evaluation?",
    "What does the recorded Pillow 10.2.0 fix address?",
    "Can a Pillow dependency prove the vulnerable API is reachable?",
    "What input mapping matters for this image-library advisory?",
    "Does this patch make arbitrary expressions safe?",
    "Can one ImageMath fix clear all image parsing risks?",
    "What evidence belongs with an image-processing vulnerability claim?",
    "Should an agent trace API usage before reporting exposure?"
  ],
  "supported_claims": [
    {
      "claim": "Pillow's 10.2.0 release notes identify attacker control over environment argument keys passed to ImageMath.eval as the relevant condition for CVE-2023-50447. They describe restrictions added to those keys, and the frozen advisory records 10.2.0 as the fix. Merely accepting image uploads does not show that the application calls this evaluator or lets users choose those keys. Review the called API and input mapping. This historical change is not a general guarantee for untrusted expressions, image parsing or a buyer's processing pipeline.",
      "reliance": "EXTERNAL_ADVISORY_REVIEW_ONLY"
    }
  ],
  "not_demonstrated_claims": [
    "image upload acceptance treated as evaluator exposure",
    "one input restriction treated as general expression safety",
    "image-parser or buyer-pipeline security validated"
  ],
  "public_summary": "Pillow's 10.2.0 release notes identify attacker control over environment argument keys passed to ImageMath.eval as the relevant condition for CVE-2023-50447. They describe restrictions added to those keys, and the frozen advisory records 10.2.0 as the fix. Merely accepting image uploads does not show that the application calls this evaluator or lets users choose those keys. Review the called API and input mapping. This historical change is not a general guarantee for untrusted expressions, image parsing or a buyer's processing pipeline.",
  "related_record_ids": [
    "VXI-EXT-ADVISORY-STARLETTE-47874-01-v1"
  ],
  "source_review": {
    "source_type": "official_external_advisory_review",
    "source_title": "Pillow 10.2.0 release notes: CVE-2023-50447",
    "source_url": "https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html",
    "checked_on": "2026-10-11",
    "candidate_record_id": "VXI-EXT-ADVISORY-PILLOW-50447-01-v1",
    "candidate_record_sha256": "8d5366dad846a65de9d92068b4316e1fb23699a0ad97cbd5ed3749ecd8e03e0b",
    "method": "Primary advisory reviewed alongside hash-verified frozen source projections. Source assertions and discrepancies remain attributed; no deployment was assessed.",
    "deployment_tested_by_varexis": false,
    "frozen_advisory_sources": [
      {
        "dataset_id": "osv-20261008-s2-d17eb238c528",
        "record_id": "VXI-OSV-d1a70537dbacbdb31b287baee8bdfc8a5802d85a-1b12d48956f5",
        "advisory_id": "GHSA-3f63-hfp8-52jq",
        "package": "pillow",
        "ecosystem": "PyPI",
        "captured_on": "2026-10-08",
        "source_pointer": "/affected/0",
        "content_sha256": "eccc4f1e5806ed6bade4898c09e8eeb8dea0567e385939e0594de9435ad191bc",
        "preview_url": "/api/index/advisories?record_id=VXI-OSV-d1a70537dbacbdb31b287baee8bdfc8a5802d85a-1b12d48956f5"
      }
    ],
    "binding_scope": "This snapshot retains the reviewed answer and frozen source identifiers/hashes. Complete affected-package projections are separately retrievable; no deployment assessment is included.",
    "revalidation": "The delivered snapshot preserves the review date shown. Recheck current primary documentation and deployment context before relying on present applicability; payment does not trigger fresh research.",
    "current_lookup": {
      "dataset_id": "osv-canonical-20261013-v1",
      "checked_on": "2026-10-13",
      "withheld_source_record_ids": [],
      "boundary": "Historical catalogue reviews retain the source hashes checked when authored. A current preview, where available, is a separately versioned projection. Withheld bindings are not current retrieval or purchase targets."
    }
  },
  "answer_policy": {
    "classification": "ADVISORY_SOURCE_WITH_APPLICABILITY_BOUNDARIES",
    "bounded_answer": "Pillow's 10.2.0 release notes identify attacker control over environment argument keys passed to ImageMath.eval as the relevant condition for CVE-2023-50447. They describe restrictions added to those keys, and the frozen advisory records 10.2.0 as the fix. Merely accepting image uploads does not show that the application calls this evaluator or lets users choose those keys. Review the called API and input mapping. This historical change is not a general guarantee for untrusted expressions, image parsing or a buyer's processing pipeline.",
    "required_buyer_context": "Resolved Pillow version, actual API calls and control of environment argument keys. No image, expression or customer pipeline was executed.",
    "missing_evidence": "A broader claim needs evidence matching the intended use. Payment does not upgrade the evidence state."
  },
  "private_boundary": "Raw logs, thresholds, private paths, source code, protected mechanisms and reconstruction-level details are excluded from public and paid delivery.",
  "paid_access_note": "The full published answer and boundaries are free. Paid access saves the selected route and source versions, with an unsigned receipt when purchased. Preview coverage before paying. Fresh research, bespoke assessment and protected evidence are excluded.",
  "service_route": {
    "request_guide": "/varexis-index/request.html",
    "request_workflow": "/varexis-index/request-workflow.json",
    "service_id": "single_request",
    "service_routes_url": "/varexis-index/service-routes.json",
    "payment_required": true,
    "availability_endpoint": "/api/index/capabilities",
    "operational_status": "AUTOMATIC_SERVICE_CAPABILITIES_GATED",
    "checkout_url": "/index-access"
  },
  "authority_boundary": "VAREXIS-INDEX informs evidence reliance. It does not provide advice, certification, deployment authority, security assurance, production approval, or guarantee.",
  "human_page": "/varexis-index/catalog.html#pillow-imagemath-input-control-scope",
  "machine_readable_record": "/varexis-index/records/pillow-imagemath-input-control-scope.json"
}
