CVE-2009-1194: Buffer Overflow

Published Apr 21, 2009
·
Updated

Integer overflow in the pangoglyphstringsetsize function in pango/glyphstring.c in Pango before 1.24 allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a long glyph string that triggers a heap-based buffer overflow, as demonstrated by a long document.location value in Firefox.

Other sources

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.

Red Hat

Affected Software

13 affected componentsFixes available
redhat/evolution28-pango<0:1.14.9-11.el4_7
0:1.14.9-11.el4_7
redhat/pango<0:1.14.9-5.el5_3
0:1.14.9-5.el5_3
pango pango<=1.22
pango pango=1.2
pango pango=1.4
pango pango=1.6
pango pango=1.8
pango pango=1.10
pango pango=1.12
pango pango=1.14
pango pango=1.16
pango pango=1.18
pango pango=1.20

Event History

Apr 21, 2009
Data Sourced
via Red Hat·02:49 PM
DescriptionSeverityAffected Software
May 7, 2009
CVE Published
via Red Hat·12:00 AM
May 11, 2009
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:49 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2009-1194?

The severity of CVE-2009-1194 is considered high as it can lead to denial of service or potentially arbitrary code execution.

2

How do I fix CVE-2009-1194?

To fix CVE-2009-1194, update to a non-vulnerable version of the Pango library, specifically version 1.24 or later.

3

What does CVE-2009-1194 exploit?

CVE-2009-1194 exploits an integer overflow in the pango_glyph_string_set_size function that can trigger a heap-based buffer overflow.

4

Which Pango versions are affected by CVE-2009-1194?

Pango versions prior to 1.24, including 1.2 to 1.22, are affected by CVE-2009-1194.

5

Is CVE-2009-1194 a remote code execution vulnerability?

CVE-2009-1194 could potentially allow remote code execution, making it critical for users to apply updates.

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