Heap-based buffer overflow in gimp (Alpine package)



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2011-2896
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
gimp (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU32839

Risk: Medium

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2011-2896

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in The LZW decompressor in the LWZReadByte function in giftoppm.c in the David Koblas GIF decoder in PBMPLUS, as used in the gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7, the LZWReadByte function in plug-ins/common/file-gif-load.c in GIMP 2.6.11 and earlier, the LZWReadByte function in img/gifread.c in XPCE in SWI-Prolog 5.10.4 and earlier, and other products, does not properly handle code words that are absent from the decompression table when encountered, which. A remote attacker can use a crafted compressed stream to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

gimp (Alpine package): 2.6.11-r0 - 2.6.11-r1

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=ccfb2bd320e6b91399acf24f713f4b8a67cbc6fe
https://git.alpinelinux.org/aports/commit/?id=cbe82163af202f431645f05e177fc0af6499159b
https://git.alpinelinux.org/aports/commit/?id=5b518a6de8c9465cfb2b049318f7335541997931
https://git.alpinelinux.org/aports/commit/?id=b55d8c5bb2959583afa2186c8a6c00805d146ef9
https://git.alpinelinux.org/aports/commit/?id=cf120983c4afc050bba7d2ed16a55204e78cc5a0
https://git.alpinelinux.org/aports/commit/?id=82c89b6953e72f3652e3610ee22f7965e667cacd


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###