{
  "document": {
    "aggregate_severity": {
      "text": "Low"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      },
      {
        "category": "details",
        "text": "CVE-2025-64505: fix heap buffer over-read vulnerability in png_do_quantize\n  function",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/tuxcare9.6esu/advisories/2025/clsa-2025_1765380269.json"
      },
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els/releases/CLSA-2025:1765380269",
        "url": "https://cve.tuxcare.com/els/releases/CLSA-2025:1765380269"
      }
    ],
    "tracking": {
      "current_release_date": "2025-12-10T15:25:08Z",
      "generator": {
        "date": "2025-12-10T15:25:08Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2025:1765380269",
      "initial_release_date": "2025-12-10T15:25:08Z",
      "revision_history": [
        {
          "date": "2025-12-10T15:25:08Z",
          "number": "1",
          "summary": "Initial version"
        }
      ],
      "status": "final",
      "version": "1"
    },
    "title": "libpng: Fix of CVE-2025-64505"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "AlmaLinux 9.6",
                "product": {
                  "name": "AlmaLinux 9.6",
                  "product_id": "AlmaLinux-9.6",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:almalinux:almalinux:9.6:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "AlmaLinux"
          }
        ],
        "category": "vendor",
        "name": "AlmaLinux OS Foundation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Rocky Linux 9.6",
                "product": {
                  "name": "Rocky Linux 9.6",
                  "product_id": "Rocky Linux-9.6",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:resf:rocky_linux:9.6:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Rocky Linux"
          }
        ],
        "category": "vendor",
        "name": "Rocky Linux"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                "product": {
                  "name": "libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                  "product_id": "libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libpng-tools@1.6.37-12.el9.tuxcare.els1?arch=x86_64&epoch=2"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                "product": {
                  "name": "libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                  "product_id": "libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libpng@1.6.37-12.el9.tuxcare.els1?arch=x86_64&epoch=2"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                "product": {
                  "name": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                  "product_id": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libpng-devel@1.6.37-12.el9.tuxcare.els1?arch=x86_64&epoch=2"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                "product": {
                  "name": "libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                  "product_id": "libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libpng-static@1.6.37-12.el9.tuxcare.els1?arch=x86_64&epoch=2"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
                "product": {
                  "name": "libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
                  "product_id": "libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libpng@1.6.37-12.el9.tuxcare.els1?arch=i686&epoch=2"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
                "product": {
                  "name": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
                  "product_id": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libpng-devel@1.6.37-12.el9.tuxcare.els1?arch=i686&epoch=2"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-2:1.6.37-12.el9.tuxcare.els1.i686 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.i686"
        },
        "product_reference": "libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686"
        },
        "product_reference": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64 as a component of AlmaLinux 9.6",
          "product_id": "AlmaLinux-9.6:libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "Rocky Linux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-2:1.6.37-12.el9.tuxcare.els1.i686 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.i686"
        },
        "product_reference": "libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
        "relates_to_product_reference": "Rocky Linux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "Rocky Linux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686"
        },
        "product_reference": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
        "relates_to_product_reference": "Rocky Linux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "Rocky Linux-9.6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64 as a component of Rocky Linux 9.6",
          "product_id": "Rocky Linux-9.6:libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "Rocky Linux-9.6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2025-64505",
      "cwe": {
        "id": "CWE-125",
        "name": "Out-of-bounds Read"
      },
      "notes": [
        {
          "category": "description",
          "text": "LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to version 1.6.51, a heap buffer over-read vulnerability exists in libpng's png_do_quantize function when processing PNG files with malformed palette indices. The vulnerability occurs when palette_lookup array bounds are not validated against externally-supplied image data, allowing an attacker to craft a PNG file with out-of-range palette indices that trigger out-of-bounds memory access. This issue has been patched in version 1.6.51.",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "AlmaLinux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
          "AlmaLinux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
          "AlmaLinux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
          "AlmaLinux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
          "AlmaLinux-9.6:libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
          "AlmaLinux-9.6:libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64",
          "Rocky Linux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
          "Rocky Linux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
          "Rocky Linux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
          "Rocky Linux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
          "Rocky Linux-9.6:libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
          "Rocky Linux-9.6:libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2025-64505"
        },
        {
          "category": "external",
          "summary": "https://github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37",
          "url": "https://github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37"
        },
        {
          "category": "external",
          "summary": "https://github.com/pnggroup/libpng/pull/748",
          "url": "https://github.com/pnggroup/libpng/pull/748"
        },
        {
          "category": "external",
          "summary": "https://github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42",
          "url": "https://github.com/pnggroup/libpng/security/advisories/GHSA-4952-h5wq-4m42"
        }
      ],
      "release_date": "2025-11-25T00:15:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2025-12-10T15:24:31.354502Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2025:1765380269",
          "product_ids": [
            "AlmaLinux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
            "AlmaLinux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
            "AlmaLinux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
            "AlmaLinux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
            "AlmaLinux-9.6:libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
            "AlmaLinux-9.6:libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.i686",
            "Rocky Linux-9.6:libpng-2:1.6.37-12.el9.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.i686",
            "Rocky Linux-9.6:libpng-devel-2:1.6.37-12.el9.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:libpng-static-2:1.6.37-12.el9.tuxcare.els1.x86_64",
            "Rocky Linux-9.6:libpng-tools-2:1.6.37-12.el9.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2025:1765380269"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ]
    }
  ]
}