Cyber Resilience

CVE-2026-7111

Memory Safety in Hmbrand Text\ \

Published
29 April 2026
Modified
25 June 2026
Patch / advisory
CVSS Score v3.1 8.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0016 5th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-7111 is a high-severity Use After Free (CWE-416) vulnerability in Hmbrand Text\. Its CVSS base score is 8.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Text::CSV_XS versions before 1.62 for Perl contain a use-after-free vulnerability (CWE-416, CWE-825) that occurs when registered callbacks, such as after_parse, before_print, or on_error, extend the Perl argument stack during calls to the Parse, print, getline, or getline_all methods. These methods cache the Perl argument stack pointer across the callback invocation; if the callback triggers a stack reallocation by extending it sufficiently, the return value is written through the stale pointer into a freed buffer. The caller then reads the original Text::CSV_XS object as the return value instead of the expected parsed data. Modules used without registered callbacks are unaffected.

A local attacker (AV:L, PR:N, UI:N) can exploit this vulnerability with low complexity (AC:L) to achieve high impacts on confidentiality, integrity, and availability (CVSS 8.4, S:U, C:H/I:H/A:H). By crafting a malicious callback that extends the stack, the attacker induces type confusion or memory corruption, causing calling code expecting parsed CSV data from methods like getline_all to receive the Text::CSV_XS object instead. This leads to logic errors, crashes, or potential further exploitation depending on how the module is integrated into the application.

Advisories recommend upgrading to Text::CSV_XS version 1.62, which addresses the issue via a patch fixing the stack pointer handling (commit c17f31a5f2bf36674748eb4b6e25672f0571a224). The release changes are documented on MetaCPAN, and the vulnerability was disclosed on the oss-security mailing list.

EU & UK References

Vulnerability Data

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. The Parse, print, getline, and getline_all methods invoke registered callbacks (for example after_parse, before_print, or…

more

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. Calling 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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-4691Shared CWE-416, CWE-825
CVE-2026-8390Shared CWE-416, CWE-825
CVE-2026-53033Shared CWE-416, CWE-825
CVE-2026-6746Shared CWE-416, CWE-825
CVE-2026-53175Shared CWE-416, CWE-825
CVE-2026-45447Shared CWE-416, CWE-825
CVE-2026-24678Shared CWE-416, CWE-825
CVE-2026-45998Shared CWE-416, CWE-825
CVE-2026-46523Shared CWE-416, CWE-825
CVE-2026-6754Shared CWE-416, CWE-825

Affected Assets

hmbrand
text\
\

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 3 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V1.4.3

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation can discover use-after-free bugs through dynamic analysis or fuzzing.

Engineering principles can require memory-safe constructs or languages that structurally avoid introducing use-after-free.

Process isolation confines the blast radius of use-after-free memory corruption to a single execution domain.

Memory protection controls limit exploitation impact by blocking unauthorized code execution from dangling pointers.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

ID.AM-08 partial match
prevents

Lifecycle management includes secure development and maintenance phases that reduce memory-safety defects.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover use-after-free issues via scanning or analysis but do not prevent their introduction.

PR.PS-02 partial match
prevents

Routine patching removes known use-after-free instances after they have been introduced in released software.

PR.PS-06 partial match
prevents

Secure SDLC practices directly incorporate memory-safety tooling and reviews that prevent most use-after-free defects.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Secure SDLC mandates memory-safety practices that reduce use-after-free defects.

prevents

Application security requirements can specify memory-management rules that mitigate use-after-free.

prevents

Secure architecture principles include memory-safety design choices that limit use-after-free exposure.

prevents

Secure coding standards directly prescribe avoidance of use-after-free patterns.

finds

Security testing in development can detect use-after-free bugs before release.

prevents

Change-management processes help ensure memory-safety fixes are deployed consistently.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (higher-evidence rows only; rows rated `none` are excluded).

Oracle Linux 8 (1 rule)
  • V-248592 OL 8 must clear memory when it is freed to prevent use-after-free attacks. prevents CWE-416
RHEL 8 (1 rule)
  • V-230279 RHEL 8 must clear memory when it is freed to prevent use-after-free attacks. prevents CWE-416
RHEL 9 (1 rule)
  • V-257794 RHEL 9 must clear memory when it is freed to prevent use-after-free attacks. prevents CWE-416

References