Integer overflow in the bdfReadCharacters function in bdfread.c in (1) X.Org libXfont before 20070403 and (2) freetype 2.3.2 and earlier all
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.
- BDU:2015-04594
- BDU:2015-04595
- BDU:2015-04596
- BDU:2015-04597
- BDU:2015-04598
- BDU:2015-04599
- BDU:2015-04600
- BDU:2015-04956
- BDU:2015-04957
- BDU:2015-04958
- BDU:2015-04959
- BDU:2015-04960
- BDU:2015-04961
- BDU:2015-09558
- DSA-1294-1
- DSA-1454-1
- openSUSE-SU-2024:10770-1
- RHSA-2007:0125
- RHSA-2007:0126
- RHSA-2007:0132
- Published
- Apr 5, 2007
- Updated
- Jun 16, 2026
- EPSS
- 5.6% · 93th percentile
- CWE
- CWE-189
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 34 / 40 · 8.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.6%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| x.org | libxfont | cpe:2.3:a:x.org:libxfont |
| ubuntu | ubuntu linux | cpe:2.3:o:ubuntu:ubuntu_linux |
| xfree86 project | x11r6 | cpe:2.3:a:xfree86_project:x11r6 |
| rpath | rpath linux | cpe:2.3:o:rpath:rpath_linux |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | linux advanced workstation | cpe:2.3:o:redhat:linux_advanced_workstation |
| openbsd | openbsd | cpe:2.3:o:openbsd:openbsd |
| mandrakesoft | mandrake linux | cpe:2.3:o:mandrakesoft:mandrake_linux |
| mandrakesoft | mandrake linux corporate server | cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server |
| mandrakesoft | mandrake multi network firewall | cpe:2.3:a:mandrakesoft:mandrake_multi_network_firewall |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mandrakesoft mandrake multi network firewall2.0
- openbsd openbsd3.9
- openbsd openbsd4.0
- redhat enterprise linux2.1
- redhat enterprise linux3.0
- redhat enterprise linux4.0
- redhat enterprise linux5.0
- redhat enterprise linux desktop3.0
- redhat enterprise linux desktop4.0
- redhat linux advanced workstation2.1
- rpath rpath linux1
- ubuntu ubuntu linux5.10
- ubuntu ubuntu linux6.06_lts
- ubuntu ubuntu linux6.10
- x.org libxfont1.2.2
- xfree86 project x11r64.3.0
- xfree86 project x11r64.3.0.1
- xfree86 project x11r64.3.0.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | freetype | before 2.3.5-1 | 2.3.5-1 |
| Debian:12 | libxfont | before 1:1.2.2-2 | 1:1.2.2-2 |
| Debian:3.1 | xfree86 | before 4.3.0.dfsg.1-14sarge4 | 4.3.0.dfsg.1-14sarge4 |
| Debian:4.0 | freetype | before 2.2.1-5+etch2 | 2.2.1-5+etch2 |
| openSUSE:Tumbleweed | freetype2 | before 2.11.0-1.2 | 2.11.0-1.2 |
| Red Hat:enterprise_linux:2.1::as | XFree86 | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-100dpi-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-75dpi-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-cyrillic-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-devel | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-doc | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-ISO8859-15-100dpi-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-ISO8859-15-75dpi-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-ISO8859-2-100dpi-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-ISO8859-2-75dpi-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-ISO8859-9-100dpi-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-ISO8859-9-75dpi-fonts | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-libs | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-tools | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-twm | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-xdm | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-xf86cfg | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-xfs | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
| Red Hat:enterprise_linux:2.1::as | XFree86-Xnest | before 0:4.1.0-82.EL | 0:4.1.0-82.EL |
+64
Same product
x.org: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-13722In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files28Monitor
- CVE-2017-13720In the PatternMatch function in fontfile/fontdir.c in libXfont through 1.5.2 and 2.x before 2.0.2, an attacker with access to an X connectio28Monitor
- CVE-2007-1352Integer overflow in the FontFileInitTable function in X.Org libXfont before 20070403 allows remote authenticated users to execute arbitrary 15Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:freetype | 2.3.5-1 · Debian:12 | Package registry (OSV) |
| debian:libxfont | 1:1.2.2-2 · Debian:12 | Package registry (OSV) |
| debian:xfree86 | 4.3.0.dfsg.1-14sarge4 · Debian:3.1 | Package registry (OSV) |
| opensuse:freetype2 | 2.11.0-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:XFree86 | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-100dpi-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-75dpi-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-cyrillic-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-ISO8859-15-100dpi-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-ISO8859-15-75dpi-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-ISO8859-2-100dpi-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-ISO8859-2-75dpi-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-ISO8859-9-100dpi-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-ISO8859-9-75dpi-fonts | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-Xnest | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:XFree86-Xvfb | 0:4.1.0-82.EL · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-189 · Numeric ErrorsCVSS vector
AV:N/AC:M/Au:S/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- secunia.com/advisories/28333
- issues.foresightlinux.org/browse/FL-223
- labs.idefense.com/intelligence/vulnerabilities/display.php?id=501
- lists.apple.com/archives/Security-announce/2007/Nov/msg00003.html
- lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
- lists.freedesktop.org/archives/xorg-announce/2007-April/000286.html
- rhn.redhat.com/errata/RHSA-2007-0125.html
- secunia.com/advisories/24741
- secunia.com/advisories/24745
- secunia.com/advisories/24756
- secunia.com/advisories/24758
- secunia.com/advisories/24765
- secunia.com/advisories/24768
- secunia.com/advisories/24770
- secunia.com/advisories/24771
- secunia.com/advisories/24772
- secunia.com/advisories/24776
- secunia.com/advisories/24791
- secunia.com/advisories/24885
- secunia.com/advisories/24889
Vendor advisories and official records. Exploit/PoC links are deliberately left out.