{"schemaVersion":3,"id":"CVE-2023-2491","aliases":["RHSA-2023:3104"],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in the Emacs text editor. Processing a specially crafted org-mode code with the \"org-babel-execute:latex\" function in ob-latex.el can result in arbitrary command execution. This CVE exists because of a CVE-2023-28617 security regression for the emacs package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.","dates":{"published":"2023-05-17T00:00:00.000Z","modified":"2025-01-22T18:23:43.462Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00461,"percentile":0.38653,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00461},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00461,"percentile":0.38653}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00461,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00461,"percentile":0.38653}]},"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-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"gnu","product":"emacs","name":"Emacs","label":"emacs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"26.1-9.el8","noFixRecorded":false,"fixedIn":null},{"text":"27.2-8.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"26.1-9.el8 | 27.2-8.el9","eol":null,"hubHref":"/vendor/gnu/emacs"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"redhat","product":"enterprise_linux_eus","name":"enterprise linux eus","label":"enterprise_linux_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.8","noFixRecorded":false,"fixedIn":null},{"text":"9.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.8 | 9.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_eus"},{"vendor":"redhat","product":"enterprise_linux_server_aus","name":"enterprise linux server aus","label":"enterprise_linux_server_aus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.8","noFixRecorded":false,"fixedIn":null},{"text":"9.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.8 | 9.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_server_tus","name":"enterprise linux server tus","label":"enterprise_linux_server_tus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.8","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_tus"},{"vendor":"redhat","product":"emacs","name":"emacs","label":"emacs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-common","name":"emacs-common","label":"emacs-common","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-common","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-common-debuginfo","name":"emacs-common-debuginfo","label":"emacs-common-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-common-debuginfo","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-debuginfo","name":"emacs-debuginfo","label":"emacs-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-debuginfo","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-debugsource","name":"emacs-debugsource","label":"emacs-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-debugsource","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-filesystem","name":"emacs-filesystem","label":"emacs-filesystem","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-filesystem","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-lucid","name":"emacs-lucid","label":"emacs-lucid","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-lucid","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-lucid-debuginfo","name":"emacs-lucid-debuginfo","label":"emacs-lucid-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-lucid-debuginfo","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-nox","name":"emacs-nox","label":"emacs-nox","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-nox","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-nox-debuginfo","name":"emacs-nox-debuginfo","label":"emacs-nox-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-nox-debuginfo","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"emacs-terminal","name":"emacs-terminal","label":"emacs-terminal","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/emacs-terminal","purlType":"rpm","versions":[{"text":"< 1:26.1-10.el8_8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:26.1-10.el8_8.2","eol":null,"hubHref":null}],"affectedCount":16,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2192873","label":"bugzilla.redhat.com/show_bug.cgi?id=2192873","hostname":"bugzilla.redhat.com","tags":["REPORT","Issue Tracking","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-2491","label":"access.redhat.com/security/cve/CVE-2023-2491","hostname":"access.redhat.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:3104","label":"access.redhat.com/errata/RHSA-2023:3104","hostname":"access.redhat.com","tags":["Advisory","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:2626","label":"access.redhat.com/errata/RHSA-2023:2626","hostname":"access.redhat.com","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3104.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3104.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2491","label":"www.cve.org/CVERecord?id=CVE-2023-2491","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2491","label":"nvd.nist.gov/vuln/detail/CVE-2023-2491","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2023:2626"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-05-17T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-01-22T18:23:43.462Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:04:48.092Z","stale":false,"partial":false}}