CVE-2018-13785
6.5 MEDIUMIn libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may trigger an integer overflow a...
Published: 2018-07-09 · Last updated: 2026-05-29
Severity and scoring
- CVSS
- 6.5 MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CWE
- CWE-190, CWE-369
Affected products
| Vendor | Product |
|---|---|
| canonical | enterprise_linux_desktop, enterprise_linux_server, enterprise_linux_workstation |
| libpng | enterprise_linux_desktop, enterprise_linux_server, enterprise_linux_workstation |
| oracle | enterprise_linux_desktop, enterprise_linux_server, enterprise_linux_workstation |
| redhat | enterprise_linux_desktop, enterprise_linux_server, enterprise_linux_workstation |
Description
In libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may trigger an integer overflow and resultant divide-by-zero while processing a crafted PNG file, leading to a denial of service.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2018-13785
- [Patch]http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- [Other]http://www.securityfocus.com/bid/105599
- [Other]http://www.securitytracker.com/id/1041889
- [Other]https://access.redhat.com/errata/RHSA-2018:3000
- [Other]https://access.redhat.com/errata/RHSA-2018:3001
- [Other]https://access.redhat.com/errata/RHSA-2018:3002
- [Other]https://access.redhat.com/errata/RHSA-2018:3003
- [Other]https://access.redhat.com/errata/RHSA-2018:3007
- [Other]https://access.redhat.com/errata/RHSA-2018:3008
- [Other]https://access.redhat.com/errata/RHSA-2018:3533
- [Other]https://access.redhat.com/errata/RHSA-2018:3534
- [Other]https://access.redhat.com/errata/RHSA-2018:3671
- [Other]https://access.redhat.com/errata/RHSA-2018:3672
- [Other]https://access.redhat.com/errata/RHSA-2018:3779
- [Other]https://access.redhat.com/errata/RHSA-2018:3852
- [Patch]https://github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2
- [Other]https://security.gentoo.org/glsa/201908-10
- [Other]https://security.netapp.com/advisory/ntap-20181018-0001/
- [Other]https://sourceforge.net/p/libpng/bugs/278/
- [Other]https://usn.ubuntu.com/3712-1/
- [Patch]http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- [Other]http://www.securityfocus.com/bid/105599
- [Other]http://www.securitytracker.com/id/1041889
- [Other]https://access.redhat.com/errata/RHSA-2018:3000
- [Other]https://access.redhat.com/errata/RHSA-2018:3001
- [Other]https://access.redhat.com/errata/RHSA-2018:3002
- [Other]https://access.redhat.com/errata/RHSA-2018:3003
- [Other]https://access.redhat.com/errata/RHSA-2018:3007
- [Other]https://access.redhat.com/errata/RHSA-2018:3008
- [Other]https://access.redhat.com/errata/RHSA-2018:3533
- [Other]https://access.redhat.com/errata/RHSA-2018:3534
- [Other]https://access.redhat.com/errata/RHSA-2018:3671
- [Other]https://access.redhat.com/errata/RHSA-2018:3672
- [Other]https://access.redhat.com/errata/RHSA-2018:3779
- [Other]https://access.redhat.com/errata/RHSA-2018:3852
- [Patch]https://github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2
- [Other]https://security.gentoo.org/glsa/201908-10
- [Other]https://security.netapp.com/advisory/ntap-20181018-0001/
- [Other]https://sourceforge.net/p/libpng/bugs/278/
- [Other]https://usn.ubuntu.com/3712-1/
Related CVEs
Same vendor
- CVE-2026-1767 — A flaw was found in the GNOME localsearch (previously known as tracker-miners) MP3 Extractor `tracker-extract-mp3` component (5.6 MEDIUM)
- CVE-2026-1766 — A flaw was found in GNOME localsearch (previously known as tracker-miners) MP3 Extractor, specifically within the tracker-extract-mp3 com... (5.6 MEDIUM)
- CVE-2026-35273 — Vulnerability in the PeopleSoft Enterprise PeopleTools product of Oracle PeopleSoft (component: Updates Environment Management) (9.8 CRITICAL)
- CVE-2026-11793 — A stack buffer overflow flaw was found in 389 Directory Server (4.9 MEDIUM)
- CVE-2026-11790 — A flaw was found in 389 Directory Server (4.9 MEDIUM)
Same CWE
- CVE-2026-10649 — A flaw was found in Pacemaker (8.6 HIGH)
- CVE-2026-53705 — A flaw was found in GStreamer's WavPack audio decoder in gst-plugins-good (7.6 HIGH)
- CVE-2026-52722 — A signed integer overflow vulnerability was found in GStreamer's VMnc decoder (7.1 HIGH)
- CVE-2025-55647 — An Out-of-Memory in the mp4_mux_cenc_insert_pssh function (filters/mux_isom.c) of GPAC MP4Box v2.4 allows attackers to cause a Denial of ... (5.5 MEDIUM)
- CVE-2025-55642 — GPAC MP4Box v2.4 was discovered to contain a floating point exception in the avidmx_process function (isomedia/isom_write.c) (6.5 MEDIUM)