{
  "id": "CVE-2025-54874",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-54874",
  "published_at": "2025-08-05T14:33:17.323Z",
  "title": "OpenJPEG allows OOB heap memory write in opj_jp2_read_header",
  "vendor": "uclouvain",
  "product": "openjpeg",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG from 2.5.1 through 2.5.3, a call to opj_jp2_read_header may lead to OOB heap memory write when the data stream p_stream is too short and p_image is not initialized.",
  "cwe": "CWE-457",
  "cpes": [
    "cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.6,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "cyhe50/cve-2025-54874-poc",
      "url": "https://github.com/cyhe50/cve-2025-54874-poc",
      "created_at": "2025-10-19T22:49:53Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 60,
      "suspicious": true,
      "suspicion_reasons": [
        "contains executables (openjpeg-2.5.1/build/bin/opj_compress, openjpeg-2.5.1/build/bin/opj_decompress, openjpeg-2.5.1/build/bin/opj_dump)",
        "large base64 blob in code in openjpeg-2.5.1/.travis.yml"
      ],
      "status": "analyzed",
      "owner_created_at": "2019-01-29T11:11:11Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "uclouvain",
        "product": "openjpeg",
        "ranges": [
          "\u003e=  2.5.1, \u003c= 2.5.3"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/uclouvain/openjpeg/pull/1573"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
