{
  "published": "2026-12-02T12:28:51Z",
  "modified": "2026-12-05T13:04:10Z",
  "schema_version": "1.7.5",
  "id": "CGA-ph27-h6x6-h8xr",
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [
    "CVE-2026-137063",
    "GHSA-4g5v-hgh8-49r5"
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137063.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137063"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/leptonica-1.79.0-through-1.87.0-heap-buffer-overflow-via-l-byteainitfromstream"
    },
    {
      "type": "FIX",
      "url": "https://github.com/DanBloomberg/leptonica/commit/c493a776e6bc6cfb1d8d15152a0b74f3d15b33fd"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/DanBloomberg/leptonica"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/DanBloomberg/leptonica/blob/1.87.0/src/bytearray.c#L177-L197"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Chainguard",
        "name": "leptonica-dev",
        "purl": "pkg:apk/chainguard/leptonica-dev?arch=aarch64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "database_specific": {
        "chainguard": {
          "applies_to_subpackages": false
        }
      },
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "leptonica-dev",
            "component_version": "1.87.0-r3",
            "component_type": "apk",
            "component_location": "/.PKGINFO",
            "component_purl": "pkg:apk/leptonica-dev@1.87.0-r3",
            "latest_event_status": "pending_upstream_fix",
            "latest_event_timestamp": "2026-12-05T13:04:10Z"
          }
        ]
      }
    },
    {
      "package": {
        "ecosystem": "Wolfi",
        "name": "leptonica-dev",
        "purl": "pkg:apk/wolfi/leptonica-dev?arch=aarch64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "database_specific": {
        "chainguard": {
          "applies_to_subpackages": false
        }
      },
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "leptonica-dev",
            "component_version": "1.87.0-r3",
            "component_type": "apk",
            "component_location": "/.PKGINFO",
            "component_purl": "pkg:apk/leptonica-dev@1.87.0-r3",
            "latest_event_status": "pending_upstream_fix",
            "latest_event_timestamp": "2026-12-05T13:04:10Z"
          }
        ]
      }
    }
  ]
}
