{"id":"ALPINE-CVE-2019-18397","details":"A buffer overflow in the fribidi_get_par_embedding_levels_ex() function in lib/fribidi-bidi.c of GNU FriBidi through 1.0.7 allows an attacker to cause a denial of service or possibly execute arbitrary code by delivering crafted text content to a user, when this content is then rendered by an application that uses FriBidi for text layout calculations. Examples include any GNOME or GTK+ based application that uses Pango for text layout, as this internally uses FriBidi for bidirectional text layout. For example, the attacker can construct a crafted text file to be opened in GEdit, or a crafted IRC message to be viewed in HexChat.","modified":"2025-12-03T22:47:24.572841Z","published":"2019-11-13T14:15:10.287Z","upstream":["CVE-2019-18397"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2019-18397"}],"affected":[{"package":{"name":"fribidi","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5-r2"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0","1.0.5-r1","1.0.7-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}},{"package":{"name":"fribidi","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/fribidi?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5-r1"}]}],"versions":["0.19.2-r0","0.19.2-r1","0.19.2-r2","0.19.2-r3","0.19.2-r4","0.19.2-r5","0.19.4-r0","0.19.5-r0","0.19.5-r1","0.19.5-r2","0.19.6-r0","0.19.6-r1","0.19.7-r0","0.19.7-r1","1.0.1-r0","1.0.2-r0","1.0.5-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-18397.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}