{"id":"UBUNTU-CVE-2023-39663","details":"Mathjax up to v2.7.9 was discovered to contain two Regular expression Denial of Service (ReDoS) vulnerabilities in MathJax.js via the components pattern and markdownPattern. NOTE: the vendor disputes this because the regular expressions are not applied to user input; thus, there is no risk.","modified":"2025-10-24T05:02:14Z","published":"2023-08-29T20:15:00Z","upstream":["CVE-2023-39663"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-39663"},{"type":"REPORT","url":"https://github.com/mathjax/MathJax/issues/3074"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-39663"}],"affected":[{"package":{"name":"mathjax","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/mathjax@2.3-1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-1","2.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fonts-mathjax","binary_version":"2.3-1"},{"binary_name":"fonts-mathjax-extras","binary_version":"2.3-1"},{"binary_name":"libjs-mathjax","binary_version":"2.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39663.json"}},{"package":{"name":"mathjax","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mathjax@2.6.1-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.3-1","2.6.0-1","2.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fonts-mathjax","binary_version":"2.6.1-1"},{"binary_name":"fonts-mathjax-extras","binary_version":"2.6.1-1"},{"binary_name":"libjs-mathjax","binary_version":"2.6.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39663.json"}},{"package":{"name":"mathjax","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mathjax@2.7.3+dfsg-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-2ubuntu1","2.7.2+dfsg-1","2.7.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fonts-mathjax","binary_version":"2.7.3+dfsg-1"},{"binary_name":"fonts-mathjax-extras","binary_version":"2.7.3+dfsg-1"},{"binary_name":"libjs-mathjax","binary_version":"2.7.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39663.json"}},{"package":{"name":"mathjax","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mathjax@2.7.4+dfsg-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.4+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fonts-mathjax","binary_version":"2.7.4+dfsg-1"},{"binary_name":"fonts-mathjax-extras","binary_version":"2.7.4+dfsg-1"},{"binary_name":"libjs-mathjax","binary_version":"2.7.4+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39663.json"}},{"package":{"name":"mathjax","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mathjax@2.7.9+dfsg-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fonts-mathjax","binary_version":"2.7.9+dfsg-1"},{"binary_name":"fonts-mathjax-extras","binary_version":"2.7.9+dfsg-1"},{"binary_version":"2.7.9+dfsg-1","binary_name":"libjs-mathjax"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39663.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"negligible"}]}