{"id":"CVE-2026-114629","summary":"Web::Simple versions before 0.035 for Perl allocate a buffer sized by the Content-Length header for urlencoded body parameters","details":"Web::Simple versions before 0.035 for Perl allocate a buffer sized by the Content-Length header for urlencoded body parameters.\n\nWeb::Dispatch::ParamParser::get_unpacked_body_from reads an application/x-www-form-urlencoded body using a single read call, with no cap and the return value ignored. Perl's read grows the buffer to the requested length before reading, so the declared Content-Length determines the allocation.\n\nAn attacker can trigger this through any route whose dispatch specification has a % body-parameter match, such as sub (POST + %name=), sending a Content-Length far larger than the body actually sent. No authentication is involved.","modified":"2026-10-25T02:45:53.281866870Z","published":"2026-10-24T13:50:47.616Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114629.json","cna_assigner":"CPANSec","cwe_ids":["CWE-789"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/10/24/4"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114629.json"},{"type":"PACKAGE","url":"https://github.com/p5sagit/Web-Simple"},{"type":"FIX","url":"https://github.com/p5sagit/Web-Simple/commit/7e02c4f6204a2898938d357e6efe6dc2679af695.patch"},{"type":"ADVISORY","url":"https://metacpan.org/release/ETHER/Web-Simple-0.035/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114629"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/p5sagit/web-simple","events":[{"introduced":"0"},{"fixed":"943ae51936a7d51a3c9e00d40bbb3ff5fd749037"},{"fixed":"7e02c4f6204a2898938d357e6efe6dc2679af695"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"0.035"}]},{"range":[{"fixed":"7e02c4f6204a2898938d357e6efe6dc2679af695"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.034","v0.033","v0.032","v0.031","v0.030","v0.029","v0.028","v0.027","v0.026_001","v0.026","v0.025","v0.024","v0.023","v0.022","v0.021","v0.020","v0.019","v0.018","v0.016","v0.015","v0.014","v0.012","v0.011","v0.010","v0.009","v0.004","v0.003"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-114629.json"}}],"schema_version":"1.9.2"}