{
  "id": "CVE-2025-65018",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-65018",
  "published_at": "2025-11-24T23:50:18.294Z",
  "title": "LIBPNG is vulnerable to a heap buffer overflow in `png_combine_row` triggered via `png_image_finish_read`",
  "vendor": "pnggroup",
  "product": "libpng",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-11-23T18:34:22Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -1.2,
    "repo": "Neo-Neo6/CVE-2025-65018-Heap-buffer-overflow-in-libpng-ps4-ps5-",
    "source": "github"
  },
  "poc_repo_count": 2,
  "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. From version 1.6.0 to before 1.6.51, there is a heap buffer overflow vulnerability in the libpng simplified API function png_image_finish_read when processing 16-bit interlaced PNGs with 8-bit output format. Attacker-crafted interlaced PNG files cause heap writes beyond allocated buffer bounds. This issue has been patched in version 1.6.51.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [
    {
      "repo": "Neo-Neo6/CVE-2025-65018-Heap-buffer-overflow-in-libpng-ps4-ps5-",
      "url": "https://github.com/Neo-Neo6/CVE-2025-65018-Heap-buffer-overflow-in-libpng-ps4-ps5-",
      "created_at": "2025-11-23T18:34:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 10,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-11-23T18:28:12Z"
    },
    {
      "repo": "bohemian-miser/CVE-2025-65018_Exploit_Challenge",
      "url": "https://github.com/bohemian-miser/CVE-2025-65018_Exploit_Challenge",
      "created_at": "2025-12-09T02:22:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-02-03T23:41:12Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "pnggroup",
        "product": "libpng",
        "ranges": [
          "\u003e= 1.6.0, \u003c 1.6.51"
        ],
        "fixed_in": [
          "1.6.51"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libpng to 1.6.51 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pnggroup/libpng/security/advisories/GHSA-7wv6-48j4-hj3g"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pnggroup/libpng/pull/757"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pnggroup/libpng/commit/16b5e3823918840aae65c0a6da57c78a5a496a4d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pnggroup/libpng/commit/218612ddd6b17944e21eda56caf8b4bf7779d1ea"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
