Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-7111: CWE-825 Expired Pointer Dereference in HMBRAND Text::CSV_XS

0
Medium
VulnerabilityCVE-2026-7111cvecve-2026-7111cwe-825cwe-416
Published: Wed Apr 29 2026 (04/29/2026, 14:22:29 UTC)
Source: CVE Database V5
Vendor/Project: HMBRAND
Product: Text::CSV_XS

Description

CVE-2026-7111 is a use-after-free vulnerability in Text::CSV_XS versions prior to 1. 62 for Perl. It occurs when registered callbacks extend the Perl argument stack, causing stale pointers to be used after memory reallocation. This leads to the caller receiving the Text::CSV_XS object instead of expected parsed data, resulting in logic errors or crashes. Instances without registered callbacks are not affected. No CVSS score or patch information is currently available.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/29/2026, 17:06:22 UTC

Technical Analysis

Text::CSV_XS before version 1.62 contains a use-after-free vulnerability triggered by registered callbacks that extend the Perl argument stack during invocation of methods like parse, print, getline, and getline_all. The module caches a pointer to the Perl argument stack, which becomes stale if the stack is reallocated due to callback activity. Consequently, the return value is written through this stale pointer into freed memory, causing the caller to receive the original Text::CSV_XS object instead of parsed data. This can cause logic errors or crashes. The vulnerability does not affect usage without registered callbacks.

Potential Impact

Affected applications using Text::CSV_XS with registered callbacks may experience logic errors or crashes due to corrupted return values from parsing methods. This can disrupt normal operation and potentially lead to memory corruption. There is no evidence of known exploits in the wild. The impact is limited to scenarios where callbacks extend the Perl argument stack.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using registered callbacks that extend the Perl argument stack with Text::CSV_XS or upgrade to version 1.62 or later if available. If no callbacks are used, this vulnerability does not apply.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-04-26T15:31:25.111Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69f2370ccbff5d8610306485

Added to database: 4/29/2026, 4:51:24 PM

Last enriched: 4/29/2026, 5:06:22 PM

Last updated: 4/29/2026, 5:53:44 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses