CVE catalog

CVE-2026-13501

A security vulnerability has been detected in antlr ANTLR4 up to 4.13.2. Affected by this vulnerability is the function GoTarget of the file tool/src/org/antlr/v4/codegen/target/GoTarget.java of the c

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
1.18% · Oct 27, 2026

A security vulnerability has been detected in antlr ANTLR4 up to 4.13.2. Affected by this vulnerability is the function GoTarget of the file tool/src/org/antlr/v4/codegen/target/GoTarget.java of the component gofmt. The manipulation leads to command injection. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianantlr4sid4.9.2-3unknown
Debianantlr4forky4.9.2-3unknown
Debianantlr4trixie4.9.2-3unknown
Debianantlr4bookworm4.7.2-5unknown
Cpeantlr4Not reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianantlr4sourcesid(unfixed)not yet assignedNot reportedNot reported
Debianantlr4sourceforky(unfixed)not yet assignedNot reportedNot reported
Debianantlr4sourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianantlr4sourcebookworm(unfixed)not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [antlr4]Affected
    Details (2)
    • 4.7.2-5 · all · bookworm

      Affected

      nvd · antlr4 · debian · bookworm; nvd · antlr4 · debian · 12

    • 4.7.2-5 · all · bookworm

      Affected

      nvd · antlr4 · debian · bookworm; nvd · antlr4 · debian · 12

  • [antlr4-doc]Affected

    Source package: [antlr4]

    Details (2)
    • 4.7.2-5 · all · bookworm

      Affected

      nvd · antlr4 · debian · bookworm; nvd · antlr4 · debian · 12

    • 4.7.2-5 · all · bookworm

      Affected

      nvd · antlr4 · debian · bookworm; nvd · antlr4 · debian · 12

  • Source package: [antlr4]

    Details (2)
    • 4.7.2-5 · all · bookworm

      Affected

      nvd · antlr4 · debian · bookworm; nvd · antlr4 · debian · 12

    • 4.7.2-5 · all · bookworm

      Affected

      nvd · antlr4 · debian · bookworm; nvd · antlr4 · debian · 12

  • Source package: [antlr4]

    Details (2)
    • 4.7.2-5 · all · bookworm

      Affected

      nvd · antlr4 · debian · bookworm; nvd · antlr4 · debian · 12

    • 4.7.2-5 · all · bookworm

      Affected

      nvd · antlr4 · debian · bookworm; nvd · antlr4 · debian · 12

[Debian 13 (Trixie)]

  • [antlr4]Affected
    Details (2)
    • 4.9.2-3 · all · trixie

      Affected

      nvd · antlr4 · debian · 13

    • 4.9.2-3 · all · trixie

      Affected

      nvd · antlr4 · debian · 13

  • [antlr4-doc]Affected

    Source package: [antlr4]

    Details (2)
    • 4.9.2-3 · all · trixie

      Affected

      nvd · antlr4 · debian · 13

    • 4.9.2-3 · all · trixie

      Affected

      nvd · antlr4 · debian · 13

  • Source package: [antlr4]

    Details (2)
    • 4.9.2-3 · all · trixie

      Affected

      nvd · antlr4 · debian · 13

    • 4.9.2-3 · all · trixie

      Affected

      nvd · antlr4 · debian · 13

  • Source package: [antlr4]

    Details (2)
    • 4.9.2-3 · all · trixie

      Affected

      nvd · antlr4 · debian · 13

    • 4.9.2-3 · all · trixie

      Affected

      nvd · antlr4 · debian · 13

Observed:

References