{"cve":"CVE-2007-4990","nvd":{"published":"2007-10-05T21:17:00.000","modified":"2026-06-16T22:45:13.960","status":"Modified","description":"The swap_char2b 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 that specify an arbitrary number of bytes to be swapped on the heap, which triggers heap corruption.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-189"],"references":["http://bugs.freedesktop.org/show_bug.cgi?id=12299","http://bugs.gentoo.org/show_bug.cgi?id=194606","http://docs.info.apple.com/article.html?artnum=307562","http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01323725","http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=602"],"products":["x.org:x_font_server"],"source":"nvd","synced_at":"2026-10-19T19:48:28.501292361+00:00"},"epss":{"cve":"CVE-2007-4990","score":0.10737,"percentile":0.95825,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}