CVE-2018-13785
Published: 9 July 2018
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.
Notes
Author | Note |
---|---|
leosilva | could not reproduce with xenial version also xenial version hasn't the code affected. From the comments, it was tested in a xenial release, but bug was found using a different version from git/upstream. |
Priority
Status
Package | Release | Status |
---|---|---|
libpng Launchpad, Ubuntu, Debian |
upstream |
Needs triage
|
trusty |
Not vulnerable
(code not present)
|
|
xenial |
Not vulnerable
(code not present)
|
|
artful |
Does not exist
|
|
bionic |
Does not exist
|
|
libpng1.6 Launchpad, Ubuntu, Debian |
upstream |
Released
(1.6.34-2)
|
trusty |
Does not exist
|
|
xenial |
Not vulnerable
|
|
artful |
Released
(1.6.34-1ubuntu0.17.10.1)
|
|
bionic |
Released
(1.6.34-1ubuntu0.18.04.1)
|
|
Patches: other: https://github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |