{"id":"DEBIAN-CVE-2009-3050","details":"Buffer overflow in the set_page_size function in util.cxx in HTMLDOC 1.8.27 and earlier allows context-dependent attackers to execute arbitrary code via a long MEDIA SIZE comment.  NOTE: it was later reported that there were additional vectors in htmllib.cxx and ps-pdf.cxx using an AFM font file with a long glyph name, but these vectors do not cross privilege boundaries.","modified":"2026-09-22T16:47:34.988317333Z","published":"2009-09-02T17:30:01.313Z","upstream":["CVE-2009-3050"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2009-3050"}],"affected":[{"package":{"name":"htmldoc","ecosystem":"Debian:12","purl":"pkg:deb/debian/htmldoc?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.27-4.1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3050.json"}},{"package":{"name":"htmldoc","ecosystem":"Debian:13","purl":"pkg:deb/debian/htmldoc?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.27-4.1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3050.json"}},{"package":{"name":"htmldoc","ecosystem":"Debian:14","purl":"pkg:deb/debian/htmldoc?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.27-4.1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-3050.json"}}],"schema_version":"1.9.0"}