CVE-2009-3050
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 4.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.4% in the next 30 days (EPSS).
- Severity: 10.0 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Htmldoc ≤ 1.8.27
- Htmldoc 1.8.24
- Htmldoc 1.8.25
- Htmldoc 1.8.26
Attack profile CVSS 2.0 · 10.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2009-3050.md and follow it. Check whether this project is affected by CVE-2009-3050. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://bugs.gentoo.org/show_bug.cgi?id=278186
- http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt
- http://secunia.com/advisories/35780
- http://www.htmldoc.org/str.php?L214
- http://www.openwall.com/lists/oss-security/2009/07/25/3
- http://www.openwall.com/lists/oss-security/2009/07/26/2
- http://www.openwall.com/lists/oss-security/2009/09/01/1
- http://bugs.gentoo.org/show_bug.cgi?id=278186
- http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt
- http://secunia.com/advisories/35780
- http://www.htmldoc.org/str.php?L214
- http://www.openwall.com/lists/oss-security/2009/07/25/3
- http://www.openwall.com/lists/oss-security/2009/07/26/2
- http://www.openwall.com/lists/oss-security/2009/09/01/1