{"id":"CVE-2017-9048","revision":"d161a348585c4187a9c8331bdef19355","records":[{"revision":"d161a348585c4187a9c8331bdef19355","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2017-9048","aliases":[],"title":"libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. At…","description":"libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. At the end of the routine, the function may strcat two more characters without checking whether the current strlen(buf) + 2 < size. This vulnerability causes programs that use libxml2, such as PHP, to crash.","state":0,"publishedAt":"2017-05-18T06:13:00+00:00","modifiedAt":"2026-10-14T06:30:19.592+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"n/a\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"n/a\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["http://www.debian.org/security/2017/dsa-3952","https://security.gentoo.org/glsa/201711-01","http://www.openwall.com/lists/oss-security/2017/05/15/1","http://www.securityfocus.com/bid/98556","https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E","https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2017-9048","license":"CVE Program Terms of Use","key":"cve-program:CVE-2017-9048","identifiers":["CVE-2017-9048"]},"retained":false,"historicalAffected":[]}],"coverage":[]}