{"id":"UBUNTU-CVE-2026-14803","details":"Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder. The pure-Perl decode path (`_decode_value` dispatching to `_decode_array` and `_decode_object`) recurses with no depth limit, so a small deeply nested JSON document can consume excessive memory. This path is the default when Cpanel::JSON::XS is not installed or `MOJO_NO_JSON_XS=1` is set; the Cpanel::JSON::XS fast path is not affected. Any caller that decodes an untrusted JSON body, for example `Mojo::Message::json` reached through `$c-\u003ereq-\u003ejson`, can exhaust process memory and cause denial of service.","modified":"2026-07-09T15:15:46Z","published":"2026-07-06T02:16:00Z","upstream":["CVE-2026-14803"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-14803"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-14803"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/41564627/"},{"type":"REPORT","url":"https://github.com/mojolicious/mojo/commit/cc38b0554275c4d84f6b8b49bcbbc1bec2068fe1.patch"},{"type":"REPORT","url":"https://metacpan.org/release/SRI/Mojolicious-9.47/changes"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/07/06/2"}],"affected":[{"package":{"name":"libmojolicious-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.15+dfsg-1","6.15+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.15+dfsg-1ubuntu1","binary_name":"libmojolicious-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14803.json"}},{"package":{"name":"libmojolicious-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.39+dfsg-1ubuntu1","7.43+dfsg-1ubuntu1","7.57+dfsg-1ubuntu1","7.59+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"7.59+dfsg-1ubuntu1","binary_name":"libmojolicious-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14803.json"}},{"package":{"name":"libmojolicious-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.22+dfsg-1","8.23+dfsg-1","8.26+dfsg-1","8.27+dfsg-1","8.32+dfsg-1","8.33+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmojolicious-perl","binary_version":"8.33+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14803.json"}},{"package":{"name":"libmojolicious-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.71+dfsg-1","9.22+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmojolicious-perl","binary_version":"9.22+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14803.json"}},{"package":{"name":"libmojolicious-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.33+dfsg-1","9.35+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.35+dfsg-1","binary_name":"libmojolicious-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14803.json"}},{"package":{"name":"libmojolicious-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.39+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmojolicious-perl","binary_version":"9.39+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14803.json"}},{"package":{"name":"libmojolicious-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libmojolicious-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.39+dfsg-1","9.42+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmojolicious-perl","binary_version":"9.42+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-14803.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}