{"schemaVersion":3,"id":"CVE-2026-7111","aliases":["MGASA-2026-0370","UBUNTU-CVE-2026-7111","DEBIAN-CVE-2026-7111","openSUSE-SU-2026:10774-1"],"status":"published","duplicateOf":null,"title":null,"description":"Text::CSV_XS versions before 1.62 for Perl have a use-after-free when registered callbacks extend the Perl argument stack, which may enable type confusion or memory corruption.\n\nThe Parse, print, getline, and getline_all methods invoke registered callbacks (for example after_parse, before_print, or on_error) and cache the Perl argument stack pointer across the call. If a callback extends the argument stack enough to trigger a reallocation, the return value is written through the stale pointer into the freed buffer, and the caller reads the original $self argument as the return value instead.\n\nCalling code that expects parsed data from getline_all receives the Text::CSV_XS object in its place, leading to logic errors or crashes. Text::CSV_XS objects used without any registered callbacks are not affected.","dates":{"published":"2026-04-29T14:22:29.358Z","modified":"2026-06-25T19:35:17.533Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":6.4,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":6.4,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00219,"percentile":0.11686,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.061000000000000006,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00158},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00219,"percentile":0.11686}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00219,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00219,"percentile":0.11686}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"},{"id":"CWE-825","name":"Expired Pointer Dereference","description":"The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/825.html"}],"affected":[{"vendor":"debian","product":"libtext-csv-xs-perl","name":"libtext-csv-xs-perl","label":"libtext-csv-xs-perl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libtext-csv-xs-perl","purlType":"deb","versions":[{"text":"< 1.49-1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.60-1+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.62-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.49-1+deb12u1 | < 1.60-1+deb13u1 | < 1.62-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libtext-csv-xs-perl","name":"libtext-csv-xs-perl","label":"libtext-csv-xs-perl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libtext-csv-xs-perl","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"hmbrand","product":"text::csv_xs","name":"Text::CSV_XS","label":"text::csv_xs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.62","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.62","eol":null,"hubHref":null},{"vendor":"mageia","product":"perl-Text-CSV_XS","name":"perl-Text-CSV_XS","label":"perl-Text-CSV_XS","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/perl-Text-CSV_XS","purlType":"rpm","versions":[{"text":"< 1.640.0-1.mga10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.640.0-1.mga10","eol":null,"hubHref":null},{"vendor":"mageia","product":"perl-Text-CSV_XS","name":"perl-Text-CSV_XS","label":"perl-Text-CSV_XS","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/perl-Text-CSV_XS","purlType":"rpm","versions":[{"text":"< 1.640.0-1.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.640.0-1.mga9","eol":null,"hubHref":null},{"vendor":"opensuse","product":"perl-Text-CSV_XS&distro=openSUSE Tumbleweed","name":"perl-Text-CSV_XS","label":"perl-Text-CSV_XS&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/perl-Text-CSV_XS&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.620.0-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.620.0-1.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/cpan-authors/Text-CSV_XS/commit/c17f31a5f2bf36674748eb4b6e25672f0571a224.patch","label":"github.com/cpan-authors/Text-CSV_XS/commit/c17f31a5f2bf36674748eb4b6e25672f0571a224.patch","hostname":"github.com","tags":["Patch","Mailing List"]},{"url":"https://metacpan.org/release/HMBRAND/Text-CSV_XS-1.62/changes","label":"metacpan.org/release/HMBRAND/Text-CSV_XS-1.62/changes","hostname":"metacpan.org","tags":["Release Notes","Product"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/29/17","label":"www.openwall.com/lists/oss-security/2026/04/29/17","hostname":"www.openwall.com","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/06/msg00037.html","label":"lists.debian.org/debian-lts-announce/2026/06/msg00037.html","hostname":"lists.debian.org","tags":[]},{"url":"https://advisories.mageia.org/MGASA-2026-0370.html","label":"advisories.mageia.org/MGASA-2026-0370.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35547","label":"bugs.mageia.org/show_bug.cgi?id=35547","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/QELUJSCSNBIE4N5UNKH4YGI5LFCHEY65/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/39453344/","label":"lists.security.metacpan.org/cve-announce/msg/39453344/","hostname":"lists.security.metacpan.org","tags":["WEB","REPORT"]},{"url":"https://github.com/cpan-authors/Text-CSV_XS/issues/65","label":"github.com/cpan-authors/Text-CSV_XS/issues/65","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-7111","label":"ubuntu.com/security/CVE-2026-7111","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-7111","label":"www.cve.org/CVERecord?id=CVE-2026-7111","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-7111","label":"security-tracker.debian.org/tracker/CVE-2026-7111","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-7111","label":"www.suse.com/security/cve/CVE-2026-7111","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-29T14:22:29.358Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-25T19:35:17.533Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T12:24:43.392Z","stale":false,"partial":false}}