gdImageClone in gd.c in libgd 2.1.0-rc2 through 2.2.5 has a NULL pointer dereference allowing attackers to crash an application via a specific function call sequence. Only affects PHP when linked with an external libgd (not bundled).
The product dereferences a pointer that it expects to be valid but is NULL.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1599032 | issue tracking permissions required |
https://github.com/libgd/libgd/pull/580 | third party advisory |
https://github.com/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2020/02/msg00014.html | third party advisory mailing list |
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00020.html | third party advisory vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/ | vendor advisory |
https://usn.ubuntu.com/4316-2/ | third party advisory vendor advisory |
https://usn.ubuntu.com/4316-1/ | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html | mailing list |