{"id":"CVE-2026-116738","summary":"VMime through 0.9.2 Stack-Based Buffer Overflow via uuencode Decoder","details":"VMime through 0.9.2 contains an integer underflow in the uuEncoder::decode function that allows remote attackers to trigger a stack-based buffer overflow via crafted uuencoded MIME parts. Attackers can send an email with a uuencoded line whose length character is 'b' but is not a 'begin' line, corrupting stack memory to crash the application or potentially execute code.","modified":"2026-10-29T07:26:19.488144056Z","published":"2026-10-26T21:52:37.804Z","database_specific":{"cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116738.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116738.json"},{"type":"ADVISORY","url":"https://hackmd.io/@haindpwn/vmime-uuencode-decoder-oob-write"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116738"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/vmime-through-0.9.2-stack-based-buffer-overflow-via-uuencode-decoder"},{"type":"FIX","url":"https://github.com/kisli/vmime/commit/e85925eddc638939f0eeb7ee55ec047d04a760d8"},{"type":"FIX","url":"https://github.com/kisli/vmime/pull/363"},{"type":"PACKAGE","url":"https://github.com/kisli/vmime"},{"type":"ARTICLE","url":"https://github.com/kisli/vmime/blob/v0.9.2/src/vmime/utility/encoder/uuEncoder.cpp#L185-L190"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kisli/vmime","events":[{"introduced":"0"},{"fixed":"e85925eddc638939f0eeb7ee55ec047d04a760d8"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"0.9.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"e85925eddc638939f0eeb7ee55ec047d04a760d8"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.9.2"],"database_specific":{"vanir_signatures":[{"source":"https://github.com/kisli/vmime/commit/e85925eddc638939f0eeb7ee55ec047d04a760d8","target":{"file":"src/vmime/utility/encoder/uuEncoder.cpp"},"deprecated":false,"digest":{"line_hashes":["70398320108843360494415978272967718009","132729758751925093633933344944548113264","22924092278702170995949250324748453338","44426148294418826808859877454514535552","288704969159172388496919161294483884174","287071783135919327755664412012076942746","326292347309959500820035474502244053071","134649960548690080587842653256984029603","269683965059306605690682307203804223165","98810580914639569012962813758566235717","296438636641636657631607478809692254819","165872209507714368502385010899547458799","191522287867368298470456895562860290491","126939180250482117312640952300990330957","136973714720949354221097784327009078629","338656753319820274117700536196441554258","134409920468627720940894071331101400405","52944428176501066731772635462108604476","174822500144364612966947476956265753773","276211716579259656234205266849585490208","152843948759388255400558839903872427355","257549303548095971223503327775347798926","108317386298522922577519402477977025808","223144792979929467309035512397424485977","212034704978047991300155364121674151678","334697603261825473786303273764914075386","4713410880473482227128086632745900065"],"threshold":0.9},"id":"CVE-2026-116738-1ef63a51","signature_type":"Line","signature_version":"v1"},{"digest":{"function_hash":"329051225326449365705368782151265967608","length":235},"id":"CVE-2026-116738-2fc5d3ca","signature_type":"Function","signature_version":"v1","source":"https://github.com/kisli/vmime/commit/e85925eddc638939f0eeb7ee55ec047d04a760d8","target":{"file":"src/vmime/utility/seekableInputStreamRegionAdapter.cpp","function":"seekableInputStreamRegionAdapter::skip"},"deprecated":false},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/kisli/vmime/commit/e85925eddc638939f0eeb7ee55ec047d04a760d8","target":{"file":"src/vmime/utility/encoder/uuEncoder.cpp","function":"uuEncoder::decode"},"deprecated":false,"digest":{"function_hash":"71875807092251395001873328010838908944","length":2729},"id":"CVE-2026-116738-34539dbc"},{"digest":{"line_hashes":["257093604568273944516831459617771062105","168924572523262698769654276634523069992","55339213399126213645701236309305752689","280439735495357518916738044877506360810","38745877207186331897217535716690705129","50579651470046408556278606663221667255","224611348791369660267071409231618163686","39692136546437963097059884653525447273","293465140469605134537763336999014245440","84165697204890399376973271916176666241"],"threshold":0.9},"id":"CVE-2026-116738-3daaeae1","signature_type":"Line","signature_version":"v1","source":"https://github.com/kisli/vmime/commit/e85925eddc638939f0eeb7ee55ec047d04a760d8","target":{"file":"src/vmime/utility/seekableInputStreamRegionAdapter.cpp"},"deprecated":false},{"source":"https://github.com/kisli/vmime/commit/e85925eddc638939f0eeb7ee55ec047d04a760d8","target":{"file":"tests/utility/seekableInputStreamRegionAdapterTest.cpp"},"deprecated":false,"digest":{"line_hashes":["8477970211799544548361218782707146424","52253817828258289189022970163621826558","228305841198843860511458955709746847503","38363525588811723527079172517641604574","110269627477057627491178083736563317752"],"threshold":0.9},"id":"CVE-2026-116738-5a46b596","signature_type":"Line","signature_version":"v1"},{"id":"CVE-2026-116738-5fe09b14","signature_type":"Function","signature_version":"v1","source":"https://github.com/kisli/vmime/commit/e85925eddc638939f0eeb7ee55ec047d04a760d8","target":{"file":"src/vmime/utility/inputStreamStringAdapter.cpp","function":"inputStreamStringAdapter::skip"},"deprecated":false,"digest":{"function_hash":"226799824426949522051905898449824066528","length":202}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/kisli/vmime/commit/e85925eddc638939f0eeb7ee55ec047d04a760d8","target":{"file":"src/vmime/utility/inputStreamStringAdapter.cpp"},"deprecated":false,"digest":{"line_hashes":["94664513704503759699505488941575456681","170970123252378663000952378287242372062","314283801025183794055184257446995426928","96689290098502482725591417533973053576","82702931827933843180836624006562016724","193482683272831694224342073178705497108","43407177593194703627673291747938861793","306766907760942119130951452945882930604","339384263073947228344936688600759987092","126864406734009220139513314419388046021","1534239970177996130256793323510931459"],"threshold":0.9},"id":"CVE-2026-116738-ca66bb5f"}],"vanir_signatures_modified":"2026-10-29T07:26:19Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116738.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}