{"api_version":"1","generated_at":"2026-07-23T11:20:45+00:00","cve":"CVE-2009-3050","urls":{"html":"https://cve.report/CVE-2009-3050","api":"https://cve.report/api/cve/CVE-2009-3050.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2009-3050","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-3050"},"summary":{"title":"CVE-2009-3050","description":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2009-09-02 17:30:01","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://www.htmldoc.org/str.php?L214","name":"http://www.htmldoc.org/str.php?L214","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"","mime":"inode/x-empty","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2009/07/26/2","name":"http://www.openwall.com/lists/oss-security/2009/07/26/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: CVE Request -- HTMLDOC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt","name":"http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Files ≈ Packet Storm","mime":"text/x-perl","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2009/07/25/3","name":"http://www.openwall.com/lists/oss-security/2009/07/25/3","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: CVE Request -- HTMLDOC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2009/09/01/1","name":"http://www.openwall.com/lists/oss-security/2009/09/01/1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: CVE Request -- HTMLDOC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=278186","name":"http://bugs.gentoo.org/show_bug.cgi?id=278186","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Gentoo Bug 278186 - <app-text/htmldoc-1.8.27-r1 Multiple insecure calls to sscanf() (CVE-2009-3050)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/35780","name":"http://secunia.com/advisories/35780","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"HTMLDOC \"set_page_size()\" Buffer Overflow Vulnerability - Secunia Advisories - Vulnerability Information - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-3050","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-3050","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2009","cve_id":"3050","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"htmldoc","cpe5":"htmldoc","cpe6":"1.8.24","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"3050","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"htmldoc","cpe5":"htmldoc","cpe6":"1.8.25","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"3050","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"htmldoc","cpe5":"htmldoc","cpe6":"1.8.26","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"3050","vulnerable":"1","versionEndIncluding":"1.8.27","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"htmldoc","cpe5":"htmldoc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T06:14:56.339Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt"},{"name":"[oss-security] 20090901 Re: CVE Request -- HTMLDOC","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2009/09/01/1"},{"name":"35780","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/35780"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.htmldoc.org/str.php?L214"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://bugs.gentoo.org/show_bug.cgi?id=278186"},{"name":"[oss-security] 20090725 Re: CVE Request -- HTMLDOC","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2009/07/25/3"},{"name":"[oss-security] 20090726 Re: CVE Request -- HTMLDOC","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2009/07/26/2"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2009-09-02T17:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt"},{"name":"[oss-security] 20090901 Re: CVE Request -- HTMLDOC","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2009/09/01/1"},{"name":"35780","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/35780"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.htmldoc.org/str.php?L214"},{"tags":["x_refsource_CONFIRM"],"url":"http://bugs.gentoo.org/show_bug.cgi?id=278186"},{"name":"[oss-security] 20090725 Re: CVE Request -- HTMLDOC","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2009/07/25/3"},{"name":"[oss-security] 20090726 Re: CVE Request -- HTMLDOC","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2009/07/26/2"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2009-3050","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt","refsource":"MISC","url":"http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt"},{"name":"[oss-security] 20090901 Re: CVE Request -- HTMLDOC","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2009/09/01/1"},{"name":"35780","refsource":"SECUNIA","url":"http://secunia.com/advisories/35780"},{"name":"http://www.htmldoc.org/str.php?L214","refsource":"CONFIRM","url":"http://www.htmldoc.org/str.php?L214"},{"name":"http://bugs.gentoo.org/show_bug.cgi?id=278186","refsource":"CONFIRM","url":"http://bugs.gentoo.org/show_bug.cgi?id=278186"},{"name":"[oss-security] 20090725 Re: CVE Request -- HTMLDOC","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2009/07/25/3"},{"name":"[oss-security] 20090726 Re: CVE Request -- HTMLDOC","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2009/07/26/2"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2009-3050","datePublished":"2009-09-02T17:00:00.000Z","dateReserved":"2009-09-02T00:00:00.000Z","dateUpdated":"2024-09-17T01:17:03.590Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-09-02 17:30:01","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-119","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:htmldoc:htmldoc:*:*:*:*:*:*:*:*","versionEndIncluding":"1.8.27","matchCriteriaId":"869A7EC3-6B3E-45B8-A507-CE0004CC12E0"},{"vulnerable":true,"criteria":"cpe:2.3:a:htmldoc:htmldoc:1.8.24:*:*:*:*:*:*:*","matchCriteriaId":"DC979928-F1B0-43C6-97A2-066BC6DC5B7A"},{"vulnerable":true,"criteria":"cpe:2.3:a:htmldoc:htmldoc:1.8.25:*:*:*:*:*:*:*","matchCriteriaId":"8ACF69DD-2922-4B08-A13C-8F5AB50E2FB8"},{"vulnerable":true,"criteria":"cpe:2.3:a:htmldoc:htmldoc:1.8.26:*:*:*:*:*:*:*","matchCriteriaId":"FE1F2321-B852-4660-BAF2-A19B3A501897"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2009","CveId":"3050","Ordinal":"1","Title":"CVE-2009-3050","CVE":"CVE-2009-3050","Year":"2009"},"notes":[{"CveYear":"2009","CveId":"3050","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2009-3050"},{"CveYear":"2009","CveId":"3050","Ordinal":"2","NoteData":"2009-09-02","Type":"Other","Title":"Published"}]}}}