{
  "id": "CVE-2025-66293",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-66293",
  "published_at": "2025-12-03T20:33:57.086Z",
  "title": "LIBPNG has an out-of-bounds read in png_image_read_composite",
  "vendor": "pnggroup",
  "product": "libpng",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-01-22T11:35:46Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 49.6,
    "repo": "stepanpelc/minimal-image-poc",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng's internal state management. Upgrade to libpng 1.6.52 or later.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [
    {
      "repo": "stepanpelc/minimal-image-poc",
      "url": "https://github.com/stepanpelc/minimal-image-poc",
      "created_at": "2026-01-22T11:35:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-04-21T00:17:50Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "pnggroup",
        "product": "libpng",
        "ranges": [
          "\u003c 1.6.52"
        ],
        "fixed_in": [
          "1.6.52"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libpng to 1.6.52 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
