{"schemaVersion":3,"id":"CVE-2022-46285","aliases":["ALPINE-CVE-2022-46285","UBUNTU-CVE-2022-46285","USN-5807-3","DEBIAN-CVE-2022-46285"],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in libXpm. This issue occurs when parsing a file with a comment not closed; the end-of-file condition will not be detected, leading to an infinite loop and resulting in a Denial of Service in the application linked to the library.","dates":{"published":"2023-02-07T00:00:00.000Z","modified":"2025-03-25T14:43:37.619Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01284,"percentile":0.69681,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.011000000000000072,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01273},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01284,"percentile":0.69681}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01273,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01284,"percentile":0.69681}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition ('Infinite Loop')","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"alpine","product":"libxpm","name":"libxpm","label":"libxpm","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/libxpm","purlType":"apk","versions":[{"text":"< 3.5.15-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.5.15-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"libxpm","name":"libxpm","label":"libxpm","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libxpm","purlType":"deb","versions":[{"text":"< 1:3.5.12-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.5.12-1.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libxpm","name":"libxpm","label":"libxpm","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libxpm","purlType":"deb","versions":[{"text":"< 1:3.5.10-1ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:3.5.11-1ubuntu0.16.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:3.5.12-1ubuntu0.18.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1:3.5.12-1ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:3.5.12-1ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.5.10-1ubuntu0.1+esm1 | < 1:3.5.11-1ubuntu0.16.04.1+esm1 | < 1:3.5.12-1ubuntu0.18.04.2 | < 1:3.5.12-1ubuntu0.20.04.1 | < 1:3.5.12-1ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"motif","name":"motif","label":"motif","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/motif","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"x.org","product":"libxpm","name":"libxpm","label":"libxpm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.5.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.5.15","eol":null,"hubHref":"/vendor/xorg/libxpm"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2160092","label":"bugzilla.redhat.com/show_bug.cgi?id=2160092","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9","label":"gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9","hostname":"gitlab.freedesktop.org","tags":[]},{"url":"https://lists.x.org/archives/xorg-announce/2023-January/003312.html","label":"lists.x.org/archives/xorg-announce/2023-January/003312.html","hostname":"lists.x.org","tags":[]},{"url":"https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148","label":"gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148","hostname":"gitlab.freedesktop.org","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00021.html","label":"lists.debian.org/debian-lts-announce/2023/06/msg00021.html","hostname":"lists.debian.org","tags":["Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/1","label":"www.openwall.com/lists/oss-security/2023/10/03/1","hostname":"www.openwall.com","tags":["Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/10","label":"www.openwall.com/lists/oss-security/2023/10/03/10","hostname":"www.openwall.com","tags":["Mailing List"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-46285","label":"security.alpinelinux.org/vuln/CVE-2022-46285","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-46285","label":"ubuntu.com/security/CVE-2022-46285","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5807-1","label":"ubuntu.com/security/notices/USN-5807-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5807-2","label":"ubuntu.com/security/notices/USN-5807-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5807-3","label":"ubuntu.com/security/notices/USN-5807-3","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-46285","label":"www.cve.org/CVERecord?id=CVE-2022-46285","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-46285","label":"security-tracker.debian.org/tracker/CVE-2022-46285","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46285","label":"nvd.nist.gov/vuln/detail/CVE-2022-46285","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3459-1","MGASA-2023-0031","RHSA-2023:0378","RHSA-2023:0379","RHSA-2023:0380","RHSA-2023:0381","RHSA-2023:0382","RHSA-2023:0383","RHSA-2023:0384","SUSE-SU-2023:0165-1","SUSE-SU-2023:0171-1","USN-5807-1","USN-5807-2"],"duplicates":[],"related":["SUSE-SU-2023:0165-1","SUSE-SU-2023:0171-1","USN-5807-1","USN-5807-2"]},"timeline":[{"kind":"published","date":"2023-02-07T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-25T14:43:37.619Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:52:25.869Z","stale":false,"partial":false}}