Description
Integer overflow in the FontFileInitTable function in X.Org libXfont before 20070403 allows remote authenticated users to execute arbitrary code via a long first line in the fonts.dir file, which results in a heap overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libxfont | 1:1.2.2-2 | — |
| Debian 13 | libxfont | 1:1.2.2-2 | — |
| Debian 12 | libxfont | 1:1.2.2-2 | — |
| Debian 3.1 | xfree86 | 4.3.0.dfsg.1-14sarge4 | DSA-1294-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | libXfont +1 | 1.2.2-1.0.2.el5 | RHSA-2007:0132 |
| RHEL 4 | xorg-x11 +17 | 6.8.2-1.EL.13.37.7 | RHSA-2007:0126 |
| RHEL 3 | XFree86 +29 | 4.3.0-120.EL | RHSA-2007:0125 |
| RHEL 2 | XFree86 +19 | 4.1.0-82.EL | RHSA-2007:0125 |
Advisories 4
- RHSA-2007:0132 Red Hat Security Advisory: libXfont security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:0125 Red Hat Security Advisory: XFree86 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:0126 Red Hat Security Advisory: xorg-x11 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1294-1 xfree86 Debian Security (DSA / DLA) · Mar 9, 2026
References
- 20070403 Multiple Vendor X Server fonts.dir File Parsing Integer Overflow Vulnerability third-party-advisory
- 24745 third-party-advisory
- oval:org.mitre.oval:def:10523 vdb-entry signature
- 33937 third-party-advisory
- 24771 third-party-advisory
- 24770 third-party-advisory
- 25006 third-party-advisory
- 24756 third-party-advisory
- 23283 vdb-entry
- RHSA-2007:0126 vendor-advisory
- 23300 vdb-entry
- http://support.apple.com/kb/HT3438
- GLSA-200705-10 vendor-advisory
- USN-448-1 vendor-advisory
- APPLE-SA-2009-02-12 vendor-advisory
- MDKSA-2007:080 vendor-advisory
- 24758 third-party-advisory
- 1017857 vdb-entry
- oval:org.mitre.oval:def:13243 vdb-entry signature
- http://support.avaya.com/elmodocs2/security/ASA-2007-178.htm
- 25195 third-party-advisory
- RHSA-2007:0125 vendor-advisory
- 24741 third-party-advisory
- APPLE-SA-2007-11-14 vendor-advisory
- [xorg-announce] 20070403 various integer overflow vulnerabilites in xserver, libX11 and libXfont mailing-list
- 24791 third-party-advisory
- SUSE-SA:2007:027 vendor-advisory
- DSA-1294 vendor-advisory
- 24765 third-party-advisory
- 25216 third-party-advisory
- xorg-fontsdir-bo(33419) vdb-entry
- 20070404 rPSA-2007-0065-1 freetype xorg-x11 xorg-x11-fonts xorg-x11-tools xorg-x11-xfs mailing-list
- 20070405 FLEA-2007-0009-1: xorg-x11 freetype mailing-list
- ADV-2007-1548 vdb-entry
- 102886 vendor-advisory
- ADV-2007-1217 vdb-entry
- [4.0] 011: SECURITY FIX: April 4, 2007 vendor-advisory
- https://issues.rpath.com/browse/RPL-1213
- 25004 third-party-advisory
- 25305 third-party-advisory
- RHSA-2007:0132 vendor-advisory
- 24772 third-party-advisory
- [3.9] 021: SECURITY FIX: April 4, 2007 vendor-advisory
- http://issues.foresightlinux.org/browse/FL-223
- MDKSA-2007:079 vendor-advisory