Approved changes feed: RSS · Atom

cpe:2.3:a:pygments:pygments:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorPygments (23e7206c-1acb-5887-a2a8-ccb922845f2a)
ProductPygments (4c73956f-07bf-52ef-9b96-7f002fb8101c)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/python-pygments purl2cpe 2026-06-01 10:15:09.479273
pkg:deb/ubuntu/python-pygments purl2cpe 2026-06-01 10:15:09.479276
pkg:gem/pygments.rb purl2cpe 2026-06-01 10:15:09.479279
pkg:github/pksunkara/pygments.js purl2cpe 2026-06-01 10:15:09.479282
pkg:github/pygments/pygments purl2cpe 2026-06-01 10:15:09.479285
pkg:gitlab/redhat/pygments purl2cpe 2026-06-01 10:15:09.479287
pkg:maven/org.pygments/pygments purl2cpe 2026-06-01 10:15:09.479290
pkg:maven/pygments/pygments purl2cpe 2026-06-01 10:15:09.479293
pkg:npm/pygments purl2cpe 2026-06-01 10:15:09.479296
pkg:nuget/pygments-net purl2cpe 2026-06-01 10:15:09.479298
pkg:pypi/pygments purl2cpe 2026-06-01 10:15:09.479301
pkg:rpm/fedora/python-pygments purl2cpe 2026-06-01 10:15:09.479304
pkg:rpm/opensuse/python-pygments purl2cpe 2026-06-01 10:15:09.479307
pkg:sourceforge/pygments purl2cpe 2026-06-01 10:15:09.479310

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2022-40896 vulnerable 2026-06-08 05:48:28.290117 Details available
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
Published: 2023-07-19T00:00:00.000Z
Updated: 2024-11-27T14:28:58.875Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-27291 vulnerable 2026-06-08 05:31:20.964611 Details available
In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.
Published: 2021-03-17T12:31:15.000Z
Updated: 2024-08-03T20:48:16.368Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-20270 vulnerable 2026-06-08 05:29:08.866454 Details available
An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.
Published: 2021-03-23T16:40:22.000Z
Updated: 2024-08-03T17:37:23.034Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.