{"id":"CVE-2021-27799","aliases":["DEBIAN-CVE-2021-27799","EUVD-2021-14540","GHSA-rr98-pccv-8m4w","UBUNTU-CVE-2021-27799"],"status":"published","title":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.19.1 has a stack-based buffer...","description":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.02365,"percentile":0.84017,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2021-02-26T21:31:44Z","modified":"2026-10-23T18:03:26Z","fixes":[{"ecosystem":"Debian:12","package":"zint","fixed_in":["2.9.1-1.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"zint","fixed_in":["2.9.1-1.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"zint","fixed_in":["2.9.1-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"zint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.1-1.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"zint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.1-1.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"zint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.1-1.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"zint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.1-1.1","2.10.0-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"zint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.0-1","2.13.0-1","2.13.0-1build2","2.13.0-1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"zint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.13.0-1build3","2.15.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"zint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.15.0-1build1","2.15.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"zint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.15.0-1","2.15.0-1build1"]}],"products":[{"vendor":"zint","product":"barcode_generator"}],"references":[{"url":"https://sourceforge.net/p/zint/tickets/218/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"http://zint.org.uk/Manual.aspx?type=p\u0026page=3","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","report"]},{"url":"http://zint.org.uk/Manual.aspx?type=p\u0026page=4","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","report"]},{"url":"http://zint.org.uk/Manual.aspx?type=p\u0026page=5","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://sourceforge.net/p/zint/code/ci/7f8c8114f31c09a986597e0ba63a49f96150368a/","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27799"},{"url":"https://github.com/advisories/GHSA-rr98-pccv-8m4w"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-27799","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-27799","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-27799","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-27799","description":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.","status":"published","published":"2021-02-26T21:31:44Z","modified":"2024-08-03T21:33:15.888Z","updated_at":"2026-11-02T14:33:04.679189Z"}],"euvd":[{"id":"EUVD-2021-14540","description":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.","status":"published","published":"2021-02-26T21:31:44Z","modified":"2024-08-03T21:33:15Z","updated_at":"2026-11-03T03:24:48.366655Z"}],"ghsa":[{"id":"GHSA-rr98-pccv-8m4w","title":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.19.1 has a stack-based buffer...","description":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.19.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.","status":"published","published":"2022-05-24T17:43:20Z","modified":"2023-01-29T05:05:53Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:45:54.221809Z"}],"nvd":[{"id":"CVE-2021-27799","description":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.","status":"published","published":"2021-02-26T22:15:20.847Z","modified":"2026-06-17T03:45:28.587Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"CVE-2021-27799","description":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.","status":"published","published":"2021-02-26T22:15:20.847Z","modified":"2026-03-14T10:53:03.199678Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.129331Z"},{"id":"DEBIAN-CVE-2021-27799","description":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.","status":"published","published":"2021-02-26T22:15:20.847Z","modified":"2026-10-23T18:03:26.244511767Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"UBUNTU-CVE-2021-27799","description":"ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.","status":"published","published":"2021-02-26T22:15:00Z","modified":"2026-10-17T12:57:12.167848605Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:26.779273Z"}]}}
