{"id":"CVE-2025-58146","aliases":["ALPINE-CVE-2025-58146","EUVD-2025-210446","GHSA-cfmg-797f-j883","MGASA-2025-0270"],"status":"published","title":"XAPI UTF-8 string handling","description":"There are multiple issues.\n\n 1. Updates to the XAPI database sanitise input strings, but try\n    generating the notification using the unsanitised input.  This\n    causes the database's event thread to terminate and cease further\n    processing.\n\n 2. XAPI's UTF-8 encoder implements v3.0 of the Unicode spec, but XAPI\n    uses libraries which conform to the stricter v3.1 of the Unicode\n    spec.  This causes some strings to be accepted as valid UTF-8 by\n    XAPI, but rejected by other libraries in use.  Notably, such strings\n    can be entered into the database, after which the database can no\n    longer be loaded.\n\n 3. There is no input sanitisation for Map/Set updates on objects in the\n    XAPI database.","severity":{"version":"4.0","score":9.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00178,"percentile":0.07468,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2025-11-09T07:52:10Z","modified":"2026-09-29T19:10:00Z","affected":[{"source":"osv","ecosystem":"Mageia:9","package":"xen","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.5-1.git20251028.1.mga9"}]}],"bundled":26}],"products":[{"vendor":"xapi","product":"xapi"},{"vendor":"xen","product":"xapi"}],"references":[{"url":"https://xenbits.xen.org/xsa/advisory-474.html"},{"url":"http://www.openwall.com/lists/oss-security/2025/09/09/3"},{"url":"http://xenbits.xen.org/xsa/advisory-474.html"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58146"},{"url":"https://github.com/advisories/GHSA-cfmg-797f-j883"},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-58146","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2025-0270.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33401","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2024/07/16/3","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/07/16/4","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/08/14/2","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/08/14/3","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/09/24/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/12/2","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/12/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/12/17/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/12/17/2","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/02/27/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/05/12/4","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/05/12/5","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/KEACKX57LEHS2YKZ4PO5DYNOQRGQSDO2/","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/05/27/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/07/01/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/07/08/2","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/08/28/2","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/09/09/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/09/09/2","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/09/09/3","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/10/21/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/10/24/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/11/05/4","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-58146","title":"XAPI UTF-8 string handling","description":"There are multiple issues.\n\n 1. Updates to the XAPI database sanitise input strings, but try\n    generating the notification using the unsanitised input.  This\n    causes the database's event thread to terminate and cease further\n    processing.\n\n 2. XAPI's UTF-8 encoder implements v3.0 of the Unicode spec, but XAPI\n    uses libraries which conform to the stricter v3.1 of the Unicode\n    spec.  This causes some strings to be accepted as valid UTF-8 by\n    XAPI, but rejected by other libraries in use.  Notably, such strings\n    can be entered into the database, after which the database can no\n    longer be loaded.\n\n 3. There is no input sanitisation for Map/Set updates on objects in the\n    XAPI database.","status":"published","published":"2026-07-09T14:42:22.69Z","modified":"2026-07-09T16:07:56.939Z","cvss":[{"version":"4.0","score":9.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:32:37.027582Z"}],"euvd":[{"id":"EUVD-2025-210446","description":"There are multiple issues.\n\n 1. Updates to the XAPI database sanitise input strings, but try\n    generating the notification using the unsanitised input.  This\n    causes the database's event thread to terminate and cease further\n    processing.\n\n 2. XAPI's UTF-8 encoder implements v3.0 of the Unicode spec, but XAPI\n    uses libraries which conform to the stricter v3.1 of the Unicode\n    spec.  This causes some strings to be accepted as valid UTF-8 by\n    XAPI, but rejected by other libraries in use.  Notably, such strings\n    can be entered into the database, after which the database can no\n    longer be loaded.\n\n 3. There is no input sanitisation for Map/Set updates on objects in the\n    XAPI database.","status":"published","published":"2026-07-09T14:42:22Z","modified":"2026-07-09T16:07:56Z","cvss":[{"version":"4.0","score":9.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical"}],"updated_at":"2026-11-02T18:20:03.742277Z"}],"ghsa":[{"id":"GHSA-cfmg-797f-j883","title":"There are multiple issues.\n\n 1. Updates to the XAPI database sanitise input strings, but try\n   ...","description":"There are multiple issues.\n\n 1. Updates to the XAPI database sanitise input strings, but try\n    generating the notification using the unsanitised input.  This\n    causes the database's event thread to terminate and cease further\n    processing.\n\n 2. XAPI's UTF-8 encoder implements v3.0 of the Unicode spec, but XAPI\n    uses libraries which conform to the stricter v3.1 of the Unicode\n    spec.  This causes some strings to be accepted as valid UTF-8 by\n    XAPI, but rejected by other libraries in use.  Notably, such strings\n    can be entered into the database, after which the database can no\n    longer be loaded.\n\n 3. There is no input sanitisation for Map/Set updates on objects in the\n    XAPI database.","status":"published","published":"2026-07-09T18:31:50Z","modified":"2026-07-09T18:31:59Z","cvss":[{"version":"4.0","score":9.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:09:22.189239Z"}],"nvd":[{"id":"CVE-2025-58146","description":"There are multiple issues.\n\n 1. Updates to the XAPI database sanitise input strings, but try\n    generating the notification using the unsanitised input.  This\n    causes the database's event thread to terminate and cease further\n    processing.\n\n 2. XAPI's UTF-8 encoder implements v3.0 of the Unicode spec, but XAPI\n    uses libraries which conform to the stricter v3.1 of the Unicode\n    spec.  This causes some strings to be accepted as valid UTF-8 by\n    XAPI, but rejected by other libraries in use.  Notably, such strings\n    can be entered into the database, after which the database can no\n    longer be loaded.\n\n 3. There is no input sanitisation for Map/Set updates on objects in the\n    XAPI database.","status":"published","published":"2026-07-09T16:16:33.687Z","modified":"2026-09-29T19:10:00.16Z","cvss":[{"version":"4.0","score":9.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:12:02.535029Z"}],"osv":[{"id":"ALPINE-CVE-2025-58146","description":"There are multiple issues.\n\n 1. Updates to the XAPI database sanitise input strings, but try\n    generating the notification using the unsanitised input.  This\n    causes the database's event thread to terminate and cease further\n    processing.\n\n 2. XAPI's UTF-8 encoder implements v3.0 of the Unicode spec, but XAPI\n    uses libraries which conform to the stricter v3.1 of the Unicode\n    spec.  This causes some strings to be accepted as valid UTF-8 by\n    XAPI, but rejected by other libraries in use.  Notably, such strings\n    can be entered into the database, after which the database can no\n    longer be loaded.\n\n 3. There is no input sanitisation for Map/Set updates on objects in the\n    XAPI database.","status":"withdrawn","published":"2026-07-09T16:16:33.687Z","modified":"2026-07-14T08:03:34.403291004Z","cvss":[{"version":"4.0","score":9.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical"}],"updated_at":"2026-11-02T15:27:50.269992Z"},{"id":"MGASA-2025-0270","title":"Updated xen packages fix security vulnerabilities","description":"Double unlock in x86 guest IRQ handling. (CVE-2024-31143)\nXapi: Metadata injection attack against backup/restore functionality.\n(CVE-2024-31144)\nError handling in x86 IOMMU identity mapping. (CVE-2024-31145)\nPCI device pass-through with shared resources. (CVE-2024-31146)\nx86: Deadlock in vlapic_error(). (CVE-2024-45817)\nDeadlock in x86 HVM standard VGA handling. (CVE-2024-45818)\nlibxl leaks data to PVH guests via ACPI tables. (CVE-2024-45819)\nBackend can crash Linux netfront. (CVE-2024-53240)\nXen hypercall page unsafe against speculative attacks. (CVE-2024-53241)\nDeadlock potential with VT-d and legacy PCI device pass-through.\n(CVE-2025-1713)\nx86: Indirect Target Selection. (CVE-2024-28956)\nx86: Incorrect stubs exception handling for flags recovery.\n(CVE-2025-27465)\nTSA-SQ (TSA in the Store Queues). (CVE-2024-36350)\nTSA-L1 (TSA in the L1 data cache). (CVE-2024-36357)\nA NULL pointer dereference in the updating of the reference TSC area.\n(CVE-2025-27466)\nA NULL pointer dereference by assuming the SIM page is mapped when a\nsynthetic timer message has to be delivered. (CVE-2025-58142)\nA race in the mapping of the reference TSC page, where a guest can get\nXen to free a page while still present in the guest physical to machine\n(p2m) page tables. (CVE-2025-58143)\nAn assertion is wrong there, where the case actually needs handling.  A\nNULL pointer de-reference could result on a release build.\n(CVE-2025-58144)\nThe P2M lock isn't held until a page reference was actually obtained (or\nthe attempt to do so has failed).  Otherwise the page can not only\nchange type, but even ownership in between, thus allowing domain\nboundaries to be violated. (CVE-2025-58145)\nXAPI UTF-8 string handling. (CVE-2025-58146)\nHypercalls using the HV_VP_SET Sparse format can cause vpmask_set() to\nwrite out of bounds when converting the bitmap to Xen's format.\n(CVE-2025-58147)\nHypercalls using any input format can cause send_ipi() to read d-\u003evcpu[]\nout-of-bounds, and operate on a wild vCPU pointer.(CVE-2025-58148)\nIncorrect removal of permissions on PCI device unplug. (CVE-2025-58149)\n","status":"published","published":"2025-11-09T07:52:10Z","modified":"2026-04-16T04:42:58.080548709Z","updated_at":"2026-11-02T15:49:43.178336Z"}]}}
