CWE
190
Advisory Published
Updated

REDHAT-BUG-496887: Integer Overflow

First published: Tue Apr 21 2009(Updated: )

Will Drewry reported an integer overflow flaw in pango's pango_glyph_string_set_size in pango/glyphstring.c: 61 while (new_len &gt; string-&gt;space) 62 { 63 if (string-&gt;space == 0) 64 string-&gt;space = 1; 65 else 66 string-&gt;space *= 2; 67 68 if (string-&gt;space &lt; 0) 69 { 70 g_warning ("glyph string length overflows maximum integer size, truncated"); 71 new_len = string-&gt;space = G_MAXINT - 8; 72 } 73 } 74 75 string-&gt;glyphs = g_realloc (string-&gt;glyphs, string-&gt;space * sizeof (PangoGlyphInfo)); string-&gt;space is checked against overflow when doubling it, but is not protected against overflow when multiplied by sizeof(PangoGlyphInfo). Upstream fix: <a href="http://github.com/bratsche/pango/commit/4de30e5500eaeb49f4bf0b7a07f718e149a2ed5e">http://github.com/bratsche/pango/commit/4de30e5500eaeb49f4bf0b7a07f718e149a2ed5e</a> Acknowledgements: Red Hat would like to thank Will Drewry for reporting this issue.

Affected SoftwareAffected VersionHow to fix
Pango

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • What systems are affected by REDHAT-BUG-496887?

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

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203