{"id":"UBUNTU-CVE-2019-20838","details":"libpcre in PCRE before 8.43 allows a subject buffer over-read in JIT when UTF is disabled, and \\X or \\R has more than one fixed quantifier, a related issue to CVE-2019-20454.","modified":"2026-04-22T12:17:46.953863Z","published":"2020-06-15T17:15:00Z","related":["USN-5425-1"],"upstream":["CVE-2019-20838"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-20838"},{"type":"REPORT","url":"https://www.pcre.org/original/changelog.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5425-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-20838"}],"affected":[{"package":{"name":"pcre3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.39-9ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.39-9ubuntu0.1"}]}],"versions":["2:8.39-5ubuntu3","2:8.39-8","2:8.39-9"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:8.39-9ubuntu0.1","binary_name":"libpcre16-3"},{"binary_version":"2:8.39-9ubuntu0.1","binary_name":"libpcre3"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-9ubuntu0.1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-9ubuntu0.1"},{"binary_name":"pcregrep","binary_version":"2:8.39-9ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20838.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.39-12ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.39-12ubuntu0.1"}]}],"versions":["2:8.39-12","2:8.39-12build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.39-12ubuntu0.1"},{"binary_name":"libpcre3","binary_version":"2:8.39-12ubuntu0.1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-12ubuntu0.1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-12ubuntu0.1"},{"binary_version":"2:8.39-12ubuntu0.1","binary_name":"pcregrep"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20838.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.39-13ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.39-13ubuntu0.22.04.1"}]}],"versions":["2:8.39-13build3","2:8.39-13build4","2:8.39-13build5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:8.39-13ubuntu0.22.04.1","binary_name":"libpcre16-3"},{"binary_name":"libpcre3","binary_version":"2:8.39-13ubuntu0.22.04.1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-13ubuntu0.22.04.1"},{"binary_version":"2:8.39-13ubuntu0.22.04.1","binary_name":"libpcrecpp0v5"},{"binary_name":"pcregrep","binary_version":"2:8.39-13ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20838.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.39-15build1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:8.39-15","2:8.39-15build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.39-15build1"},{"binary_name":"libpcre3","binary_version":"2:8.39-15build1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-15build1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-15build1"},{"binary_name":"pcregrep","binary_version":"2:8.39-15build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20838.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/pcre3@2:8.39-15.1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:8.39-15.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.39-15.1"},{"binary_name":"libpcre3","binary_version":"2:8.39-15.1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-15.1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-15.1"},{"binary_name":"pcregrep","binary_version":"2:8.39-15.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20838.json"}}],"schema_version":"1.7.5","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":"low"}]}