{"id":"CVE-2007-4990","published":"2007-10-05T21:00:00Z","modified":"2024-08-07T15:17:27Z","title":"The swap_char2b function in X.Org X Font Server (xfs) before 1.0.5 allows context-dependent attackers to execute…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.10737,"percentile":0.95935,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.novell.com/linux/security/advisories/2007_54_xorg.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.securitytracker.com/id?1018763","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://secunia.com/advisories/28542","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-200642-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-December/msg00352.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.securityfocus.com/archive/1/481432/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://bugs.freedesktop.org/show_bug.cgi?id=12299","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/28514","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/27052","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=602","tags":["third-party-advisory","x_refsource_IDEFENSE"]},{"url":"http://secunia.com/advisories/27060","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2008/0924/references","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01323725","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2007-October/000416.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0029.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/28004","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/27240","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://issues.rpath.com/browse/RPL-1756","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/29420","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/27040","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://secunia.com/advisories/27176","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://security.gentoo.org/glsa/glsa-200710-11.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/27228","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/3467","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0030.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-103114-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://www.vupen.com/english/advisories/2008/0149","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:210","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.securityfocus.com/bid/25898","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=194606","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2007/3338","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/27560","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11599","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://docs.info.apple.com/article.html?artnum=307562","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2007/3337","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36920","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/28536","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":19.19}]},"summary":{"text":"The flaw is in the swap_char2b function of the X.Org X Font Server (xfs), affecting versions before 1.0.5. The swap_char2b function can be coaxed into swapping an attacker-chosen number of bytes on the heap, via crafted size values in the QueryXBitmaps and QueryXExtents protocol requests, causing heap corruption that can lead to arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:48:23Z"},"euvd":{"id":"EUVD-2007-4971","exploited":false,"provenance":"source"}}