Lucene search
K

gif2png 2.5.2 Buffer Overflow

🗓️ 14 Dec 2009 00:00:00Reported by Razuel AkaharnathType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

Convert gif2png program vulnerability, version 2.5.

Code
`DESCRIPTION:  
"The gif2png program converts files from the obsolescent Graphic Interchange  
Format to Portable Network Graphics <http://www.libpng.org/pub/png/>. The  
conversion preserves all graphic information, including transparency,  
perfectly. The gif2png program can even recover data from corrupted GIFs."  
  
homepage: http://catb.org/~esr/gif2png/ <http://catb.org/%7Eesr/gif2png/>  
  
VULNERABILITY:  
gif2png does not perform proper bounds checking on the size of input  
filename. The buffer (1025 in size) is easily overrun with a strcpy  
function.  
  
AFFECTED VERSION:  
latest: 2.5.2  
  
POC:  
$> ./gif2png $(perl -e 'print "A" x 1053')  
  
  
#Razuel  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation