Skip to content

CVE-2026-58082 (Critical) detected in src4.0.4 #487

Description

@mend-bolt-for-github

CVE-2026-58082 - Critical Severity Vulnerability

Vulnerable Library - src4.0.4

Library home page: https://github.com/MidnightBSD/src.git

Found in base branches: stable/4.0, master

Vulnerable Source Files (1)

/lib/libiconv_modules/ISO2022/citrus_iso2022.c

Vulnerability Details

The ISO-2022 encoding module used a stack buffer sized to MB_LEN_MAX (6 bytes) for intermediate character output. Some ISO-2022 variants can require up to 10 bytes per character, in which case conversions can trigger a stack buffer overflow of up to four bytes.
An application that uses iconv(3) to convert untrusted input to or from one of the affected encodings may be vulnerable to buffer overflows if it uses one of the affected encoding modules.

Publish Date: 2026-08-19

URL: CVE-2026-58082

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-08-19

Fix Resolution: https://github.com/freebsd/freebsd-src.git - release/14.3.0-p16,https://github.com/freebsd/freebsd-src.git - release/15.0.0-p11,https://github.com/freebsd/freebsd-src.git - release/14.4.0-p7,https://github.com/freebsd/freebsd-src.git - release/15.1.0-p1


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions