REDHAT-BUG-496887: Integer Overflow

Published Apr 21, 2009
·
Updated

Will Drewry reported an integer overflow flaw in pango's pangoglyphstringsetsize in pango/glyphstring.c:

61 while (newlen > string->space) 62 { 63 if (string->space == 0) 64 string->space = 1; 65 else 66 string->space = 2; 67 68 if (string->space < 0) 69 { 70 gwarning ("glyph string length overflows maximum integer size, truncated"); 71 newlen = string->space = GMAXINT - 8; 72 } 73 } 74 75 string->glyphs = grealloc (string->glyphs, string->space sizeof (PangoGlyphInfo));

string->space is checked against overflow when doubling it, but is not protected against overflow when multiplied by sizeof(PangoGlyphInfo).

Upstream fix: http://github.com/bratsche/pango/commit/4de30e5500eaeb49f4bf0b7a07f718e149a2ed5e

Acknowledgements:

Red Hat would like to thank Will Drewry for reporting this issue.

Affected Software

1 affected component
pango pango

Event History

Apr 21, 2009
Data Sourced
via Red Hat·02:49 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-496887?

REDHAT-BUG-496887 is classified as a moderate severity vulnerability due to the potential for integer overflow.

2

How do I fix REDHAT-BUG-496887?

To fix REDHAT-BUG-496887, you should update to the latest version of Pango that includes the patch for this vulnerability.

3

What systems are affected by REDHAT-BUG-496887?

The vulnerability REDHAT-BUG-496887 affects versions of Pango that are used in various GNOME applications.

4

Is there a workaround for REDHAT-BUG-496887?

There are no well-documented workarounds for REDHAT-BUG-496887; updating to the patched version is recommended.

5

When was REDHAT-BUG-496887 reported?

REDHAT-BUG-496887 was reported on April 14, 2009.

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