CVEfocus › CVE database › CVE-2007-1351

CVE-2007-1351

EPSS 5.6% (higher than 93% of CVEs)Published 2007-04-06Updated 2024-08-07Assigner: redhat

Integer overflow in the bdfReadCharacters function in bdfread.c in (1) X.Org libXfont before 20070403 and (2) freetype 2.3.2 and earlier allows remote authenticated users to execute arbitrary code via crafted BDF fonts, which result in a heap overflow.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

85Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14freetypeFixed2.3.5-1DEBIAN-CVE-2007-1351
Debian 14libxfontFixed1:1.2.2-2DEBIAN-CVE-2007-1351
Debian 13freetypeFixed2.3.5-1DEBIAN-CVE-2007-1351
Debian 13libxfontFixed1:1.2.2-2DEBIAN-CVE-2007-1351
Debian 12freetypeFixed2.3.5-1DEBIAN-CVE-2007-1351
Debian 12libxfontFixed1:1.2.2-2DEBIAN-CVE-2007-1351
Red Hat Enterprise Linux 5freetypeFixed0:2.2.1-17.el5RHSA-2007:0150
Red Hat Enterprise Linux 5freetype-demosFixed0:2.2.1-17.el5RHSA-2007:0150
Red Hat Enterprise Linux 5freetype-develFixed0:2.2.1-17.el5RHSA-2007:0150
Red Hat Enterprise Linux 5libXfontFixed0:1.2.2-1.0.2.el5RHSA-2007:0132
Red Hat Enterprise Linux 5libXfont-develFixed0:1.2.2-1.0.2.el5RHSA-2007:0132
Red Hat Enterprise Linux 4freetypeFixed0:2.1.9-5.el4RHSA-2007:0150
Red Hat Enterprise Linux 4freetype-demosFixed0:2.1.9-5.el4RHSA-2007:0150
Red Hat Enterprise Linux 4freetype-develFixed0:2.1.9-5.el4RHSA-2007:0150
Red Hat Enterprise Linux 4freetype-utilsFixed0:2.1.9-5.el4RHSA-2007:0150
Red Hat Enterprise Linux 4xorg-x11Fixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-Mesa-libGLFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-Mesa-libGLUFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-XdmxFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-XnestFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-XvfbFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-deprecated-libsFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-deprecated-libs-develFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-develFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-docFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-font-utilsFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-libsFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-sdkFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-toolsFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-twmFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-xauthFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-xdmFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 4xorg-x11-xfsFixed0:6.8.2-1.EL.13.37.7RHSA-2007:0126
Red Hat Enterprise Linux 3XFree86Fixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-100dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-75dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-ISO8859-14-100dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-ISO8859-14-75dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-ISO8859-15-100dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-ISO8859-15-75dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-ISO8859-2-100dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-ISO8859-2-75dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-ISO8859-9-100dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-ISO8859-9-75dpi-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-Mesa-libGLFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-Mesa-libGLUFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-XnestFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-XvfbFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-base-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-cyrillic-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-develFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-docFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-font-utilsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-libsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-libs-dataFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-sdkFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-syriac-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-toolsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-truetype-fontsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-twmFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-xauthFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-xdmFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3XFree86-xfsFixed0:4.3.0-120.ELRHSA-2007:0125
Red Hat Enterprise Linux 3freetypeFixed0:2.1.4-6.el3RHSA-2007:0150
Red Hat Enterprise Linux 3freetype-develFixed0:2.1.4-6.el3RHSA-2007:0150
Red Hat Enterprise Linux 2XFree86Fixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-100dpi-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-75dpi-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-ISO8859-15-100dpi-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-ISO8859-15-75dpi-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-ISO8859-2-100dpi-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-ISO8859-2-75dpi-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-ISO8859-9-100dpi-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-ISO8859-9-75dpi-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-XnestFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-XvfbFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-cyrillic-fontsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-develFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-docFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-libsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-toolsFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-twmFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-xdmFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-xf86cfgFixed0:4.1.0-82.ELRHSA-2007:0125
Red Hat Enterprise Linux 2XFree86-xfsFixed0:4.1.0-82.ELRHSA-2007:0125

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.