# Quarkus 3.40.2 released - LTS maintenance release

Today, we released Quarkus 3.40.2, our next maintenance release for the 3.40 LTS stream.

This release contains bugfixes, documentation updates, and security fixes.

It should be a safe upgrade for anyone already using 3.40.

## Security fixes

This release fixes the following CVEs:

### Quarkus and direct dependencies

- [CVE-2026-121837](https://nvd.nist.gov/vuln/detail/CVE-2026-121837) - Quarkus REST Data Panache: Getter-level `@SecureField` ignored for filter and sort
- [CVE-2026-127106](https://nvd.nist.gov/vuln/detail/CVE-2026-127106) - Quarkus REST: Deeply nested JSON-B bodies cause large stack-trace logs
- [CVE-2026-133442](https://nvd.nist.gov/vuln/detail/CVE-2026-133442) - Hibernate ORM (details not yet published at the time of publishing this announcement)
- [CVE-2026-102554](https://nvd.nist.gov/vuln/detail/CVE-2026-102554) - Google Guava: Uncontrolled memory allocation when deserializing `CompactHashMap`/`CompactHashSet`/`MapMakerInternalMap`
- [CVE-2026-10832](https://nvd.nist.gov/vuln/detail/CVE-2026-10832) - WildFly Elytron: Denial of Service via memory exhaustion in `DERDecoder` when decoding a crafted DER payload
- [CVE-2026-85108](https://nvd.nist.gov/vuln/detail/CVE-2026-85108) - Apache James Mime4J: Denial of Service via allocation of resources without limits when parsing MIME messages
- [CVE-2026-110257](https://nvd.nist.gov/vuln/detail/CVE-2026-110257) - OW2 ASM: Excessive memory allocation in `ClassReader`
- [CVE-2026-110258](https://nvd.nist.gov/vuln/detail/CVE-2026-110258) - OW2 ASM: Excessive memory allocation in `Label`
- [CVE-2026-110259](https://nvd.nist.gov/vuln/detail/CVE-2026-110259) - OW2 ASM: Uncontrolled recursion in `ClassWriter`
- [CVE-2026-110260](https://nvd.nist.gov/vuln/detail/CVE-2026-110260) - OW2 ASM: Quadratic memory allocation in `MethodWriter`
- [CVE-2026-110261](https://nvd.nist.gov/vuln/detail/CVE-2026-110261) - OW2 ASM: Denial of Service via CPU exhaustion in `ClassWriter.COMPUTE_FRAMES` processing
- [CVE-2026-110262](https://nvd.nist.gov/vuln/detail/CVE-2026-110262) - OW2 ASM: Excessive memory allocation in `AdviceAdapter`
- [CVE-2026-110263](https://nvd.nist.gov/vuln/detail/CVE-2026-110263) - OW2 ASM: Uncontrolled recursion in `SignatureReader`
- [Netty 4.1.140.Final](https://netty.io/news/2026/11/02/4-1-140-Final.html) - Netty (CVEs not yet published at the time of publishing this announcement)
- [CVE-2026-49844](https://nvd.nist.gov/vuln/detail/CVE-2026-49844) - Apache Log4j API: Improper encoding of non-finite floating-point values during `MapMessage` JSON serialization
- [CVE-2026-111073](https://nvd.nist.gov/vuln/detail/CVE-2026-111073) - Apache Kafka: Unbounded decompression of client telemetry payloads in the `PushTelemetry` API
- [CVE-2026-111108](https://nvd.nist.gov/vuln/detail/CVE-2026-111108) - Apache Kafka: Excessive memory allocation via array element counts declared in protocol requests
- [CVE-2026-111115](https://nvd.nist.gov/vuln/detail/CVE-2026-111115) - Apache Kafka: Excessive memory allocation via unbounded tagged-field counts in flexible protocol versions
- [CVE-2026-111496](https://nvd.nist.gov/vuln/detail/CVE-2026-111496) - Apache Kafka Streams: Infinite punctuation loop via overflow caused by a record timestamp near `Long.MAX_VALUE`
- [CVE-2026-111551](https://nvd.nist.gov/vuln/detail/CVE-2026-111551) - Apache Kafka: Excessive memory allocation via unchecked size fields in several deserialization paths
- [CVE-2026-114349](https://nvd.nist.gov/vuln/detail/CVE-2026-114349) - Apache Kafka: Excessive memory allocation via declared record body size when decoding compressed record batches
- [CVE-2026-70003](https://nvd.nist.gov/vuln/detail/CVE-2026-70003) - Microsoft JDBC Driver for SQL Server: Security feature bypass via improper verification of cryptographic signature
- [CVE-2026-119281](https://nvd.nist.gov/vuln/detail/CVE-2026-119281) - MariaDB Connector/J: Server could switch `character_set_results` away from UTF-8 without the client noticing
- [CVE-2026-119210](https://nvd.nist.gov/vuln/detail/CVE-2026-119210) - MariaDB Connector/J: `LOAD DATA LOCAL INFILE` file check bypass lets a malicious server read client files
- [CVE-2026-119280](https://nvd.nist.gov/vuln/detail/CVE-2026-119280) - MariaDB Connector/J: XA `recover()` trusted server-supplied gtrid and bqual lengths
- [CVE-2026-119276](https://nvd.nist.gov/vuln/detail/CVE-2026-119276) - MariaDB Connector/J: Rogue server can drive large heap allocations from server-declared lengths in OK packets
- [CVE-2026-60586](https://nvd.nist.gov/vuln/detail/CVE-2026-60586) - MySQL Connector/J
- [CVE-2026-60623](https://nvd.nist.gov/vuln/detail/CVE-2026-60623) - MySQL Connector/J
- [CVE-2026-60624](https://nvd.nist.gov/vuln/detail/CVE-2026-60624) - MySQL Connector/J
- [CVE-2026-61082](https://nvd.nist.gov/vuln/detail/CVE-2026-61082) - MySQL Connector/J
- [CVE-2026-47045](https://nvd.nist.gov/vuln/detail/CVE-2026-47045) - Oracle JDBC driver
- [CVE-2026-47060](https://nvd.nist.gov/vuln/detail/CVE-2026-47060) - Oracle JDBC driver
- [CVE-2026-47061](https://nvd.nist.gov/vuln/detail/CVE-2026-47061) - Oracle JDBC driver
- [CVE-2026-107314](https://nvd.nist.gov/vuln/detail/CVE-2026-107314) - PostgreSQL JDBC driver: `requireAuth` not enforced when the value excludes every authentication method
- [CVE-2026-107315](https://nvd.nist.gov/vuln/detail/CVE-2026-107315) - PostgreSQL JDBC driver: Values shorter than their declared length are padded with bytes of earlier statements
- [GHSA-h5m7-4hv9-cvp3](https://github.com/luben/zstd-jni/security/advisories/GHSA-h5m7-4hv9-cvp3) - zstd-jni (no CVE assigned at the time of publishing this announcement)

## Platform updates

Various Platform components were upgraded including:

- Camel Quarkus to 3.40.1
- Quarkus CXF to 3.40.4 ([release notes](https://docs.quarkiverse.io/quarkus-cxf/dev/release-notes/3.40.4.html))
- Quarkus LangChain4j to 1.13.6
- Quarkus Amazon Services to 3.23.0
- Quarkus Google Cloud Services to 2.25.1
- Debezium to 3.6.4.Final

## Update

To update to Quarkus 3.40, we recommend updating to the latest version of the Quarkus CLI and run:

```bash
quarkus update --stream=3.40
```

Note that `quarkus update` can update your applications from any version of Quarkus (including 2.x) to Quarkus 3.40.

## Full changelog

You can get [the full changelog of 3.40.2 on GitHub](https://github.com/quarkusio/quarkus/releases/tag/3.40.2).

## Come Join Us

We value your feedback a lot so please report bugs, ask for improvements... Let's build something great together!

If you are a Quarkus user or just curious, don't be shy and join our welcoming community:

- provide feedback on [GitHub](https://github.com/quarkusio/quarkus/issues);
- craft some code and [push a PR](https://github.com/quarkusio/quarkus/pulls);
- discuss with us on [Zulip](https://quarkusio.zulipchat.com/) and on the [mailing list](https://groups.google.com/d/forum/quarkus-dev);
- ask your questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/quarkus).
