php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30718 the libgd shipped with PHP needs to be updated
Submitted: 2004-11-08 13:06 UTC Modified: 2004-11-08 13:09 UTC
From: hunter at comsys dot com dot ua Assigned:
Status: Not a bug Package: GD related
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
39 - 18 = ?
Subscribe to this entry?

 
 [2004-11-08 13:06 UTC] hunter at comsys dot com dot ua
Description:
------------
Integer overflow in GD Graphics Library (libgd) 2.0.28, and possibly other versions, allows remote attackers to cause a denial of service and possibly execute arbitrary code via PNG image files with large image rows values that lead to a heap-based buffer overflow in the gdImageCreateFromPngCtx function. 

The libgd library shipped with PHP is vulnerable.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-08 13:09 UTC] derick@php.net
This is not true. The integer overflow is not possible in PHP as we use a different function to allocate memory which checks for those overflows.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 11:01:32 2024 UTC