ubuntu-cve-2025-66293
Vulnerability from osv_ubuntu
Published
2025-12-03 21:15
Modified
2026-04-22 07:56
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libpng16-16",
            "binary_version": "1.6.20-2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libpng16-devtools",
            "binary_version": "1.6.20-2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libpng16-tools",
            "binary_version": "1.6.20-2ubuntu0.1~esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "libpng1.6",
        "purl": "pkg:deb/ubuntu/libpng1.6@1.6.20-2ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.20-2ubuntu0.1~esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.20-2",
        "1.6.20-2ubuntu0.1~esm1",
        "1.6.20-2ubuntu0.1~esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libpng-tools",
            "binary_version": "1.6.34-1ubuntu0.18.04.2+esm2"
          },
          {
            "binary_name": "libpng16-16",
            "binary_version": "1.6.34-1ubuntu0.18.04.2+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "libpng1.6",
        "purl": "pkg:deb/ubuntu/libpng1.6@1.6.34-1ubuntu0.18.04.2+esm2?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.34-1ubuntu0.18.04.2+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.34-1",
        "1.6.34-1ubuntu0.18.04.1",
        "1.6.34-1ubuntu0.18.04.2",
        "1.6.34-1ubuntu0.18.04.2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libpng-tools",
            "binary_version": "1.6.37-2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libpng16-16",
            "binary_version": "1.6.37-2ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "libpng1.6",
        "purl": "pkg:deb/ubuntu/libpng1.6@1.6.37-2ubuntu0.1~esm2?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.37-2ubuntu0.1~esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.37-1",
        "1.6.37-2",
        "1.6.37-2ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libpng-tools",
            "binary_version": "1.6.37-3ubuntu0.3"
          },
          {
            "binary_name": "libpng16-16",
            "binary_version": "1.6.37-3ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "libpng1.6",
        "purl": "pkg:deb/ubuntu/libpng1.6@1.6.37-3ubuntu0.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.37-3ubuntu0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.37-3build4",
        "1.6.37-3build5",
        "1.6.37-3ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libpng-tools",
            "binary_version": "1.6.43-5ubuntu0.3"
          },
          {
            "binary_name": "libpng16-16t64",
            "binary_version": "1.6.43-5ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "libpng1.6",
        "purl": "pkg:deb/ubuntu/libpng1.6@1.6.43-5ubuntu0.3?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.43-5ubuntu0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.40-1",
        "1.6.40-2",
        "1.6.40-3",
        "1.6.42-1",
        "1.6.43-1",
        "1.6.43-3",
        "1.6.43-5build1",
        "1.6.43-5ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libpng-tools",
            "binary_version": "1.6.50-1ubuntu0.3"
          },
          {
            "binary_name": "libpng16-16t64",
            "binary_version": "1.6.50-1ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "libpng1.6",
        "purl": "pkg:deb/ubuntu/libpng1.6@1.6.50-1ubuntu0.3?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.50-1ubuntu0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.47-1.1",
        "1.6.48-1",
        "1.6.49-1~exp1",
        "1.6.50-1~exp1",
        "1.6.50-1",
        "1.6.50-1ubuntu0.1"
      ]
    }
  ],
  "aliases": [],
  "details": "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\u0027s 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\u0027s internal state management. Upgrade to libpng 1.6.52 or later.",
  "id": "UBUNTU-CVE-2025-66293",
  "modified": "2026-04-22T07:56:56Z",
  "published": "2025-12-03T21:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-66293"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-66293"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2025/12/03/6"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2025/12/03/7"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2025/12/03/8"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7963-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8035-1"
    }
  ],
  "related": [
    "USN-7963-1",
    "USN-8035-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-66293"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…