REDHAT-BUG-526924: Integer Overflow

Published Oct 2, 2009
·
Updated

Ludwig Nussel reported an integer overflow in poppler's createsurfacefromthumbnaildata() function. cairopixels buffer is allocated as:

cairopixels = (guchar )gmalloc (4 width height);

http://cgit.freedesktop.org/poppler/poppler/tree/glib/poppler-page.cc#n615

where width / height is read from PDF file. Some validation of the values is done in Page::loadThumb(), but it is not sufficient to prevent the overflow:

if (width > INTMAX / 3 / height)

http://cgit.freedesktop.org/poppler/poppler/tree/poppler/Page.cc#n547

This code does not exist in poppler as shipped in EL5, nor it is part of xpdf.

Affected Software

1 affected component
Poppler Poppler

Event History

Oct 2, 2009
Data Sourced
via Red Hat·02:42 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-526924?

The severity of REDHAT-BUG-526924 is high due to the potential for an integer overflow leading to memory corruption.

2

How do I fix REDHAT-BUG-526924?

To fix REDHAT-BUG-526924, update your Poppler package to a version that includes the patch for the integer overflow issue.

3

Which software is affected by REDHAT-BUG-526924?

The affected software for REDHAT-BUG-526924 is Poppler, specifically in its create_surface_from_thumbnail_data() function.

4

Can REDHAT-BUG-526924 lead to security vulnerabilities?

Yes, REDHAT-BUG-526924 can lead to security vulnerabilities by allowing potential exploitation through memory corruption.

5

Is there a workaround for REDHAT-BUG-526924 until I can apply a patch?

A potential workaround for REDHAT-BUG-526924 is to limit the input data size to prevent triggering the integer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203