{"id":"DEBIAN-CVE-2021-45972","details":"The giftrans function in giftrans 1.12.2 contains a stack-based buffer overflow because a value inside the input file determines the amount of data to write. This allows an attacker to overwrite up to 250 bytes outside of the allocated buffer with arbitrary data.","modified":"2026-09-01T20:04:34.861918515Z","published":"2022-01-01T21:15:07.730Z","upstream":["CVE-2021-45972"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-45972"}],"affected":[{"package":{"name":"giftrans","ecosystem":"Debian:12","purl":"pkg:deb/debian/giftrans?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.2-19","1.12.2-20","1.12.2-21","1.12.2-22"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45972.json"}},{"package":{"name":"giftrans","ecosystem":"Debian:13","purl":"pkg:deb/debian/giftrans?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.2-20","1.12.2-21","1.12.2-22"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45972.json"}},{"package":{"name":"giftrans","ecosystem":"Debian:14","purl":"pkg:deb/debian/giftrans?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.2-20","1.12.2-21","1.12.2-22"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45972.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"}]}